Skip to content

Instantly share code, notes, and snippets.

View nicholalexander's full-sized avatar
👋
working

nichol alexander nicholalexander

👋
working
View GitHub Profile
@staltz
staltz / introrx.md
Last active September 20, 2024 10:10
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]
@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)