Skip to content

Instantly share code, notes, and snippets.

View endSly's full-sized avatar

Endika Gutiérrez endSly

View GitHub Profile
@endSly
endSly / brew-java-and-jenv.md
Created November 8, 2016 12:46 — forked from tomysmile/brew-java-and-jenv.md
How To Install Java 8 on Mac

Install HomeBrew first

brew update
brew tap caskroom/cask
brew install brew-cask

If you get the error "already installed", follow the instructions to unlink it, then install again:

#!/usr/bin/env ruby
require 'english'
require 'rubocop'
ADDED_OR_MODIFIED = /A|AM|^M/.freeze
changed_files = `git status --porcelain`.split(/\n/).
select { |file_name_with_status|
file_name_with_status =~ ADDED_OR_MODIFIED
@endSly
endSly / Gemfile
Created January 9, 2014 14:54 — forked from fairchild/Gemfile
Sinatra app + Omniauth example
source :rubygems
gem 'sinatra'
gem 'json'
gem 'omniauth'
gem 'omniauth-oauth2'
gem 'omniauth-github'
# gem 'omniauth-att', :path => File.expand_path("./../../omniauth-att", __FILE__)
gem 'thin'