I hereby claim:
- I am elgreg on github.
- I am elgreg (https://keybase.io/elgreg) on keybase.
- I have a public key whose fingerprint is 8E84 80F7 57BE ACB6 E352 D0DA 5417 4FB2 9BF0 2CAD
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
START=$1 | |
CURRENT="${START}" | |
mkdir $START | |
download_tweet () { | |
twurl "/1.1/statuses/show/${CURRENT}.json" > "${START}/${1}.json" | |
} |
#!/usr/bin/env bash | |
START=$1 | |
CURRENT="${START}" | |
mkdir $START | |
download_tweet () { | |
twurl "/1.1/statuses/show/${CURRENT}.json" > "${START}/${1}.json" | |
} |
export DOCKER_FOR_MAC_IP=`docker run alpine ping -n -q -c 1 docker.for.mac.localhost | grep -o -E [0-9^/]+\.[0-9^/]+\.[0-9^/]+\.[0-9^/]+ | head -n 1 | xargs echo -n |
#! /bin/bash | |
# Requires imagemagick (brew install imagemagick) | |
# Usage: | |
# ./pad_to_3_x_2.sh [image-name] | |
# | |
# produces resized-[image-name] | |
# | |
# Example: |
'use strict'; | |
$(document).ready(function(){ | |
var styles = '<style> .twttr140RadialRed { color:red !important; stroke:red !important;} </style>'; | |
$('head').append(styles); | |
var $tweetModal = $('.modal-tweet-form-container .RichEditor-scrollContainer'); | |
var $homeTimeLine = $('#tweet-box-home-timeline'); | |
var tweetMax = 140; |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# Usage - elb_private_ips [name-of-elb] | |
aws elb describe-instance-health --load-balancer-name $1 | jq '.InstanceStates' | jq '.[] | .InstanceId' | xargs aws ec2 describe-instances --instance-ids | jq .Reservations | jq '.[] | .Instances[0].PrivateDnsName' |
I hereby claim:
To claim this, I am signing this object:
myFunction({ | |
"created_at": "Sun Jun 01 01:40:16 +0000 2014", | |
"id": 472915502898368512, | |
"id_str": "472915502898368512", | |
"text": "Writing Tuesday's class on AJAX and here's a tweet I'll use to show off the Twitter API.", | |
"source": "<a href=\"https://about.twitter.com/products/tweetdeck\" rel=\"nofollow\">TweetDeck</a>", | |
"truncated": false, | |
"in_reply_to_status_id": null, | |
"in_reply_to_status_id_str": null, | |
"in_reply_to_user_id": null, |