Skip to content

Instantly share code, notes, and snippets.

@otaq
otaq / scrum-does-not-work-here-in-asia.md
Created July 6, 2018 07:28
Scrum does not work here in Asia

Original
Wayback Machine

Scrum does not work here in Asia

I was having a chat over coffee about Scrum and Agile with an Agile Coach who works for Australia’s largest Bank at a local cafe. One of the topic we discussed was Agility and Scrum adoption in Asia. He is wondering whether there are any Asian Banks who are Agile from end-to-end — that is from the high-level management level down to the staff level. He wants to compare the level of maturity of Scrum adoption in these Asian Banks to the Bank he is currently working for. The Bank he is currently working for is opening several branches in South East Asian countries therefore the management have asked him to fly to South East Asia to introduce Scrum and Agility to the local managers. However he has faced resistance from the loc

@otaq
otaq / migrate_postgresql_database.md
Created October 17, 2017 23:14 — forked from olivierlacan/migrate_postgresql_database.md
How to migrate a Homebrew-installed PostgreSQL database to a new major version (9.3 to 9.4) on OS X

This guide assumes that you recently run brew upgrade postgresql and discovered to your dismay that you accidentally bumped from one major version to another: say 9.3.x to 9.4.x. Yes, that is a major version bump in PG land.

First let's check something.

brew info postgresql

The top of what gets printed as a result is the most important:

@otaq
otaq / CSS3 Media Queries Template
Created April 18, 2016 02:53
CSS3 Media Queries template
/*
* Author: http://stuffandnonsense.co.uk/blog/about/hardboiled_css3_media_queries/
*/
/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
/* Styles */
}
@otaq
otaq / gist:a5bd456c741b99228610
Created February 22, 2016 06:29 — forked from ryansobol/gist:5252653
15 Questions to Ask During a Ruby Interview

Originally published in June 2008

When hiring Ruby on Rails programmers, knowing the right questions to ask during an interview was a real challenge for me at first. In 30 minutes or less, it's difficult to get a solid read on a candidate's skill set without looking at code they've previously written. And in the corporate/enterprise world, I often don't have access to their previous work.

To ensure we hired competent ruby developers at my last job, I created a list of 15 ruby questions -- a ruby measuring stick if you will -- to select the cream of the crop that walked through our doors.

What to expect

Candidates will typically give you a range of responses based on their experience and personality. So it's up to you to decide the correctness of their answer.

Keybase proof

I hereby claim:

  • I am otaq on github.
  • I am otaq (https://keybase.io/otaq) on keybase.
  • I have a public key whose fingerprint is 1880 8BDD 2A7B 6793 318F 3D62 22D5 8EEA 0390 ED0C

To claim this, I am signing this object:

@otaq
otaq / 0_reuse_code.js
Last active August 29, 2015 14:10
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
#!/bin/sh
#
# CloudFlare Dynamic DNS
#
# Updates CloudFlare records with the current public IP address
#
# Takes the same basic arguments as A/CNAME updates in the CloudFlare API
# https://www.cloudflare.com/docs/client-api.html#s5.2
#
# Use with cron jobs etc.
@otaq
otaq / sudo.sh
Created June 19, 2014 00:40
sudo: npm: command not found
alias sudo='sudo env PATH=$PATH'
# lib/tasks/deploy.rake
namespace :deploy do
desc 'Deploy to staging environment'
task :staging do
exec 'mina deploy -f config/deploy/staging.rb'
end
end
guard 'rails', :port => 5000 do
watch('Gemfile.lock')
# watch(%r{^(config|lib)/.*})
# watch('spec/spec_helper.rb')
watch('config/routes.rb')
# watch('app/controllers/application_controller.rb')
# watch(%r{^spec/.+_spec\.rb})
# watch(%r{^app/(.+)\.rb})
watch(%r{^app/models/(.+)\.rb})
# watch(%r{^lib/(.+)\.rb})