Skip to content

Instantly share code, notes, and snippets.

@mrjabba
mrjabba / makepkg.conf
Created February 26, 2012 22:01
makepkg.conf
#
# /etc/makepkg.conf
#
#########################################################################
# SOURCE ACQUISITION
#########################################################################
#
#-- The download utilities that makepkg should use to acquire sources
# Format: 'protocol::agent'
@mrjabba
mrjabba / rc.conf
Created February 26, 2012 21:09
rc.conf
#
# /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
@mrjabba
mrjabba / pacman.conf
Created February 26, 2012 21:08
pacman.conf
#
# /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.
@mrjabba
mrjabba / git_branching.txt
Created October 27, 2011 14:47
Git branching with multiple defects when you can't commit back to SVN
-- 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
@mrjabba
mrjabba / cider.markdown
Created September 10, 2011 22:26
Rubus Primus Cider

##Rubus Primus Cider

###Liquid 4 Gallons Tree Top, liquid

###Sugars

  • 1 lb cane sugar dissolved in water

###Adjuncts

  • 2 fl oz Raspberry flavoring
@mrjabba
mrjabba / .gitconfig
Created August 28, 2011 20:04
git instaweb config for Chrome in Ubuntu
[browser "chrome"]
cmd = /usr/bin/google-chrome
[instaweb]
httpd=webrick
browser=chrome
@mrjabba
mrjabba / r-all.bash
Created August 11, 2011 00:35
rebase all bash
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
@mrjabba
mrjabba / finddirtygit.sh
Created July 27, 2011 17:43
Find any dirty git projects in the current working directory and recursively beneath this directory
#!/bin/bash
##############################################################################
# Find any dirty git projects in the current working directory
# and recursively beneath this directory
# copied with thanks to Matthew from
# https://github.com/matthewmccullough/scripts/blob/master/finddirtygit
#
# USAGE:
# finddirtygit
@mrjabba
mrjabba / Short_Bus_Brown.markdown
Created July 24, 2011 18:53
A custom beer recipe of mine that tries to fuse a brown ale and rye ale together.

##Short Bus Brown Ale

###Grains

  • 40L 8oz
  • Special B 4oz
  • Chocolate Rye 2oz

###Malt

  • Amber 10lb (liquid extract)
@mrjabba
mrjabba / format_git_svn_log_for_code_swarm.rb
Created July 1, 2011 00:03
Log formatter for git log that's an git svn clone
require 'nokogiri'
puts "Start formatting git log to remove stuff after the @.."
doc = Nokogiri::HTML(open('log.xml'))
doc.css('event @author').each do |author|
name = author.content
author.content = name[0,name.index('@')]
end