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
#!/bin/sh | |
read oldrev newrev refname | |
LOGFILE=./post-receive.log | |
DEPLOYDIR=/var/www/lineman/project | |
echo -e "Received Push Request a $( date +%F )" >> $LOGFILE | |
echo " - Old SHA: $oldrev New SHA: $newrev Branch Name: $refname" >> $LOGFILE |
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
serpIQ.factory('UserAccount', ['$resource', '$timeout', function($resource, $timeout) { | |
var userResource = $resource('/users/account', {}, {}); | |
var accountInfo = {}; | |
(function pollStatus() { | |
userResource.get({}, function(response){ | |
accountInfo.foo = { | |
plan: response.plan, |
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
RAILS_ENV=production | |
RAILS_ROOT=/srv/http/ruby/thin | |
CMD="/srv/http/.rvm/gems/ruby-1.9.3-p194/bin/thin start -C current/config/thin.yml" |
NewerOlder