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
| define("can", ["has"], function(has){ | |
| return { | |
| has: function(test, callback){ | |
| // summary: doublepluscool has.js intergration | |
| // example: | |
| // can.has("array-forEach", function(ihas){ | |
| // if(ihas){ | |
| // // There is a native Array.prototype.forEach | |
| // } |
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
| #!/bin/bash | |
| # | |
| # A better PS1 for Git | |
| # | |
| # Author: Justin Hileman (http://justinhileman.com) | |
| # | |
| # Installation: | |
| # Add the following function to your `.bashrc` or `.bash_profile`, | |
| # or save it somewhere (e.g. `~/.gps1.bash`) and source it in `.bashrc` |
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
| Suggestions from the 11 hackers at the table: | |
| * Use connection pooling (pgpool). | |
| * Don't expect reporters to get excited until you can show them something. (Find a way to appeal to reporters interests.) | |
| * Only update what's changed. (e.g. on election results: show changes, not raw numbers) | |
| * Use the AP's "dbready" format for election results. | |
| * Use CSV for everything. | |
| * Use pdb with runserver for debugging. | |
| * Beware circular imports when using Haystack. | |
| * Make the case for building news apps with government data. (Niran will provide numbers showing that people look at it.) |
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
| [submodule "amqp"] | |
| path = amqp | |
| url = http://github.com/ry/node-amqp.git |
NewerOlder