Skip to content

Instantly share code, notes, and snippets.

@birdgun
birdgun / agent loop
Created March 13, 2025 12:17 — 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
PUT /v2/devices HTTP/1.1
User-Agent: Lift/1.29.1 (samsung SM-G990U1; Android 14) Ktor OkHttp
Accept: application/json
Accept-Charset: UTF-8
Content-Type: application/json
Content-Length: 340
Host: stage-api.liftstory.com
Connection: Keep-Alive
Accept-Encoding: gzip
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created March 13, 2025 12:15
Rimworld output log published using HugsLib
Log uploaded on Thursday, March 13, 2025, 2:15:03 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
Anomaly(Ludeon.RimWorld.Anomaly): (no assemblies)
Vanilla Backgrounds Expanded(vanillaexpanded.backgrounds): VBE(1.0.0)
HugsLib(UnlimitedHugs.HugsLib)[ov:11.0.4]: 0Harmony(av:2.3.3,fv:1.2.0.1), HugsLib(av:1.0.0,fv:11.0.4)

Postgres Cheatsheet

This is a collection of the most common commands I run while administering Postgres databases. The variables shown between the open and closed tags, "<" and ">", should be replaced with a name you choose. Postgres has multiple shortcut functions, starting with a forward slash, "". Any SQL command that is not a shortcut, must end with a semicolon, ";". You can use the keyboard UP and DOWN keys to scroll the history of previous commands you've run.

Setup

installation, Ubuntu

http://www.postgresql.org/download/linux/ubuntu/ https://help.ubuntu.com/community/PostgreSQL

@aabccd021
aabccd021 / burn-iso.sh
Created March 13, 2025 12:14
Burn ISO
isoFile=${1:-}
if [ -z "$isoFile" ]; then
echo "Checking for iso files in ./result/iso"
isoFile=$(ls ./result/iso/*.iso | head -n 1)
fi
media_dir="/run/media/$USER"
if [ ! -d "$media_dir" ] ; then
echo "$media_dir does not exist"
[
{
"animeEng": "Boku no Imouto wa \"Osaka Okan\"",
"animeRomaji": "Boku no Imouto wa \"Osaka Okan\"",
"songName": "Motteke! Taisou Fuku",
"artist": "Kana Asumi",
"type": "Ending 9",
"correctCount": 28,
"startTime": 0,
"songDuration": 25.161333,
@damadorPL
damadorPL / agent loop
Created March 13, 2025 12:13 — 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
https://docs.google.com/forms/d/e/1FAIpQLSch6PbZPbPKwl0a3IOLxNI2Uq8y9QLfLwESvul5OrcGqo_5nw/viewform?usp=pp_url&entry.1175305726=5&entry.756296171=Gen%20Z%20(1997%20-%202010)&entry.1915775774=Yes%20%2F%20C%C3%B3&entry.1942814050=18-22%20%2F%20T%E1%BB%AB%2018-22%20tu%E1%BB%95i&entry.818140994=Male%20%2F%20Nam&entry.1421751229=Over%208%20million%20VND%20%2F%20Tr%C3%AAn%208%20tri%E1%BB%87u%20VND&entry.822011090=H%C3%A0ng%20tu%E1%BA%A7n%20(Weekly)&entry.188630822=D%C6%B0%E1%BB%9Bi%205%20m%C3%B3n%20(Less%20than%205%20items)&entry.1678513644=H%C6%A1n%20500%2C000%20VND%20%2F%20More%20than%20500%2C000%20VND&entry.2130161866=Facebook&entry.111286277=Often%20%2F%20Th%C6%B0%E1%BB%9Dng%20xuy%C3%AAn&entry.1480743739=Greatly%20increases%20%2F%20T%C4%83ng%20%C4%91%C3%A1ng%20k%E1%BB%83&entry.624099616=1&entry.1594427050=1&entry.1698722485=Fashion%20trends%20%2F%20Tr%C3%A0o%20l%C6%B0u%20th%E1%BB%9Di%20trang&entry.1675493514=3&entry.1312095269=Often%20%2F%20Th%C6%B0%E1%BB%9Dng%20xuy%C3%AAn&entry.343167298=4&entry.1673898042=1&e
@aabccd021
aabccd021 / zerotier-sops.sh
Created March 13, 2025 12:13
Zero tier secret to sops secret
public=$(cat /var/lib/zerotier-one/identity.public)
secret=$(cat /var/lib/zerotier-one/identity.secret)
id=$(echo "$public" | cut -d: -f1)
sops --set '["zt-client-'$id'-public"] "'$public'"' "$@"
sops --set '["zt-client-'$id'-secret"] "'$secret'"' "$@"
@xiaoliu
xiaoliu / marketing_price_range.js
Last active March 13, 2025 12:14
Userscript: Marketing Price Range for realestate.com.au
// ==UserScript==
// @name Marketing Price Range for REA
// @namespace userscript.realestatecomau.com
// @version 0.1(20250313)
// @description Shows the embeded marketing price range for a property or rental
// @author xiaoliu
// @include https://www.realestate.com.au/*
// @include https://realestate.com.au/property*
// @icon https://www.google.com/s2/favicons?sz=64&domain=realestate.com.au
// @grant none