Benchmark Run: Wed Aug 24 2011 11:28:37 - 11:56:54
4 CPUs in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 22392251.5 lps (10.0 s, 7 samples)
Double-Precision Whetstone 2722.9 MWIPS (9.9 s, 7 samples)
Execl Throughput 1004.0 lps (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 243715.4 KBps (30.0 s, 2 samples)
This file contains 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
= Ruby + Oracle + Snow Leopard | |
Jāuzliek 64bit InstantClient: | |
http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/intel_macsoft.html | |
$ su - | |
$ export DYLD_LIBRARY_PATH=/path/to/instantclient | |
$ cd /path/to/instantclient && ln -s libclntsh.dylib.10.1 libclntsh.dylib |
This file contains 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
jQuery Visualize Plugin: Accessible Charts & Graphs from Table Elements using HTML 5 Canvas | |
http://www.filamentgroup.com/lab/jquery_visualize_plugin_accessible_charts_graphs_from_tables_html5_canvas/ | |
Bluff is a JavaScript port of the Gruff graphing library for Ruby. | |
http://bluff.jcoglan.com/ | |
Open Flash Chart II Plugin for Ruby on Rails - Graphs (we have used this before for interactive charts) | |
http://pullmonkey.com/projects/open_flash_chart2/ | |
Interactive JS charts for your website (free for personal use): |
This file contains 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
cat ~/.ssh/id_dsa.pub | ssh user@server "cat >> .ssh/authorized_keys" | |
cat ~/.ssh/id_rsa.pub | ssh user@server "cat >> .ssh/authorized_keys" |
This file contains 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 `find . -regex '.*\.html\.erb'`; do echo "Converting $f" && html2haml $f > "${f%.erb}.haml" && rm $f; done |
This file contains 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 | |
at_exit do | |
raise "X" rescue nil | |
end | |
at_exit do | |
nil | |
end |
This file contains 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
# https://gist.github.com/gists/1226317 | |
# Additional translations at http://github.com/plataformatec/devise/wiki/I18n | |
lv: | |
errors: | |
messages: | |
expired: 'derīgums beidzies, lūdzu piesakieties jaunam' | |
not_found: 'netika atrasts' | |
already_confirmed: 'ir jau apstiprināts, lūdzu mēģiniet pieslēgties' | |
not_locked: 'netika nobloķēts' |
This file contains 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 'unicorn' |
OlderNewer