View chatgpt.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
setup() | |
return {name:"chatgpt"} | |
}) | |
var dbkey = "openai-key" | |
var api_key = "" | |
function setup() { | |
db.get(dbkey, function(key) { |
View price.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
setup() | |
return { | |
name: "price" | |
} | |
}) | |
var dbkey = "price" | |
var alert_channel = "#zrobo" | |
var state = { watches: {} } |
View veloren.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
setup() | |
return { | |
name: "veloren" | |
} | |
}) | |
var dbkey = 'veloren' | |
var blob = {users: 0} |
View spacex.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
setup() | |
return { | |
name: "spacex" | |
} | |
}) | |
var closurecount = 1 | |
var alert_channel = "#zrobo" |
View market.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
setup() | |
return { | |
name: "market" | |
} | |
}) | |
var history = {hour: 0, points: []} | |
var dbkey = "market:history" | |
var watch_list = ['btc', 'eth', 'doge', 'ada', 'bnb', 'xrp', 'bch'] |
View vaccine.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
setup() | |
return {name:"vaccine"} | |
}) | |
var alert_channel = "#portlandor" | |
var vacdata = {} | |
function setup() { | |
vacload(function(data){ |
View build.zig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const std = @import("std"); | |
const builtin = @import("builtin"); | |
const Builder = @import("std").build.Builder; | |
pub fn build(b: *Builder) void { | |
const target = b.standardTargetOptions(.{}); | |
const exe = b.addExecutable("huh", "main.zig"); | |
exe.setTarget(target); | |
exe.linkSystemLibrary("c"); |
View weather.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
// descriptor | |
setup() | |
return {name:"weather"} | |
}) | |
var apikey_climacell | |
var apikey_pirateweather | |
function setup(){ |
View launch.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
return {name:"launch"} | |
}) | |
var alert_channel = "#pdxtech" | |
function go(msg) { | |
var privmsg = false | |
var clocktower = false | |
if (msg.method == "clocktower" && (new Date(Date.parse(msg.params.time))).getMinutes() == 30) { |
View coin.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ -z "$1" ]; | |
then | |
COINS=`cat ~/.coins` | |
PARAM="ids=$COINS" | |
else | |
echo $1 | |
PARAM="search=$1" | |
fi | |
DATA=`curl --silent "https://api.coincap.io/v2/assets?$PARAM"` |
NewerOlder