Skip to content

Instantly share code, notes, and snippets.

@Maxim-Filimonov
Maxim-Filimonov / Codeship deployment script
Last active July 19, 2016 02:38
Precompile assets on codeship
# 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
@Maxim-Filimonov
Maxim-Filimonov / Selected Or Flagged OmniFocus tasks to Pomodoro iPad.scpt
Created February 8, 2012 12:48 — forked from Zettt/OmniFocus tasks to Pomodoro iPad.scpt
Copies selected or flagged tasks in Omnifocus to pomodoro app on ipad
-- 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 {}