Skip to content

Instantly share code, notes, and snippets.

View stvnjacobs's full-sized avatar

steven jacobs stvnjacobs

View GitHub Profile
#!/usr/bin/env bash
# Depends on curl and jq
# jq: https://stedolan.github.io/jq/
#
# LINODE_API_KEY must be set to v3 API key
# LINODE_API_TOKEN must be set to v4 API token
# !!!! WARNING !!!!
# This will overwrite any tags you already have made
size of bundle.js
webpack 1 + original .babelrc 1,905,457 Bytes
webpack 2 + original .babelrc 1,984,761 Bytes
webpack 2 + updated .babelrc 1,900,329 Bytes

webpack 1 + original .babelrc

#right {
counter-reset: split;
}
#right > div:nth-child(5n+1):before {
counter-increment: split;
content: counter(split) ". ";
font-weight: 700;
font-size: 2em;
padding-top: 1em;
var data = Promise.resolve(queryRange(start, end));
data.then(function(values) {
console.log(values);
});
function queryRange(start, end) {
var data = [];
var start = parseInt(start, 10);
var end = parseInt(end, 10);

Keybase proof

I hereby claim:

  • I am stvnjacobs on github.
  • I am stvnjacobs (https://keybase.io/stvnjacobs) on keybase.
  • I have a public key whose fingerprint is 27D9 5B9B 45B4 3061 C8DA 9021 0FA0 C943 FF9E CB6D

To claim this, I am signing this object:

@stvnjacobs
stvnjacobs / heroku-bash-output
Created March 31, 2015 00:41
Express app is returning 403 errors unless twilio.webhook() has validate set to false
twilio-api on master
$ heroku run bash
Running `bash` attached to terminal... up, run.9605
Detected 512 MB available memory, 512 MB limit per process (WEB_MEMORY)
Recommending WEB_CONCURRENCY=1
~ $ echo $TWILIO_AUTH_TOKEN
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
~ $ node
> console.log(process.env.TWILIO_AUTH_TOKEN)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX