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
donp@carbon ~ $ vpn | |
┌╴? /opt/bin/vpn:3:13 | |
│╴╴╴Cli╶╶╶ | |
├╴{"mullvad" "status"} | |
└╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴ | |
"" | |
"Connected to us-lax-wg-404 in Los Angeles, CA, USA\n" | |
donp@carbon ~ $ vpn set se | |
┌╴? /opt/bin/vpn:3:13 | |
│╴╴╴Cli╶╶╶ |
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: "bigpipe" | |
} | |
}) | |
var old_percent = 0 | |
var announce_channel = "#pdxbots" | |
function go(msg) { |
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
// if this is your Base64 encoded string | |
var str = 'VGhpcyBpcyBhbiBhd2Vzb21lIHNjcmlwdA=='; | |
// make URL friendly: | |
str = str.replace(/\+/g, '-').replace(/\//g, '_').replace(/\=+$/, ''); | |
// reverse to original encoding | |
str = (str + '===').slice(0, str.length + (str.length % 4)); | |
str = str.replace(/-/g, '+').replace(/_/g, '/'); |
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:"ai"} | |
}) | |
var sessionKey | |
function setup() { | |
} |
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
# June 2023 | |
# Core I5-8250 thinkpad: 350 keys/second | |
import os | |
import sys | |
import importlib.util | |
from datetime import datetime | |
if importlib.util.find_spec('bitcoin') is None: | |
print("bitcoin module not found. please install https://pypi.org/project/bitcoin/") | |
sys.exit() |
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) { |
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: {} } |
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} |
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" |
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'] |
NewerOlder