Skip to content

Instantly share code, notes, and snippets.

@therippa
therippa / gist:3d0cccd5a86bf49d19a6c8afc8c3cb18
Last active February 2, 2018 05:51
OSX Sierra/High Sierra nano with syntax-highlighting and linenumbers
brew tap homebrew/dupes
brew install nano
echo "include /usr/local/share/nano/*.nanorc" > ~/.nanorc && echo "set linenumbers" >> ~/.nanorc
require 'rubygems'
require 'mechanize'
FIRST_NAME = 'FIRST_NAME'
LAST_NAME = 'LAST_NAME'
PHONE = 'PHONE'
EMAIL = 'EMAIL@provider.com'
PARTY_SIZE = 2
SCHEDULE_RANGE = { :start_time => '19:00', :end_time => '20:30' }
require 'rubygems'
require 'mechanize'
FIRST_NAME = 'Albert'
LAST_NAME = 'Taruc'
PHONE = '555-555-5555'
EMAIL = 'emails@email.com'
PARTY_SIZE = 2
SCHEDULE_RANGE = { :start_time => '19:00', :end_time => '20:30' }