Skip to content

Instantly share code, notes, and snippets.

View elizabrock's full-sized avatar

Eliza Brock Marcum elizabrock

View GitHub Profile
@dhh
dhh / Gemfile
Created June 24, 2020 22:23
HEY's Gemfile
ruby '2.7.1'
gem 'rails', github: 'rails/rails'
gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data
# Action Text
gem 'actiontext', github: 'basecamp/actiontext', ref: 'okra'
gem 'okra', github: 'basecamp/okra'
# Drivers
@pedrogpimenta
pedrogpimenta / convert sass to scss
Created April 11, 2014 16:51
Convert SASS to SCSS and delete .sass files (applies to all files in current folder)
sass-convert -R ./ -F sass -T scss && rm *.sass
@weimeng
weimeng / spec_helper.rb
Last active December 21, 2015 10:09
If you're using Coveralls, you don't need to wait for your CI to push coverage results to Coveralls.io! Just set an additional SimpleCov formatter to output the coverage files locally. Don't forget to add `/coverage` to `.gitignore`.
require 'simplecov'
require 'coveralls'
require 'codeclimate-test-reporter'
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
Coveralls::SimpleCov::Formatter,
SimpleCov::Formatter::HTMLFormatter,
CodeClimate::TestReporter::Formatter
]
SimpleCov.start 'rails'
@napcs
napcs / video.md
Created September 8, 2012 16:25
Video project

Intro to Programming video

I want to make a video to show my class of would-be IT people. If you write code, would you send me a video clip (webcam, less than 30s) with the following?

  • Introduce yourself (name, where you work)
  • Why you love what you do
  • Why you love open-source software (optional, but would be super helpful)

Email the clip (or a link I can download the clip) to bphogan at gmail and be sure to include your Twitter username so I can add that on your clip.

@fadhlirahim
fadhlirahim / Gemfile
Created November 4, 2011 04:09 — forked from mattheworiordan/Gemfile
Test PDF within Cucumber and Capybara
# normal Gem dependancy declarations
# ...
group :test, :cucumber do
gem 'pdf-reader'
end
@RobertAudi
RobertAudi / .rvmrc
Created February 15, 2011 22:42 — forked from wayneeseguin/0_notes.txt
RVM Project Environment done the right way
#!/usr/bin/env bash
# This is an RVM Project .rvmrc file, used to automatically load the ruby
# development environment upon cd'ing into the directory
# First we specify our desired <ruby>[@<gemset>], the @gemset name is optional.
environment_id="ruby-1.9.2-p136"
#
# First we attempt to load the desired environment directly from the environment