Skip to content

Instantly share code, notes, and snippets.

View spangey's full-sized avatar

spangey

View GitHub Profile
@spangey
spangey / watchlist.txt
Created January 15, 2015 21:47
compiled list of dhs watch words
Afghanistan, Agent, Agriculture, Agro, Aid, Air borne, Air Marshal, Airplane, Airport, Al Qaeda, Al-Shabaab, Ammonium nitrate, AMTRAK, Anthrax, Antiviral, Artistic Assassins, Assassination, Attack, Authorities, Avalanche, Avian, Bacteria, BART, Biological, Biological event, Biological weapon, Black out, Blister agent, Blizzard, Body scanner, Bomb squad, Bomb threat, Border, Border Patrol, Border Protection, Botnet, Breach, Bridge, Brown out, Brush fire, Brute forcing, Burn, Burst, Cain and abel, Cancelled, Car bomb, Cartel, Center for Disease Control, Chemical, Chemical agent, Chemical burn, Chemical fire, Chemical spill, Chemical weapon, China, Ciudad Juarez, Closure, Cloud, Coast Guard, Cocaine, Collapse, Colombia, Computer infrastructure, Conficker, Consular, Contamination, Conventional weapon, Cops, Crash, Crest, Critical infrastructure, Customs, Cyber attack, Cyber Command, Cyber security, Cyber terror, DDOS, Deaths, Decapitated, Delays, Denial of service, Dirty bomb, Disaster, Disaster assistance, Disas
@spangey
spangey / gist:5736169ae154ccef32f8
Created January 23, 2015 21:20
old uunet map (bbs haxors)
# u.usa.dc.1 from uucp-map@acsu.buffalo.edu
# send maps to usa-[dc|de|md|nj|ny|va|wv]@rutgers.edu
# 23:26 gmt 10/31/91
#N .afcsa.af.mil, samt19
#F afcsa.af.mil
#S Sun Microsystems Sparcstation 1+; SunOS 4.1
#C William G. Aten
#E samt19!postmaster
#T +1 703 697 2183
#O Air Force Center for Studies & Analyses
https://www.google.com/fusiontables/DataSource?docid=1qwHuS2zIBqK_xxTtg-j_loRHqCVpcld-a2Q6kM0#rows:id=1
Emergency Preparedness
Pioneering Wireless
Offbeat Internet
Application Software
@spangey
spangey / gist:71804f40a5e6ad291a74
Created February 14, 2015 13:27
install sublime text 3
wget -O install-sublime.sh https://gist.github.com/xtranophilist/5932634/raw/sublime-text-3-x32.sh && sudo sh install-sublime.sh; rm -rf install-sublime.sh
@spangey
spangey / keybase.md
Created March 9, 2015 21:38
keybase.md

Keybase proof

I hereby claim:

  • I am spangey on github.
  • I am spangey (https://keybase.io/spangey) on keybase.
  • I have a public key whose fingerprint is 59B4 8F72 609B 3094 0DAA 88C6 2800 2B23 C350 F58E

To claim this, I am signing this object:

@spangey
spangey / turing-tweet.js
Created October 5, 2015 18:59
A tweetable turing machine
/**
* Here's a turing machine that fits into a tweet with an example program.
* Original tweet: https://twitter.com/mrrrgn/status/630419814666780673
* Gif: http://i.imgur.com/4t31zA2.gif
* Turing machines: https://www.youtube.com/watch?v=dNRDvLACg5Q
*
* Think this is neat? Consider following me for more computer silliness:
* twitter.com/mrrrgn or rss my blog linuxpoetry.com
**/
@spangey
spangey / guido.ps3
Created November 12, 2015 20:13
Genr8 GUID's w/ powershell
<#
Running this script will make GUIDux (geoducks[gooey-ducks]) haha :/
Last updated: 1984
#>
([GUID]::NewGuid()).GUID
// Node.js CheatSheet.
// Download the Node.js source code or a pre-built installer for your platform, and start developing today.
// Download: http://nodejs.org/download/
// More: http://nodejs.org/api/all.html
// 0. Synopsis.
// http://nodejs.org/api/synopsis.html
@spangey
spangey / Top-1000-Celebrity-Twitter-Accounts.csv
Created December 5, 2015 21:22 — forked from mbejda/Top-1000-Celebrity-Twitter-Accounts.csv
Top 1000 Celebrity Twitter Accounts (twitter,domain,name,type)
twitter domain name type
katyperry katyperry.com KATY PERRY celebrity
justinbieber smarturl.it Justin Bieber celebrity
taylorswift13 grmypro.co Taylor Swift celebrity
rihanna rihannanow.com Rihanna celebrity
ladygaga The Countess celebrity
jtimberlake justintimberlake.com Justin Timberlake celebrity
TheEllenShow ellentube.com Ellen DeGeneres celebrity
britneyspears britney.lk Britney Spears celebrity
Cristiano Cristiano Ronaldo celebrity
@spangey
spangey / encryptPlainTxtAuthFilles
Created December 30, 2015 20:50
encryptPlainTxtAuthFilles
A very convenient feature of Curl is that if invoked with curl -n, it will try to read credentials
of a target service from a local .netrc file, and if found, use them for authentication. The trouble
is that these credentials default to being stored in plain text, which is something that we’d like to avoid by using GPG.
The first step here is to encrypt your .netrc:
$ gpg -r <your email> -e ~/.netrc
$ ls ~/.netrc.gpg
$ rm ~/.netrc
Now we can can pipe the decrypted output of our .netrc file from gpg, and have Curl read it in (this should go in your appropriate *rc file):