View this code at http://livecoding.io/5845125
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
# Assuming that you have followed all the instructions from https://github.com/rumblelabs/asset_sync | |
# Put this in your deployment script | |
# Choose any environment here the important part is that your environment is using the same bucket for all environments | |
# than you only need to precompile assets once | |
RAILS_ENV=staging bundle exec rake assets:precompile | |
# You need to set git credentials otherwise it won't be able to commit | |
git config --global user.email "[email protected]" | |
git config --global user.name "Codeship Server" | |
# Add your manifest file so that rails can find digested version of files |
View this code at http://livecoding.io/5814042
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
-- Based on http://www.codenauts.com/blog/2011/3/1/importing-activities-from-omnifocus-or-things-to-pomodoro-ap.html and http://forums.omnigroup.com/showpost.php?p=55309&postcount=22 | |
-- Gets selected tasks or flagged tasks and copies them to ~/Dropbox/Pomodoro/tasks.json | |
tell application "OmniFocus" | |
-- CONSTANTS change them if you like | |
set UserHome to (POSIX path of (path to home folder)) as string | |
set JSONfilename to UserHome & "Dropbox/Pomodoro/tasks.json" as string | |
set JSONpattern to UserHome & "Dropbox/Pomodoro/*.json" as string | |
set onePomodoroIsMinutes to 25 | |
set estimateItems to {} |
NewerOlder