Skip to content

Instantly share code, notes, and snippets.

Avatar

yaojie causztic

View GitHub Profile
View slim-html5-boilerplate
doctype html
/[if lt IE 7]
html.no-js.ie6.oldie lang="en"
/[if IE 7]
html.no-js.ie7.oldie lang="en"
/[if IE 8]
html.no-js.ie8.oldie lang="en"
/[if gte IE 8]
html.no-js lang="en"
head
@causztic
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/clockwork.pid"
set :rails_env, ENV['rails_env'] || ''
namespace :clockwork do
You can’t perform that action at this time.