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
>> ethtool -k eth4 | |
Offload parameters for eth0: | |
rx-checksumming: off | |
tx-checksumming: off | |
scatter-gather: off |
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
>> ifconfig | |
TX packets:187170 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:1000 |
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
# Temporarirly | |
>> ifconfig eth1 txqueuelen 10000 | |
# Permament | |
# Append the following setting per interface | |
>> vi /etc/rc.local | |
/sbin/ifconfig eth1 txqueuelen 10000 |
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
>> git clone https://github.com/sstephenson/rbenv.git ~/.rbenv | |
>> git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build | |
>> rbenv rehash |
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
# Load rbenv | |
>> eval "$(rbenv init -)" |
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
>> rbenv install -l | |
>> rbenv install 1.9.3-p484 |
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
>> rbenv global 1.9.3-p484 |
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
>> gem install bundler |
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
function parse_git_branch { | |
ref=$(git symbolic-ref HEAD 2> /dev/null) || return | |
ref=${ref#refs/heads/} | |
unpushed=$(git log -- origin/$ref..$ref 2> /dev/null) || return | |
if [ "$unpushed" ]; then | |
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
function parse_git_branch { | |
ref=$(git symbolic-ref HEAD 2> /dev/null) || return | |
ref=${ref#refs/heads/} | |
unpushed=$(git log -- origin/$ref..$ref 2> /dev/null) || return | |
if [ "$unpushed" ]; then |