Skip to content

Instantly share code, notes, and snippets.

View andywuzh's full-sized avatar

andywu andywuzh

  • Beijing, China
View GitHub Profile
@andywuzh
andywuzh / agent loop
Created March 14, 2025 04:04 — forked from jlia0/agent loop
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@andywuzh
andywuzh / mount_qcow2.md
Created December 12, 2024 09:19 — forked from shamil/mount_qcow2.md
How to mount a qcow2 disk image

How to mount a qcow2 disk image

This is a quick guide to mounting a qcow2 disk images on your host server. This is useful to reset passwords, edit files, or recover something without the virtual machine running.

Step 1 - Enable NBD on the Host

modprobe nbd max_part=8
## Prepare ###################################################################
# Remove RVM
rvm implode
# Ensure your homebrew is working properly and up to date
brew doctor
brew update
## Install ###################################################################
@andywuzh
andywuzh / User.class.php
Created March 6, 2011 12:36
An User class definition
require_once('path/to/DB.class.php');
class UserManager {
private $name;
private $email;
private $sex;
private $age;
private $status;
private $level;