I hereby claim:
- I am jasonmadigan on github.
- I am jasonmadigan (https://keybase.io/jasonmadigan) on keybase.
- I have a public key whose fingerprint is EF06 149D 1472 7CDE CA2C 7848 932D 1F08 FEDB 52CF
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env ruby | |
| # Simple 404 finder | |
| require 'rubygems' | |
| require 'anemone' | |
| url = ARGV[0] | |
| if url.nil? |
| #!/usr/bin/env sh | |
| ## | |
| # This is script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # install it: | |
| # curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
| # |
| [ | |
| { "keys": ["alt+shift+up"], "command": "select_lines", "args": {"forward": false} }, | |
| { "keys": ["alt+shift+down"], "command": "select_lines", "args": {"forward": true} } | |
| ] |
| #!/usr/bin/perl | |
| use Getopt::Long; | |
| my $verbose; | |
| my $overwrite; | |
| my $renamenew; | |
| my $append; | |
| my $help; |
| #!/usr/bin/ruby | |
| require 'socket.so' | |
| class UDPServer | |
| def initialize(port) | |
| @port = port | |
| end | |
| def start | |
| @socket = UDPSocket.new |
| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> | |
| <html lang="en"> | |
| <head> | |
| <title> | |
| Websocket Test | |
| </title> | |
| <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js' type="text/javascript"></script> | |
| <script type="text/javascript"> | |
| $(document).ready(function() { | |
| function debug(str){ $("#debug").append("<p>" + str + "<\/p>"); }; |
| #!/usr/bin/env ruby | |
| # Blocks iTunes from launching if Spotify is open | |
| # Installation: | |
| # sudo ruby -e "$(curl -fsS https://raw.github.com/gist/613045/b12123d5e25d446038e6300bf54d2121bf180c34)" | |
| blockers = ["Spotify"] | |
| launch = true | |
| blocker_name = "" |
| Use | |
| /Developer/Tools/SetFile -a V /opt | |
| or | |
| chflags hidden /opt | |
| To revert: | |
| chflags unhidden /opt |
| #!/usr/bin/env ruby | |
| # coding: utf-8 | |
| require 'rubygems' | |
| require 'mechanize' | |
| USERNAME = '<USERNAME>' | |
| PASSWORD = '<PASSWORD>' | |
| mech = Mechanize.new |