Skip to content

Instantly share code, notes, and snippets.

@vishu17
vishu17 / gruntfile.js
Created November 23, 2014 11:46
gruntfile config for static sites
module.exports = function (grunt) {
grunt.initConfig({
connect: {
server: {
options: {
directory: '.', //Local dir that the gruntfile resides in
livereload: true,
port: 9001, // Your server will run on http://localhost:9001/
base: '.'
}
@nikcub
nikcub / README.md
Created October 4, 2012 13:06
Facebook PHP Source Code from August 2007
@olivierlacan
olivierlacan / launch_sublime_from_terminal.markdown
Created September 5, 2011 15:50
Launch Sublime Text 2 from the Mac OS X Terminal

Launch Sublime Text 2 from the Mac OS X Terminal

Sublime Text 2 ships with a CLI called subl (why not "sublime", go figure). This utility is hidden in the following folder (assuming you installed Sublime in /Applications like normal folk. If this following line opens Sublime Text for you, then bingo, you're ready.

open /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl

You can find more (official) details about subl here: http://www.sublimetext.com/docs/2/osx_command_line.html

Installation