Skip to content

Instantly share code, notes, and snippets.


yaojie causztic

View GitHub Profile
View slim-html5-boilerplate
doctype html
/[if lt IE 7] lang="en"
/[if IE 7] lang="en"
/[if IE 8] lang="en"
/[if gte IE 8] lang="en"
causztic / clockwork.rb
Last active Dec 18, 2019 — forked from rogercampos/clockwork.rb
Capistrano running clockwork as daemon with upstart
View clockwork.rb
after "deploy:stop", "clockwork:stop"
after "deploy:start", "clockwork:start"
after "deploy:restart", "clockwork:restart"
set :clockwork_roles, :blabla
set :cw_log_file, "#{current_path}/log/clockwork.log"
set :cw_pid_file, "#{current_path}/tmp/pids/"
set :rails_env, ENV['rails_env'] || ''
namespace :clockwork do
You can’t perform that action at this time.