I hereby claim:
- I am thekindofme on github.
- I am thekindofme (https://keybase.io/thekindofme) on keybase.
- I have a public key ASB_zlxQHuk5dvecL1uCLdQsi6NFh3IBtQWnRsHI3vYj4Ao
To claim this, I am signing this object:
{ | |
"options": { | |
"domains": [], | |
"inputIDs": [], | |
"limit": [] | |
}, | |
"templates": [{ | |
"issuetype-field": "", | |
"name": "DEFAULT TEMPLATE", | |
"projects-field": "", |
I hereby claim:
To claim this, I am signing this object:
#!upstart | |
# | |
description "chrome" | |
setuid deploy #run as deploy user | |
start on (net-device-up | |
and local-filesystems | |
and runlevel [2345]) | |
stop on runlevel [016] |
# TODO: verify route with flash team | |
get "certificates/:action/:id/(:points)(/:date)", :controller => :certificates, :as => :certificates | |
get '/diag_menu_scores_student/:user_id' => 'diag_menu_scores_student#index', :as => :diag_menu_scores_student | |
put '/change_arena_level' => 'arena_levels#update', :as => :change_arena_level | |
post '/account_data_store' => 'account_data_stores#create' | |
post '/teacher_data_store' => 'teacher_data_stores#create' | |
post 'add_pre_reading_keyword' => 'pre_reading_exercises#add_keyword', :as => :add_pre_reading_keyword | |
delete 'remove_pre_reading_keyword' => 'pre_reading_exercises#remove_keyword', :as => :remove_pre_reading_keyword |
lastDigit x = x `mod` 10 | |
dropLastDigit x = x `div` 10 | |
--let toDigits x =if x < 10 | |
-- then 0 | |
-- else (toDigits (dropLastDigit x)) ++ [lastDigit x] | |
toDigits :: Integer -> [Integer] | |
toDigits x |
# | |
# Release | |
# | |
git checkout develop | |
git-smart-pull | |
git checkout master | |
git-smart-pull | |
git flow release start 2015.02.23.1 | |
# | |
# bump version |
$ bundle list | |
Gems included by the bundle: | |
* actionmailer (4.0.0) | |
* actionpack (4.0.0) | |
* activemodel (4.0.0) | |
* activerecord (4.0.0) | |
* activerecord-deprecated_finders (1.0.3) | |
* activesupport (4.0.0) | |
* arel (4.0.0) | |
* atomic (1.1.13) |
if condition1 | |
if condition2 | |
do1 | |
else | |
do2 | |
end | |
else | |
if condition2 | |
do3 | |
else |
source 'http://rubygems.org' | |
gem 'rails', '3.1.1' | |
# Bundle edge Rails instead: | |
# gem 'rails', :git => 'git://github.com/rails/rails.git' | |
#gem 'mysql2' | |
gem 'mongo_mapper', '>= 0.9.0' |
#!/bin/bash | |
logger "Trying to start delayed_job" | |
date >> /home/deployer/scripts/log/start_delayed_job.txt | |
rvm_path=/home/deployer/.rvm | |
source "/home/deployer/.rvm/scripts/rvm" | |
cd /home/deployer/inoty | |
/usr/bin/env RAILS_ENV=production /home/deployer/.rvm/rubies/ruby-1.9.2-p0/bin/ruby /home/deployer/inoty/script/delayed_job restart &>> /home/deployer/scripts/log/start_delayed_job.txt |