Skip to content

Instantly share code, notes, and snippets.

View nicholalexander's full-sized avatar

nichol alexander nicholalexander

View GitHub Profile
@staltz
staltz / introrx.md
Last active April 25, 2024 04:18
The introduction to Reactive Programming you've been missing
@fijimunkii
fijimunkii / 3.2.14_kickhash_template.rb
Last active October 4, 2017 18:24
rails: 3.2.14 generator
# README
# pass in this file when creating a rails project
#
# for example:
# rails _3.2.14_ new awesome_app -T -d postgresql -m ~/.kickhash_template.rb
remove_file "README.rdoc"
create_file "README.md", "TODO"
gem_group :development, :test do

Installing Tools

  1. [HipChat][hipchat]
  • [Upgrade to OS X Mountain Lion][osx]
  • [Xcode][xcode]
    1. Xcode Command Line Tools
  • [Google Chrome][chrome]
  • [Install Homebrew][brew]
    • Then: brew install git rbenv ruby-build rbenv-gem-rehash postgres
  • [Install Ruby + Rails]
@malarkey
malarkey / Contract Killer 3.md
Last active April 16, 2024 21:44
The latest version of my ‘killer contract’ for web designers and developers

When times get tough and people get nasty, you’ll need more than a killer smile. You’ll need a killer contract.

Used by 1000s of designers and developers Clarify what’s expected on both sides Helps build great relationships between you and your clients Plain and simple, no legal jargon Customisable to suit your business Used on countless web projects since 2008

…………………………

@Integralist
Integralist / web-server.rb
Created June 3, 2012 10:16
Create basic Web Server in Ruby (using WEBrick)
#!/usr/bin/env ruby
require "webrick"
=begin
WEBrick is a Ruby library that makes it easy to build an HTTP server with Ruby.
It comes with most installations of Ruby by default (it’s part of the standard library),
so you can usually create a basic web/HTTP server with only several lines of code.
The following code creates a generic WEBrick server on the local machine on port 1234,
@steveclarke
steveclarke / capybara.md
Created April 10, 2012 17:32
RSpec Matchers

Capybara

save_and_open_page

Matchers

have_button(locator)