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
JZMBP13: ~/37s/apps/bc3 (master) $ cap production deploy:pending | |
* 2017-04-18 13:38:40 executing `production' | |
** Deployment target: production_sc_chi | |
** Deployment target: production_rw_ash | |
triggering after callbacks for `production' | |
* 2017-04-18 13:38:40 executing `load_deployment_roles' | |
triggering start callbacks for `deploy:pending' | |
* 2017-04-18 13:38:40 executing `multistage:ensure' | |
* 2017-04-18 13:38:40 executing `deploy:pending' | |
* executing "cat /u/apps/bc3/current/REVISION" |
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
resizeDialogToSheet = (callback) -> | |
setTimeout -> | |
$("#new_project_dialog > article.new").transition | |
width: 900, | |
height: 900, | |
margin: "90px auto" | |
, | |
duration: 600, | |
timing: "ease-in-out", | |
complete: callback |
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
div.pages { | |
margin: 0 auto; | |
width: 960px; | |
position: relative; | |
} | |
div.page { | |
height: auto; | |
position: relative; | |
margin: 0; |
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 set_window_and_tab_title | |
{ | |
local title="$1" | |
if [[ -z "$title" ]]; then | |
title="root" | |
fi | |
local tmpdir=~/Library/Caches/${FUNCNAME}_temp | |
local cmdfile="$tmpdir/$title" |
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 config push.default current |
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 format_entry_date(date, format) | |
case format | |
when "human" | |
date.strftime("%b %d, %Y").gsub(/ 0(\d\D)/, ' \1') | |
when "machine" | |
date.strftime("%Y-%m-%d") | |
end | |
end |