Put flip somewhere in your $PATH and chmod a+x it.
Copy fuck into ~/.bashrc.
| // This code accompanies a blog post: http://chris.eidhof.nl/posts/json-parsing-in-swift.html | |
| // | |
| // As of Beta5, the >>= operator is already defined, so I changed it to >>>= | |
| import Foundation | |
| let parsedJSON : [String:AnyObject] = [ | |
| "stat": "ok", | |
| "blogs": [ |
| #!/usr/bin/perl | |
| =com | |
| PURPOSE | |
| This script will | |
| Force you through a comprehensive quality-control checklist | |
| Run Deploymate | |
| Get the latest version number by reading it from product's Info.plist |
| /** | |
| * Several macros simplifying use of weak references to self inside blocks | |
| * which goal is to reduce risk of retain cycles. | |
| * | |
| * Example: | |
| * @code | |
| @interface Example : NSObject{ | |
| int _i; | |
| } |
Locate the section for your github remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
| #!/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 | |
| # |
| <!DOCTYPE html> | |
| <head> | |
| <title>Snow</title> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js" type="text/javascript"></script> | |
| <script src="snow.js" type="text/javascript"/></script> | |
| </head> | |
| <body onload="init();"> | |
| <canvas id="bgcanvas" width="410" height="316" style="position:absolute;z-index:2"></canvas> | |
| <img src="globe_layers_2.png" style="position:absolute;z-index:3"> | |
| <canvas id="fgcanvas" width="410" height="316" style="position:absolute;z-index:4"></canvas> |
| # If your workers are inactive for a long period of time, they'll lose | |
| # their MySQL connection. | |
| # | |
| # This hack ensures we re-connect whenever a connection is | |
| # lost. Because, really. why not? | |
| # | |
| # Stick this in RAILS_ROOT/config/initializers/connection_fix.rb (or somewhere similar) | |
| # | |
| # From: | |
| # http://coderrr.wordpress.com/2009/01/08/activerecord-threading-issues-and-resolutions/ |