Skip to content

Instantly share code, notes, and snippets.

View thekindofme's full-sized avatar

Yasith Fernando thekindofme

View GitHub Profile
@thekindofme
thekindofme / gist:8590eb979e7b481e94bf
Last active October 6, 2015 04:26
Production Release/Hotfix Steps for app and www
#
# Release
#
git checkout develop
git-smart-pull
git checkout master
git-smart-pull
git flow release start 2015.02.23.1
#
# bump version
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
@thekindofme
thekindofme / gist:e06676ec9b657e3aa7d5
Last active August 29, 2015 14:12
Routes to be verified with the Flash team
# 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
@thekindofme
thekindofme / chrome.conf
Last active August 29, 2015 14:16
Ubuntu upstart script for headless Chrome
#!upstart
#
description "chrome"
setuid deploy #run as deploy user
start on (net-device-up
and local-filesystems
and runlevel [2345])
stop on runlevel [016]

Keybase proof

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:

@thekindofme
thekindofme / JIRA_templates.json
Last active August 14, 2019 07:03 — forked from hoangtrvu/JIRA_templates.json
JIRA Issue Template
{
"options": {
"domains": [],
"inputIDs": [],
"limit": []
},
"templates": [{
"issuetype-field": "",
"name": "DEFAULT TEMPLATE",
"projects-field": "",