⌘ | command |
⌥ | option |
⌃ | control |
⇧ | shift |
{ | |
"sublimelinter": true, | |
"sublimelinter_executable_map": | |
{ | |
"php":"/usr/local/bin/php", | |
"css":"/usr/local/bin/node", | |
"html":"/usr/local/bin/tidy", | |
"js":"/usr/local/bin/node" | |
}, | |
"sublimelinter_popup_errors_on_save": true, |
'use strict'; | |
module.exports = function(grunt) { | |
grunt.initConfig({ | |
// jshint | |
jshint: { | |
options: { | |
jshintrc: '.jshintrc' | |
}, | |
all: [ |
git config --global core.editor "subl -n -w" | |
git config --global core.editor "vim" |
Create the repository on GitHub/Bitbucket. Once created, clone the created repository to your local machine using:
git clone git@github.com:username/repository.git
CD into the repository folder and run the init command to enable to hub flow tools:
cd repo_name
Requires:
-
Homebrew (http://mxcl.github.io/homebrew/)
-
Ruby
Verify Homebrew is not sick:
brew doctor
As configured in my dotfiles.
start new:
tmux
start new with session name:
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
error: function(jqXHR, textStatus, errorThrown) { | |
console.log('============='); | |
console.log(arguments); | |
alert('HTTP Error: '+errorThrown+' | Error Message: '+textStatus); | |
console.log('============='); | |
}, |
$ ngrok -subdomain=example 80 |