Skip to content

Instantly share code, notes, and snippets.

View southgate's full-sized avatar
🌏
Mars: overrated

Alex Southgate southgate

🌏
Mars: overrated
  • WorkOS
  • Lisbon, PT
  • 09:16 (UTC +01:00)
  • X @fromagie
View GitHub Profile

Keybase proof

I hereby claim:

  • I am southgate on github.
  • I am southgate (https://keybase.io/southgate) on keybase.
  • I have a public key ASAkdkgDbi5IXFZ4IUZ3Y1yrI4kQqDp0TiJfcMRkASf2MQo

To claim this, I am signing this object:

@southgate
southgate / t.py
Last active August 29, 2015 14:13
Python syntax test
r"""
"(
"""
import sys

So say you were doing this in ruby and you wanted to write a method sum that took numbers and added them together. You'd have one ruby file that contained your test, call it math_test.rb, and one ruby file that contained your method, call it math.rb. They'd look something like this:

math_test.rb:

def test_summation
  assert 4 == sum(2, 2)
  assert 0 == sum(2, -2)
end
@southgate
southgate / training-guide.md
Created April 24, 2014 11:07
Training Guide

Copy all github.com/southgate/dotfiles/tree/master/gitconfig?

autocrlf false | true | input

Rebase

githubtraining/example-branches create a feature-1 branch make a couple commits

@southgate
southgate / impact-hub-recife.geojson
Last active August 29, 2015 13:59
Impact Hub Recife
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Keybase proof

I hereby claim:

  • I am southgate on github.
  • I am southgate (https://keybase.io/southgate) on keybase.
  • I have a public key whose fingerprint is 9A0E 1C6B F805 B143 CD63 6C2D CE5F BB37 72C8 EBE2

To claim this, I am signing this object:

@southgate
southgate / gist:6022922
Last active December 19, 2015 21:49
Fill the CC form with fake data
javascript:(function() {
$('#billing_number').val("4111 1111 1111 1111");
$('#billing_expiration_date').val("02/2015");
$('#billing_cvv').val("123");
$('#billing_billing_address_postal_code').val("94110");
$('.select-country').val('United States of America');
$('.select-state').val('California');
})();
@southgate
southgate / punch-stacker.sh
Created January 24, 2013 00:26
Update stacker for each stack and deploy
for stack in mars national_debt hayes_adaptation filibuster fiscal_what drones electoral_college superpacs voterid;
do
(cd $stack/stacker; git pull origin; cd ..; git commit -am ":punch: stacker";)
(cd $stack; rake deploy)
done
<script class="newsbound-embed" data-width="800" data-height="495" data-url="//newsbound.com/explainers/electoral_college/app" src="//newsbound.com/js/embed.js"></script>
// ==UserScript==
// @name ANA International Partner Space Hack
// @namespace http://spondooliks.org/userscripts
// @description Allow an ANA member with no miles to search for Partner Award Space
// @match http://*.ana.co.jp/*
// @match https://*.ana.co.jp/*
// ==/UserScript==
var elements = document.getElementsByClassName('btnRArrGrayL');