Skip to content

Instantly share code, notes, and snippets.

View rxbynerd's full-sized avatar

@rubynerd rxbynerd

View GitHub Profile
@rxbynerd
rxbynerd / database.yml
Created August 22, 2011 10:44
PostgreSQL demo database.yml
# PostgreSQL. Versions 7.4 and 8.x are supported.
#
# Install the pg driver:
# gem install pg
# On Mac OS X with macports:
# gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config
# On Windows:
# gem install pg
# Choose the win32 build.
# Install PostgreSQL and put its /bin directory on your path.
http://nyan-mode.buildsomethingamazing.com/
@rxbynerd
rxbynerd / about.md
Created August 9, 2011 14:13 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer
# This should be Markdown'd
install ruby deps from sauce
sudo apt-get install build-essential libssl-dev libreadline5-dev zlib1g-dev
A. Catalogue - form of data store
B. Data flow, catalogue info
C. Lookup "Price" for "StockID" - Process
D. Data flow - StockID
E. Data store - price list
F. Returns "Price"
G. Process - Process payment
H. Re-order file - Data store
# now override it
module Sass
module Version
def version
@@version = {
:major => 3,
:minor => 2,
:teeny => 0,
:name => nil
}
require 'simple_worker'
class EncodePhoto < SimpleWorker::Base
merge_gem 'zencoder'
attr_accessor :photo_id, :unencoded_url
# The run method is what SimpleWorker calls to run your worker
def run
begin

Luke's Languages

KNOWN:

  • Ruby - Hurricane/Tornado/Other assorted
  • Python - Fez
  • C# - NippleCount
  • Java - Halon
  • jQuery - Electriclight auto-updating
  • Node.JS => Express
mount -t tmpfs -o size=768M name where_i_should_mount_it