Skip to content

Instantly share code, notes, and snippets.

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

Michael van den Berg michaelvandenberg

🏠
Working from home
View GitHub Profile
@michaelvandenberg
michaelvandenberg / sublime-command-line.md
Created October 6, 2016 19:13 — forked from clauddiu/sublime-command-line.md
launch sublime text from the command line

Launch Sublime Text from the command line on OSX

Sublime Text includes a command line tool, subl, to work with files on the command line. This can be used to open files and projects in Sublime Text, as well working as an EDITOR for unix tools, such as git and subversion.

Requirements

  • Sublime text 2 or 3 installed in your system within Applications folder

Setup

//Constructor
var Person = function (name, age){
//private properties
var priv = {};
//Public properties
this.name = name;
this.age = age;
//Public methods