Skip to content

Instantly share code, notes, and snippets.

View fungilation's full-sized avatar

Gary Fung fungilation

View GitHub Profile
@fungilation
fungilation / agent loop
Created March 10, 2025 18:37 — 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
@fungilation
fungilation / pnpm-patch-package.js
Created March 1, 2024 21:11 — forked from cdaringe/pnpm-patch-package.js
pnpm-patch-package.js
/**
* @description
* Support patch-package in pnpm projects.
*
* `pnpm` can be tricky to use with patch-package. To minimize friction creating patches,
* this script helps automate patching by using npm and a temp workspace to generate
* patch files.
*
* @usage
* 0. ensure the dependencies of interest are top level dependencies/devDependencies (no patching transitive deps)
@fungilation
fungilation / deploy_wiki.sh
Last active January 11, 2023 00:12 — forked from haranjackson/deploy_wiki.sh
Deploys BookStack wiki on AWS EC2
STACK=bookstack-ec2 # give the stack a name
REGION=us-west-2 # choose your region
DOMAIN= # wiki will be hosted at wiki.[DOMAIN]
aws cloudformation deploy \
--template-file wiki.yaml \
--stack-name $STACK \
--region $REGION \
--parameter-overrides Domain=$DOMAIN
W20140826-20:05:23.642(-7)? (STDERR) /Volumes/System/Users/<user>/.meteor/packages/meteor-tool/.1.0.25.2ltu8i++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/dev_bundle/lib/node_modules/fibers/future.js:173
W20140826-20:05:23.642(-7)? (STDERR) throw(ex);
W20140826-20:05:23.642(-7)? (STDERR) ^
W20140826-20:05:23.647(-7)? (STDERR) Error:
W20140826-20:05:23.647(-7)? (STDERR)
W20140826-20:05:23.648(-7)? (STDERR) Sorry! The cmather:iron-{x} packages were migrated to the new package system with the wrong name, and you have duplicate copies.
W20140826-20:05:23.648(-7)? (STDERR) You can see which cmather:iron-{x} packages have been installed by using this command:
W20140826-20:05:23.649(-7)? (STDERR)
W20140826-20:05:23.649(-7)? (STDERR) > meteor list
W20140826-20:05:23.650(-7)? (STDERR)
@fungilation
fungilation / gist:c222c140e899ad2223c8
Created August 26, 2014 22:32
My .meteor/packages
# Meteor packages used by this project, one per line.
#
# 'meteor add' and 'meteor remove' will edit this file for you,
# but you can also edit it by hand.
standard-app-packages
coffeescript
accounts-entry
accounts-password
less
$ mrt remove router
Done installing smart packages
/usr/local/lib/node_modules/meteorite/lib/command.js:57
throw "Command exited: " + error;
^
Command exited: Error: Command failed: --using: unknown option.
Usage: meteor list