Skip to content

Instantly share code, notes, and snippets.

# Must have conda installed
# It costs approximately $0.2 (in GPT-4 API fees) to generate one example with analysis and design, and around $2.0 for a full project.
conda create -n metagpt python=3.11.4
conda activate metagpt
npm --version # to check you have npm installed
# optional: install node if you don't have it
npm install -g @mermaid-js/mermaid-cli
git clone https://github.com/geekan/metagpt
cd metagpt
@dylanmckay
dylanmckay / facebook-contact-info-summary.rb
Last active March 12, 2024 22:46
A Ruby script for collecting phone record statistics from a Facebook user data dump
#! /usr/bin/env ruby
# NOTE: Requires Ruby 2.1 or greater.
# This script can be used to parse and dump the information from
# the 'html/contact_info.htm' file in a Facebook user data ZIP download.
#
# It prints all cell phone call + SMS message + MMS records, plus a summary of each.
#
# It also dumps all of the records into CSV files inside a 'CSV' folder, that is created
@j3j5
j3j5 / gist:8b3e48ccad746b90a54a
Last active November 16, 2023 15:11
Adyen Test Card Numbers
Adyen Test Card Numbers
These cards are only valid on our TEST system and they will never involve any actual transaction or transfer of funds. The TEST card numbers will not work on the Adyen LIVE Platform.
For all cards use the following expiration and CVV2/CVC2/or CID for Amex.
For all cards:
Expiration Dates CVV2 / CVC3 CID (American Express)
08/2018 OR 10/2020 737 7373
@grantges
grantges / tiapp.xml
Created September 26, 2014 16:35
iOS 8 Map Module plist requirements
<key>NSLocationAlwaysUsageDescription</key>
<string>
YOUR DESCRIPTOIN GOES HERE - EX. This application would like to use your current location.
</string>
find-up() {
local path=$(pwd)
while [[ "$path" != "" && ! -e "$path/$1" ]]; do
path=${path%/*}
done
if [ "$path" != "" ]
then
echo "$path"
fi
}
@jasonkneen
jasonkneen / sample.js
Last active August 29, 2015 14:01
DynamicLabel tag in Alloy - allows you to update a "value" and it applies it to a template. Place ui.js in your app/lib folder
$.recordCount.value = 99
@nthj
nthj / Procfile
Created October 24, 2013 07:56
Running background workers on Heroku without paying for extra dynos
console: bundle exec rails console
rake: bundle exec rake
web: daemonized-worker & web
worker: worker
@mschmulen
mschmulen / .bash_profile
Created August 18, 2012 15:16
.bash_profile ( some of my .bash settings )
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad
#ANDROID exports
PATH=/Users/mschmulen/android-sdk-macosx/tools:$PATH
PATH=/Users/mschmulen/android-sdk-macosx/platform-tools:$PATH
PATH=/usr/local/bin/node:$PATH
PATH=/usr/local/bin/npm:$PATH
export PATH