⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git clone github:lenary/guides.git | |
Cloning into guides... | |
remote: Counting objects: 255, done. | |
remote: Compressing objects: 100% (216/216), done. | |
remote: Total 255 (delta 111), reused 163 (delta 35) | |
Receiving objects: 100% (255/255), 1.49 MiB | 564 KiB/s, done. | |
Resolving deltas: 100% (111/111), done. | |
$ cd guides | |
$ git remote -v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Configuration management | |
https://github.com/travisjeffery/ninja-config/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" ========================= | |
" _ __(_)__ _ ________ | |
" _| |/ / // ' \/ __/ __/ | |
" (_)___/_//_/_/_/_/ \__/ | |
" ========================= | |
" Author: stardiviner ( numbchild at gmail dot com ) | |
" [[ vim Settings ]] {{{2 | |
" :echo $MYVIMRC | |
set nocompatible " not vim compatible. must be first one, will affect other options. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from fabric.api import abort, cd, env, get, hide, hosts, local, prompt, parallel, serial | |
from fabric.api import put, require, roles, run, runs_once, settings, show, sudo, warn | |
from fabric.colors import red, green, blue, cyan, magenta, white, yellow | |
try: | |
from boto.s3.connection import S3Connection | |
from boto.s3.key import Key | |
except ImportError: | |
print " ---> Boto not installed yet. No S3 connections available." | |
from fabric.contrib import django | |
import os, sys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
Fabfile template for deploying django apps on webfaction using gunicorn, | |
and supervisor. | |
""" | |
from fabric.api import * | |
from fabric.contrib.files import upload_template, exists, append | |
import xmlrpclib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// =========================================================================== | |
// About Me. | |
// =========================================================================== | |
var cowboy = { | |
name: "Ben Alman", | |
url: "http://benalman.com/", | |
twitter: "@cowboy", | |
github: "cowboy", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
everyauth.password | |
.respondToLoginSucceed( function (res, user) { | |
if (user) { /* Then the login was successful */ | |
res.json({ success: true }, 200); | |
} | |
}) | |
.respondToLoginFail( function (req, res, errors, login) { | |
if (!errors || !errors.length) return; | |
return res.json({ success: false, errors: errors }); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name" : "angle", | |
"version" : "0.0.1", | |
"description" : "A supervisor program for running nodejs programs", | |
"author" : "Vishwas Sharma", | |
"dependencies": { | |
"express": "2.5.8", | |
"jade" : "0.26.0" | |
} | |
} |
OlderNewer