I hereby claim:
- I am ryanmark on github.
- I am ryanmark (https://keybase.io/ryanmark) on keybase.
- I have a public key ASCNxKeQujzWBWLLKDBvadJX8YSSitIX9dJzVelg6xBGRgo
To claim this, I am signing this object:
#!/usr/bin/env python | |
foo = 0 | |
bar = {'foo': 0} | |
def wtf(): | |
# Totally fine | |
bar['foo'] += 1 |
#!/bin/bash | |
# This script cleans up your EC2 instance before baking a new AMI. | |
# Run the following command in a root shell: | |
# | |
# bash <(curl -s https://gist.github.com/ryanmark/e8319855354ec157cdaa/raw/ami-clean.sh) | |
function print_green { | |
echo -e "\e[32m${1}\e[0m" | |
} |
var WebPage = require('webpage'), | |
System = require('system'); | |
var address = System.args[1]; | |
var zoom = System.args[2]; | |
var width = 700; | |
var page = WebPage.create(); | |
page.viewportSize = { |
# WIP | |
def download(src, dest) | |
uri = URI.parse(src) | |
yield "Download #{src} to #{dest}" | |
mutex = Mutex.new | |
size = 0 | |
downloaded = 0 |
I hereby claim:
To claim this, I am signing this object:
const pym = require('pym.js') | |
const pymChild = window && window.pymChild ? window.pymChild : new pym.Child() | |
if ( window && !window.pymChild ) window.pymChild = pymChild | |
function sendHeight() { | |
// Tell pym and AMP to update the height | |
pymChild.sendHeight() | |
if ( window && window.parent ) | |
window.parent.postMessage({ |