##Rubus Primus Cider
###Liquid 4 Gallons Tree Top, liquid
###Sugars
- 1 lb cane sugar dissolved in water
###Adjuncts
- 2 fl oz Raspberry flavoring
function r-all { | |
cd /branch/foo | |
pwd -P | |
echo "Rebasing branch..." | |
./rebase.sh; | |
notify-send "Done rebasing branch..." | |
cd /trunk/foo | |
echo "Rebasing trunk..." | |
pwd -P |
[browser "chrome"] | |
cmd = /usr/bin/google-chrome | |
[instaweb] | |
httpd=webrick | |
browser=chrome |
##Rubus Primus Cider
###Liquid 4 Gallons Tree Top, liquid
###Sugars
###Adjuncts
-- Working on multiple defects when can't dcommit back to SVN for a few dayes. | |
from updated master | |
git checkout master...new defecta branch | |
do work/local commit | |
rebase master to stay current | |
git checkout master...new defectb branch | |
merge defect a branch to defectb branch | |
do work/local commit | |
rebase master to stay current | |
git checkout master...new defectc branch |
# | |
# /etc/pacman.conf | |
# | |
# See the pacman.conf(5) manpage for option and repository directives | |
# | |
# GENERAL OPTIONS | |
# | |
[options] | |
# The following paths are commented out with their default values listed. |
# | |
# /etc/rc.conf - Main Configuration for Arch Linux | |
# | |
# ----------------------------------------------------------------------- | |
# LOCALIZATION | |
# ----------------------------------------------------------------------- | |
# | |
# LOCALE: available languages can be listed with the 'locale -a' command | |
# DAEMON_LOCALE: If set to 'yes', use $LOCALE as the locale during daemon |
# | |
# /etc/makepkg.conf | |
# | |
######################################################################### | |
# SOURCE ACQUISITION | |
######################################################################### | |
# | |
#-- The download utilities that makepkg should use to acquire sources | |
# Format: 'protocol::agent' |
my_rack_proc = lambda { |env| [200, {"Content-Type" => "text/plain"}, ["Hello. The time is #{Time.now}"]] } | |
puts my_rack_proc.call({}) | |
require 'rack' | |
Rack::Handler::WEBrick.run(my_rack_proc, :Port => 3000) |
require 'java' | |
java_import 'java.util.concurrent.Executors' | |
java_import 'java.util.concurrent.TimeUnit' | |
class SomeClass | |
include java.lang.Runnable | |
def run | |
puts "imma lil jruby runner" | |
end | |
end |
class BaseMessageHandler | |
def initialize(opts = {}) | |
@connection_string = opts[:rabbit_mq_host] | |
raise ConfigurationError.new('rabbit_mq_host is not specified') unless @connection_string | |
end | |
def fetch_channel | |
AMQP.start(@connection_string) do |connection, open_ok| | |
AMQP::Channel.new(connection) do |channel| | |
yield channel |