Skip to content

Instantly share code, notes, and snippets.

View ccollins's full-sized avatar

Chuck Collins ccollins

  • Duco
  • Nashville, TN
View GitHub Profile
@codealchemy
codealchemy / pg_api_docker_template.rb
Last active September 7, 2018 18:56
Basic Rails API template with Docker
remove_file "Gemfile"
run "touch Gemfile"
add_source 'https://rubygems.org'
gem 'bootsnap', require: false
gem "health_check"
gem 'rails', '~> 5.2'
gem 'puma'
gem 'pg'
@burke
burke / 0-readme.md
Created January 27, 2012 13:44 — forked from funny-falcon/cumulative_performance.patch
ruby-1.9.3-p327 cumulative performance patch for rbenv

ruby-1.9.3-p327 cumulative performance patch for rbenv

This installs a patched ruby 1.9.3-p327 with various performance improvements and a backported COW-friendly GC, all courtesy of funny-falcon.

Requirements

You will also need a C Compiler. If you're on Linux, you probably already have one or know how to install one. On OS X, you should install XCode, and brew install autoconf using homebrew.

@ccollins
ccollins / hack
Created August 7, 2010 17:49 — forked from ymendel/hack
#!/bin/sh
BRANCHES=`git branch`
if [ $? != 0 ]; then
exit
fi
GIT_SVN=0
git branch -r | grep 'git-svn' > /dev/null
if [ $? = 0 ]; then
GIT_SVN=1