Skip to content

Instantly share code, notes, and snippets.

View abepetrillo's full-sized avatar
🏠
Working from home

Abraham Petrillo abepetrillo

🏠
Working from home
View GitHub Profile
input = [
'Writing Fast Tests Against Enterprise Rails 60min, Overdoing it in Python 45min',
'Lua for the Masses 30min',
'Ruby Errors from Mismatched Gem Versions 45min',
'Common Ruby Errors 45min',
'Rails for Python Developers lightning',
'Communicating Over Distance 60min',
'Accounting-Driven Development 45min',
'Woah 30min',
'Sit Down and Write 30min',
@abepetrillo
abepetrillo / gist:91b9a6f61ad9fde864b5f7c002ea493b
Created September 22, 2016 20:22 — forked from chrissimpkins/gist:5bf5686bae86b8129bee
Atom Editor Cheat Sheet (Sweetmeat)

Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.

Key to the Keys

  • ⌘ : Command key
  • ⌃ : Control key
  • ⌫ : Delete key
  • ← : Left arrow key
  • → : Right arrow key
  • ↑ : Up arrow key
require 'sinatra'
require 'action_mailer'
class Mailer < ActionMailer::Base
def contact
mail(
:to => "test@example.com",
:from => "test@example.com",
:subject => "Test") do |format|
format.text
RED="\[\033[0;31m\]"
YELLOW="\[\033[0;33m\]"
GREEN="\[\033[0;32m\]"
BLUE="\[\033[0;34m\]"
LIGHT_RED="\[\033[1;31m\]"
LIGHT_GREEN="\[\033[1;32m\]"
WHITE="\[\033[1;37m\]"
LIGHT_GRAY="\[\033[0;37m\]"
COLOR_NONE="\[\e[0m\]"