Attention: if you attempt to fork this gist, github will think that you are a spammer and you will have to confirm that you are human with them. Apparantly there are too many links in this list. Also I update it rather frequently (see revisions on the left), so it's probably wise to not fork it anyway.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <% page_articles.find_all{|x| !x.data.archive}.each_with_index do |article, i| %> | |
| <li> | |
| <time datetime="<%= article.date.strftime("%Y-%m-%d") %>"> | |
| <%= article.date.strftime("%Y-%m-%d") %> » | |
| </time> | |
| <a href="<%= article.url %>" rel="prefetch related"><%= article.title %></a> | |
| </li> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Xcode | |
| .DS_Store | |
| */build/* | |
| *.pbxuser | |
| !default.pbxuser | |
| *.mode1v3 | |
| !default.mode1v3 | |
| *.mode2v3 | |
| !default.mode2v3 | |
| *.perspectivev3 |
You should never have to use 'sudo gem install', but the trick to doing that is to add the following to your .bash_profile:
https://gist.github.com/217895
export GEM_PATH="$HOME/.gem/ruby/1.8" export GEM_HOME="$HOME/.gem/ruby/1.8" export PATH="$HOME/.gem/ruby/1.8/bin:$PATH"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| NSURL *url = [NSURL URLWithString:@"http://api.domaintools.com/v1/domaintools.com/whois/"]; | |
| NSURLRequest *request = [NSURLRequest requestWithURL:url]; | |
| AFJSONRequestOperation *operation = [AFJSONRequestOperation JSONRequestOperationWithRequest:request success:^(NSURLRequest *request, NSHTTPURLResponse *response, id JSON) { | |
| NSLog(@"response.registration: %@ response.whois: %@", [JSON valueForKeyPath:@"response.registration"], [JSON valueForKeyPath:@"response.whois"]); | |
| } failure:^(NSURLRequest *request, NSHTTPURLResponse *response, NSError *error, id something) { NSLog(@"ERROR: %@", error); } ]; | |
| [operation start]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl blah blah | python -mjson.tool |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gem: -n/usr/local/bin |