Put flip
somewhere in your $PATH
and chmod a+x
it.
Copy fuck
into ~/.bashrc
.
/** | |
* CloudExtension and factory for creating CloudExtension instances. | |
* Example: | |
* {{{ | |
* val application = CloudExtension(system, config) | |
* }}} | |
* | |
* @author Helena Edelson | |
*/ | |
object CloudExtension extends ExtensionId[CloudExtension] with ExtensionIdProvider { |
function table() { | |
case "$1" in | |
flip) | |
echo "(╯°□°)╯︵ ┻━┻ " | |
;; | |
set) | |
echo "┬─┬ ノ( ゜-゜ノ)" | |
;; | |
man) | |
echo "(╯°Д°)╯︵ /(.□ . \)" |
$stack, $draws = [], {} | |
def method_missing *args | |
return if args[0][/^to_/] | |
$stack << args.map { |a| a or $stack.pop } | |
$draws[$stack.pop(2)[0][0]] = args[1] if args[0] == :< | |
end | |
class Array | |
def +@ |
Latency Comparison Numbers (~2012) | |
---------------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns 3 us | |
Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
gem 'pg' | |
group :development do | |
gem 'ruby-debug' | |
end | |
gem 'rake', '~> 0.8.7' | |
gem 'devise' | |
gem 'oa-oauth', :require => 'omniauth/oauth' | |
gem 'omniauth' | |
gem 'haml' | |
gem 'dynamic_form' |
require 'java' | |
# All the files from cassandra/lib | |
require 'lib/antlr-3.1.3.jar' | |
require 'lib/apache-cassandra-0.6.1.jar' | |
require 'lib/avro-1.2.0-dev.jar' | |
require 'lib/clhm-production.jar' | |
require 'lib/commons-cli-1.1.jar' | |
require 'lib/commons-codec-1.2.jar' | |
require 'lib/commons-collections-3.2.1.jar' |