Google Spreadsheet scripts for Coinbase and USD/BTC and USD/other currencies.
If you found this useful, donate XMR!: 44WvZj9zRXqgq3jHpemt8dLt29aDRQqdiK6ivxoCf3e65cdXbzBnHJyc2CdGWeGr36f5MBkqQBb61hus34nUVae4ND2PKx4
Made with love from Chile
import Foundation | |
extension MainActor { | |
/// Invoke `body`, running synchronously if possible. | |
/// | |
/// This method is equivalent to `Task { @MainActor in <body> }`, except that | |
/// the first thread hop is elided if the caller is already on the main thread. | |
/// Thus if `<foo>` has no subsequent thread hops, it can run fully synchronously. | |
@discardableResult | |
public static func runAsap<Success>( |
/* false, 0, undefined, null, NaN, "" are false */ | |
> Boolean(false) | |
false | |
> Boolean(0) | |
false | |
> Boolean("") | |
false | |
> Boolean(undefined) | |
false |
var vv = window, | |
w = vv.innerWidth, | |
h = vv.innerHeight; | |
var svg = d3.select("#animviz") | |
.append("svg") | |
.attr("width", w) | |
.attr("height", h); | |
svg.append("g").attr("class", "links"); |
// Start `node d3-server.js` | |
// Then visit http://localhost:1337/ | |
// | |
var d3 = require('d3'), | |
http = require('http') | |
http.createServer(function (req, res) { | |
// Chrome automatically sends a requests for favicons | |
// Looks like https://code.google.com/p/chromium/issues/detail?id=39402 isn't | |
// fixed or this is a regression. |
ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats
#Postgresql 9.2.1 Compilation instructions for Ubuntu 12.04 | |
#This will install Postgresql 9.2.1 into /usr/local/postgresql-9.2.1 | |
#This assumes that you have sudo provileges on the machine installing postgresql | |
#It should work by copying and pasting into the shell, I haven't tested it, I just summarized | |
#what I just did and it worked | |
#Get requirements | |
sudo apt-get install build-essential libreadline6-dev zlib1g-dev |
// swap the keybindings for paste and paste_and_indent | |
{ "keys": ["super+v"], "command": "paste_and_indent" }, | |
{ "keys": ["super+shift+v"], "command": "paste" } |
# Mac Homebrew command to install the RDS command-line tools | |
# Ubuntu users may find https://launchpad.net/~awstools-dev/+archive/awstools/ useful | |
brew install rds-command-line-tools | |
rds-create-db-parameter-group mysql-utf8 -f mysql5.1 -d "MySQL 5.1 configured for UTF-8" | |
rds-modify-db-parameter-group mysql-utf8 \ | |
--parameters="name=character_set_server, value=utf8, method=immediate" \ | |
--parameters="name=character_set_client, value=utf8, method=immediate" \ | |
--parameters="name=character_set_results, value=utf8, method=immediate" \ |