Skip to content

Instantly share code, notes, and snippets.

View patrickmoberg's full-sized avatar

patrickmoberg

View GitHub Profile
@thisandagain
thisandagain / gist.md
Last active December 15, 2015 14:38
Always Command+V as "Paste and Match Style" (without formatting)

Instructions (Mac OS X)

  • Open "System Preferences"
  • Select "Keyboard"
  • Select tab "Keyboard Shortcuts"
  • Select "Application Shortcuts" from the left list box
  • Click "+" below the right list box
  • Select "All Applications" for "Application" input box
  • Type "Paste and Match Style" into the "Menu Title" input box
  • In the "Keyboard Shortcut" input box, type command-v
@nakajima
nakajima / fliptable.rb
Created January 24, 2012 00:40
¯\_(ツ)_/¯
#!/usr/bin/env ruby
flips = [
'(╯°□°)╯︵ ┻━┻',
'(ノಥ益ಥ)ノ ┻━┻',
'┬──┬ ¯\_(ツ)',
'┻━┻ ︵ヽ(`Д´)ノ︵ ┻━┻',
'┻━┻ ︵ ¯\(ツ)/¯ ︵ ┻━┻',
'┬─┬ノ( º _ ºノ)',
'(ノಠ益ಠ)ノ彡┻━┻'
@jamiew
jamiew / google_twunter_lol
Created July 28, 2011 20:34
All the dirty words from Google's "what do you love" project: http://www.wdyl.com/
easterEgg.BadWorder.list={
"4r5e":1,
"5h1t":1,
"5hit":1,
a55:1,
anal:1,
anus:1,
ar5e:1,
arrse:1,
arse:1,
@RobSpectre
RobSpectre / gist:1051708
Created June 28, 2011 17:51
bnter joke
<?php
class LaurenLeto extends PatrickMoberg {
public function doWork($ideas) {
$i = 0;
foreach ($ideas as $idea) {
$this->writeCode($idea);
if ($i >= 4 ) {
$this->highFive();
$i = 0;