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
# Something |
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
service name do | |
start_command "python #{app_path}/runner.py start" | |
stop_command "python #{app_path}/runner.py stop" | |
restart_command "python #{app_path}/runner.py stop" | |
end | |
application name do | |
environment_name node['environment_name'] | |
repository "git@github.com:shutl/#{name}.git" |
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
;; peepopen.el --- Graphical file chooser for Emacs on Mac OS X. | |
;; Copyright (C) 2010 Topfunky Corporation <http://peepcode.com> | |
;; Licensed under the same terms as Emacs. | |
;; Version: 0.1.0 | |
;; Keywords: textmate osx mac | |
;; Created: 8 April 2010 | |
;; Author: Geoffrey Grosenbach <boss@topfunky.com> |
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
autocompleteApp = angular.module "autocompleteApp", [] | |
autocompleteApp.controller "AutocompleteCtrl", ["$scope", ($scope) -> | |
$scope.results = ["one", "two", "three"] | |
] |
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
autocompleteApp = angular.module "autocompleteApp", [] | |
autocompleteApp.controller "AutocompleteCtrl", ["$scope", ($scope) -> | |
$scope.results = ["one", "two", "three"] | |
] |
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
def guid | |
'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.gsub(/[xy]/) do |c| | |
r = (rand()*16).floor; v = c == 'x' ? r : (r&0x3|0x8); | |
v.to_s(16) | |
end | |
end |
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
(function (){ | |
function vScroll (el, options) { | |
var that = this, doc = document; | |
that.wrapper = $(el); | |
that.wrapper.style.overflow = 'hidden'; | |
that.scroller = new vScroller(el, options); |