Skip to content

Instantly share code, notes, and snippets.

View rxbynerd's full-sized avatar

@rubynerd rxbynerd

View GitHub Profile
@rxbynerd
rxbynerd / about.md
Created August 9, 2011 14:13 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer
http://nyan-mode.buildsomethingamazing.com/
@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.
pretty colour code for headers
#474747
#!/usr/local/bin/ruby
# Creates a new repo called ARGV[0]
@args = ARGV
@args.each_with_index{|o,i| puts "#{i} : #{o}"}
if not @args[1] =~ /(private|public)/
puts "invalid arguments: #{@args.inspect}"
exit(1)

sections

  • statement of the problem
  • prospective users
  • interview/questions
  • Existing system
  • Problems with the existing system
  • Requirements for the new system
  • Example documents
  • DFD
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
int main (int argc, char* argv[]) {
if (argc < 2) {
printf("Needs an argument\n");
exit(1);
}
http://commondatastorage.googleapis.com/chromium-browser-continuous/index.html

This is a heading

This is a smaller heading

This is an even smaller heading

This is some normal text.

this is some empathized text

namespace :db do
desc "do active_record migrations"
task :migrate do
ActiveRecord::Base.logger = Logger.new(STDOUT)
ActiveRecord::Migration.verbose = true
ActiveRecord::Migrator.migrate("migrations")
end
end