This file contains hidden or 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
@import "syntax-variables"; | |
atom-text-editor::shadow { | |
// Make invisible characters the same color as the background, and | |
// explicitly set the box-shadow color for indent guides (otherwise they | |
// will be invisible too). | |
.invisible-character { | |
color: @syntax-background-color; | |
&.indent-guide { |
This file contains hidden or 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
#!/usr/bin/env python | |
import os | |
import tornado.web | |
from tornado.ioloop import IOLoop | |
from tornado.options import define, options | |
# config options | |
define('port', default=8080, type=int, help='port to run web server on') | |
define('debug', default=False, help='start app in debug mode') | |
options.parse_command_line(final=True) |
This file contains hidden or 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
#!/usr/bin/env ruby | |
# Xcode auto-versioning script for Subversion by Axel Andersson | |
# Updated for git by Marcus S. Zarra and Matt Long | |
# Converted to ruby by Abizer Nasir | |
# Appends the git sha to the version number set in Xcode. | |
# see http://www.stompy.org/2008/08/14/xcode-and-git-another-build-script/ for more details | |
git = `sh /etc/profile; which git`.chomp | |
sha = `#{git} rev-parse --short HEAD`.chomp |
This file contains hidden or 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
function get_git_branch { | |
git branch | awk '/^\*/ { print $2 }' | |
} | |
function get_git_dirty { | |
git diff --quiet || echo '*' | |
} | |
function get_git_prompt { | |
git branch &> /dev/null || return 1 | |
echo "[$(get_git_branch)$(get_git_dirty)] " | |
} |