Public Gists by entangledstate

Gravatar
Sat Nov 21 14:16:17 -0800 2009
1
2
3
$ cat test.rb
class Person
end
Gravatar
Wed Nov 18 18:29:53 -0800 2009
1
2
3
# GitHub Javascript Strategy
 
Unless otherwise necessary (such as mobile development), the GitHub javascript codebase is based off jQuery. You can safely assume it will be included on every page.
Gravatar
Tue Nov 17 02:09:38 -0800 2009
1
2
3
var sys=require('sys'), http = require('http');
var target = "jsconf";
var connection = http.createClient(80, "search.twitter.com");
Gravatar
Wed Nov 04 15:57:54 -0800 2009
1
2
3
Press X during startup Force Mac OS X startup
Press Option-Command-Shift-Delete
during startup Bypass primary startup volume and seek a different startup volume (such as a CD or external disk)
Gravatar
Tue Nov 03 09:54:11 -0800 2009
1
2
3
Custom OS X Keyboard Shortcuts
* All Applications
  -> Software Update... = ⌃ ⌥ ⇧U
Gravatar
Wed Oct 28 15:49:16 -0700 2009
1
2
3
Oniguruma Regular Expressions Version 5.9.1 2007/09/05
 
syntax: ONIG_SYNTAX_RUBY (default)
Gravatar
Sun Oct 11 22:20:39 -0700 2009

      
Gravatar
Wed Oct 07 11:46:29 -0700 2009

      
Gravatar
Sun Sep 13 17:20:41 -0700 2009
1
2
3
Tutorial: MMS on iPhone OS 3.1 (AT&T)
http://www.krillr.com/blog/N72ZCXJH/tutorial-mms-on-iphone-os-31-att
 
Gravatar
Thu Sep 03 10:25:54 -0700 2009
1
2
3
git symbolic-ref HEAD refs/heads/newbranch
rm .git/index
git clean -fdx
Gravatar
Mon Aug 31 09:05:36 -0700 2009
1
2
3
#!/usr/bin/env ruby
puts "looking for the gems to upgrade..."
gem_info = Struct.new(:name, :version)
Gravatar
Sat Aug 29 09:32:30 -0700 2009
1
2
3
      === Epic Snow Leopard Upgrayyyyd Guide ===
 
Son, you’re now living in the land of 64-bit systems.
Gravatar
Sun Aug 23 19:31:26 -0700 2009
1
2
3
Poor Man's Deploy
=================
 
Gravatar
Mon Aug 17 22:06:59 -0700 2009
1
2
# Open links in a new tab in Safari
defaults write com.apple.Safari TargetedClicksCreateTabs -bool true
Gravatar
Fri Aug 14 13:51:18 -0700 2009
1
2
3
#Rubyisms from http://pastie.textmate.org/143799
 
#RUBYISMS
Gravatar
Mon Aug 10 00:29:15 -0700 2009
1
2
3
Mechanize User Agent Aliases
{
'Windows IE 6' => 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)',
Gravatar
Wed Jul 29 21:19:14 -0700 2009

      
Gravatar
Sat Jul 25 17:09:50 -0700 2009
1
2
3
Target IE6 and IE7 with only 1 extra character in your CSS
http://briancray.com/2009/04/16/target-ie6-and-ie7-with-only-1-extra-character-in-your-css/
 
Gravatar
Fri Jun 19 10:33:29 -0700 2009
1
2
3
# Bash snippet to open new shells in most recently visited dir.
# Useful if you want to open a new terminal tab at the present
# tab's location.
Gravatar
Thu Jun 18 09:17:14 -0700 2009
1
2
3
HOWTO: iPhone AT&T Tethering
============================