This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# This script exports your public keys from ssh keyring and saves it in ~/.ssh/pub | |
# with the name. This makes it easy to avoid brute forcing all key in the agent | |
[[ -e $HOME/.ssh/pub ]] || mkdir $HOME/.ssh/pub | |
while read -r line | |
do | |
FILENAME=$(echo $line | awk '{print $3}') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# set hitory limit | |
set -g history-limit 1000 | |
# (r) Reload source file | |
bind-key r source-file ~/.tmux.conf | |
# clear console history | |
bind -n C-k send-keys -R \; clear-history | |
# use 256 term for pretty colors |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { | |
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important | |
} | |
body header#header { | |
height: 56px !important; | |
box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24); | |
transition: all .3s cubic-bezier(.25, .8, .25, 1) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
up: (queryInterface, Sequelize) => { | |
return queryInterface.sequelize.transaction((t) => { | |
return Promise.all([ | |
queryInterface.addColumn('table_name', 'column_name1', { | |
type: Sequelize.STRING | |
}, { transaction: t }), | |
queryInterface.addColumn('table_name', 'column_name2', { | |
type: Sequelize.STRING, | |
}, { transaction: t }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pre-requisites | |
sudo apt-get install build-essential libreadline-dev libssl-dev zlib1g-dev libxml2-dev libxslt-dev git libpq-dev libmysqlclient-dev libpq-dev nodejs libcurl4-openssl-dev libffi-dev imagemagick libjpeg-progs pngcrush | |
############optional | |
sudo apt-get install vim zsh | |
######### optional for jruby | |
sudo apt-get install openjdk-7-jdk | |