POST /oauth/token HTTP/1.1
Content-Type: application/json
{
"grant_type": "password",
"client_id": "CLIENT_ID",
"owner_type": "OWNER_TYPE",
"username": "OWNER_EMAIL",
"password": "OWNER_PASSWORD"| #!/bin/bash | |
| echo "WARN: This will remove everything from docker: volumes, containers and images. Will you dare? [y/N] " | |
| read choice | |
| if [ \( "$choice" == "y" \) -o \( "$choice" == "Y" \) ] | |
| then | |
| sudo echo "> sudo rights [OK]" | |
| sizea=`sudo du -sh /var/lib/docker/aufs` |
| sudo apt-get update | |
| sudo apt-get install -y libevent-dev libncurses-dev make | |
| wget https://github.com/tmux/tmux/releases/download/2.2/tmux-2.2.tar.gz | |
| tar xvzf tmux-2.2.tar.gz | |
| cd tmux-2.2/ | |
| ./configure && make | |
| sudo make install |
| # Steps to build and install tmux from source. | |
| # Takes < 25 seconds on EC2 env [even on a low-end config instance]. | |
| VERSION=2.7 | |
| sudo yum -y remove tmux | |
| sudo yum -y install wget tar libevent-devel ncurses-devel | |
| wget https://github.com/tmux/tmux/releases/download/${VERSION}/tmux-${VERSION}.tar.gz | |
| tar xzf tmux-${VERSION}.tar.gz | |
| rm -f tmux-${VERSION}.tar.gz | |
| cd tmux-${VERSION} |
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.
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.
As configured in my dotfiles.
start new:
tmux
start new with session name: