ssh access
cat ~/.ssh/id_rsa.pub | ssh root@HOST "cat >> ~/.ssh/authorized_keys"
YOU ARE THE REASON
Misplaced Lens Cap
Monterey Bay Aquarium
Sade Olutola

blake kathryn
ojovivo

izzy's playlists!
almost home
RMH

tannertan36

oozey mess

ellievsbear
NASA
No title available
wallacepolsom
"I'm Dorothy Gale from Kansas"
No title available
Today's Document

#extradirty
$LAYYYTER

seen from Iraq

seen from Iraq

seen from United Kingdom
seen from United States

seen from United States

seen from United States
seen from United States

seen from India

seen from China
seen from Germany

seen from United States

seen from Australia

seen from United States

seen from India
seen from United States

seen from United States

seen from Iraq
seen from United States

seen from Israel
seen from Australia
@recipecode-blog
ssh access
cat ~/.ssh/id_rsa.pub | ssh root@HOST "cat >> ~/.ssh/authorized_keys"
Fix locales
* No PostgreSQL clusters exist; see "man pg_createcluster"
perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_PAPER = "uk_UA.UTF-8", LC_ADDRESS = "uk_UA.UTF-8", LC_MONETARY = "uk_UA.UTF-8", LC_NUMERIC = "uk_UA.UTF-8", LC_TELEPHONE = "uk_UA.UTF-8", LC_IDENTIFICATION = "uk_UA.UTF-8", LC_MEASUREMENT = "uk_UA.UTF-8", LC_TIME = "uk_UA.UTF-8", LC_NAME = "uk_UA.UTF-8", LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). Error: The locale requested by the environment is invalid.
export LANGUAGE=en_US.UTF-8 export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8 locale-gen en_US.UTF-8 sudo dpkg-reconfigure locales
sudo pg_createcluster 9.3 main --start
How to remove remote branch
git push origin :remote_branch
Remove item from array in javascript
var arr = [{a: 1}, {b: 2}, {c: 3}];
arr.splice(0, 1); # <= [{b: 2}, {c: 3}];
add ssh-key to remote host
ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host
Colorize git status
git config --global color.ui auto
Edit commit message
git commit --amend -m "New commit message"
Rollback all migrations
rake db:migrate VERSION=0
Find commit by message
git log -g --grep='range'
Show changed files between commits or branches
git diff --name-only HEAD SHA1
Restart passenger nginx
/usr/local/nginx/sbin/nginx -t /usr/local/nginx/sbin/nginx -s reload
Installing composer into project
curl -sS https://getcomposer.org/installer | php
Find a replace in nano
Ctrl + \ find and replace in nano
How to exclude file and not adding to .gitignore
echo "file_to_exclue" >> .git/info/exclude
How to use meld as default difftool
git config --global diff.tool meld
Remove unexisting file in git
git rm --cached <added_file_to_undo>
Remove remote branch
git branch -d -r origin/release_2014_10_09_cookie_hotfix