Skip to content

Instantly share code, notes, and snippets.

@sivagao
sivagao / agent loop
Created March 10, 2025 04:39 — 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
@sivagao
sivagao / rxjs_operators_by_example.md
Created January 23, 2019 10:13 — forked from btroncone/rxjs_operators_by_example.md
RxJS 5 Operators By Example
cfhdojbkjhnklbpkdaibdccddilifddb Adblock Plus 10000000
gighmmpiobklfepjocnamgkkbiglidom AdBlock 10000000
efaidnbmnnnibpcajpcglclefindmkaj Adobe Acrobat 10000000
gomekmidlodglbbmalcneegieacbdmki Avast Online Security 10000000
eofcbnmajmjmplflapaojjnihcjkigck Avast SafePrice 10000000
chfdnecihphmhljaaejmgoiahnihplgn AVG Web TuneUp 10000000
flliilndjeohchalpbbcdekjklbdgfkk Avira Browser Safety 10000000
gpdjojdkbbmdfjfahjcgigfpmkopogic Pin It Button 10000000
lifbcibllhkdhoafpjfnlhfpfgnpldfl Skype 10000000
mallpejgeafdahhflmliiahjdpgbegpk FromDocToPDF 9298905
@sivagao
sivagao / index.html
Last active August 29, 2015 14:04 — forked from minikomi/index.html
<!DOCTYPE html>
<meta charset="utf-8">
<body>
<script src="http://d3js.org/d3.v2.min.js?2.10.0"></script>
<script>
var width = 960,
height = 700;
var svg = d3.select("body").append("svg")
@sivagao
sivagao / example.js
Last active December 27, 2015 18:39 — forked from domenic/example.js
// `promise` is some operation that may succeed (fulfill) or fail (reject)
var newPromise = promise.then(
function () {
return delay(1000);
},
writeError
);
// If `promise` fulfills, `newPromise` will fulfill in 1000 ms.
// If `promise` rejects and writing to the error log succeeds,
@sivagao
sivagao / httpretry.coffee
Last active December 27, 2015 18:39 — forked from kriskowal/gist:593052
httpretry.coffee
Q = require 'q'
HTTP = require 'q-http'
httpReadRetry = (url, timeout, times) ->
HTTP.read(url).then(
(content) ->
{content}
,(error) ->
if times is 0
throw new Error 'Cant read #{JSON.stringify(url)}'
@sivagao
sivagao / fan.py
Created October 21, 2013 05:35 — forked from c4pt0r/fan.py
#!/usr/bin/env python
#encoding=utf-8
# Hacker Need Food!
import json
import os
import sys
from optparse import OptionParser
import urllib, urllib2, cookielib
function getJSON(aUrl,sheetname) {
//var sheetname = "test";
//var aUrl = "http://pipes.yahoo.com/pipes/pipe.run?_id=286bbb1d8d30f65b54173b3b752fa4d9&_render=json";
var response = UrlFetchApp.fetch(aUrl); // get feed
var dataAll = Utilities.jsonParse(response.getContentText()); //
var data = dataAll.value.items;
for (i in data){
data[i].pubDate = new Date(data[i].pubDate);
data[i].start = data[i].pubDate;
}