Created
March 26, 2012 16:03
-
-
Save kleinmatic/2206171 to your computer and use it in GitHub Desktop.
Revisions
-
kleinmatic revised this gist
Mar 26, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ Open Source code doesn’t always come in big complex packages. At ProPublica we sometimes share small, simple snippets of using GitHub "Gists." These Gists range from single-byte file delimiters to an entire JavaScript framework for making stepper graphics. They rarely have documentation and don’t even always have names, but they can be super-useful. Here are some we’ve shared over the past few years: * A simple way to grab remote template elements in your Rails app (after [Brian Boyer](http://hackerjournalist.net/)'s RemoteSnippets) [https://gist.github.com/1664329](https://gist.github.com/1664329) * A single byte gist that contains ASCII character 28, which the [FEC uses](http://www.fec.gov/support/DataConversionTools.shtml) as a field delimiter. [https://gist.github.com/2191300](https://gist.github.com/2191300) * A [quine](http://en.wikipedia.org/wiki/Quine_(computing) in Ruby [https://gist.github.com/523940](https://gist.github.com/523940) * Check links on a page using JavaScript [https://gist.github.com/1502737](https://gist.github.com/1502737) * Convert state abbreviations to and from AP Style in JavaScript (requires [Underscore](http://documentcloud.github.com/underscore/)) [https://gist.github.com/1006390](https://gist.github.com/1006390) -
kleinmatic revised this gist
Mar 26, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ Open Source code doesn’t always come in big complex packages. At ProPublica we sometimes share small, simple snippets of using GitHub "Gists." These Gists range from single-byte file delimiters to an entire JavaScript framework for making stepper graphics. They rarely have documentation and don’t even always have names, but they can be super-useful. Here are some we’ve shared over the past few years: * A simple way to grab remote template elements in your Rails app (after [Brian Boyer](http://hackerjournalist.net/)'s RemoteSnippets) [https://gist.github.com/1664329](https://gist.github.com/1664329) * A single byte gist that contains ASCII character 28, which the [FEC uses](http://www.fec.gov/support/DataConversionTools.shtml) as a field delimiter. https://gist.github.com/2191300 -
kleinmatic revised this gist
Mar 26, 2012 . 1 changed file with 25 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1 +1,25 @@ Open Source code doesn't always come in big complex packages. At ProPublica we sometimes share small, simple snippets of using GitHub "Gists." These Gists rarely have documentation and don't even always have names, but they can be super-useful. Here are some we've shared over the past few years. * A simple way to grab remote template elements in your Rails app (after [Brian Boyer](http://hackerjournalist.net/)'s RemoteSnippets) [https://gist.github.com/1664329](https://gist.github.com/1664329) * A single byte gist that contains ASCII character 28, which the [FEC uses](http://www.fec.gov/support/DataConversionTools.shtml) as a field delimiter. https://gist.github.com/2191300 * A [quine](http://en.wikipedia.org/wiki/Quine_(computing) in Ruby [https://gist.github.com/523940](https://gist.github.com/523940) * Check links on a page using JavaScript [https://gist.github.com/1502737](https://gist.github.com/1502737) * Convert state abbreviations to and from AP Style in JavaScript (requires [Underscore](http://documentcloud.github.com/underscore/)) [https://gist.github.com/1006390](https://gist.github.com/1006390) * Find out if you have permission to publish to a user's Facebook stream, using JavaScript [https://gist.github.com/1181004](https://gist.github.com/1181004) * Grab U.S. Code by statute using Ruby [https://gist.github.com/861266](https://gist.github.com/861266) * JavaScript color generator based on Tyson Evan's color pallete [https://gist.github.com/1558470](https://gist.github.com/1558470) * Natural language document clustering in Ruby [https://gist.github.com/1508278](https://gist.github.com/1508278) * Non-strict CSV parser in Ruby [https://gist.github.com/1684042](https://gist.github.com/1684042) * Parse Unix diffs using Ruby [https://gist.github.com/335891](https://gist.github.com/335891) * Poor Man's [Fech](https://github.com/NYTimes/Fech), in Ruby [https://gist.github.com/1405852](https://gist.github.com/1405852) * Rake task to build github pages [https://gist.github.com/891157](https://gist.github.com/891157) * Ruby code to purge Amazon CloudFront cache [https://gist.github.com/1630177](https://gist.github.com/1630177) * Shell script to download TIGER/Line shapefiles [https://gist.github.com/885812](https://gist.github.com/885812) * Simple dynamic page titles for Rails [https://gist.github.com/981957](https://gist.github.com/981957) * Simple JavaScript graphing framework [https://gist.github.com/1690779](https://gist.github.com/1690779) * Simple Ruby benchmark [https://gist.github.com/987477](https://gist.github.com/987477) * Stepper graphic framework using JavaScript [https://gist.github.com/1703708](https://gist.github.com/1703708) * Turn CSVs into JSON, in Ruby [https://gist.github.com/1334996](https://gist.github.com/1334996) * Turn hashtags in git commit messages into git tags using Ruby [https://gist.github.com/826360](https://gist.github.com/826360) Naturally, this post [is available as a gist](https://gist.github.com/gists/2206171), too. -
kleinmatic created this gist
Mar 26, 2012 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ # TK