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
(def init-data | |
{:universe | |
{:size js/Infinity | |
:beings [{:name "John"} | |
{:name "Mary"}]}}) | |
(defui Being | |
static om/Ident | |
(ident [this {:keys [name]}] |
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
for f in *.flac; do ffmpeg -i "$f" -acodec libmp3lame -ab 320k "${f%.flac}.mp3"; done |
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
#!/usr/bin/env ruby | |
require 'open-uri' | |
require 'json' | |
puts JSON.parse(open('https://raw.github.com/ChaseFlorell/jQuery.ProfanityFilter/master/swearWords.json').read).sample |
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
~ $ /usr/bin/ruby -v | |
ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0] | |
~ $ /usr/bin/ruby swag.rb | |
794 | |
~ $ ruby -v | |
ruby 1.9.3p362 (2012-12-25 revision 38607) [x86_64-darwin12.2.0] | |
~ $ ruby swag.rb | |
787 |
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
javascript:(function(){a=document.getElementsByTagName('img');for(i in a){a[i].src="http://cache.ohinternet.com/images/a/ab/Dancing_baby.gif";}})(); |