Based on http://ruby.railstutorial.org/chapters/a-demo-app
gem install rails
sudo apt-get install nodejs`
Ruby requires a javascript runtime. This is provided by nodejs.
Ruby actor frameword - celluloid celluloid:io | |
Ruby productivity using vim and tmux | |
==================================== | |
http://www.youtube.com/watch?v=vHdiXoHKSgU | |
vim - filesearch ctrlp https://github.com/kien/ctrlp.vim | |
vim - search withi files AG https://github.com/rking/ag.vim |
This installs version 1.8 of tmux: | |
sudo apt-get install libevent-dev libncurses-dev | |
git clone git://git.code.sf.net/p/tmux/tmux-code tmux | |
cd tmux | |
git checkout 1.8 | |
autoreconf -fis | |
./configure | |
make | |
sudo make install |
Based on http://ruby.railstutorial.org/chapters/a-demo-app
gem install rails
sudo apt-get install nodejs`
Ruby requires a javascript runtime. This is provided by nodejs.
/sbin/ifconfig |grep inet|sed 's/\:/ /'|awk '{print $3}'|grep -v 127.0.0 | grep -v :: | tr "\\n" " " | |
1) sudo apt-get install openvpn | |
2) Use Tinyca to create: CA, OpenVPN cert and key and Client cert and key | |
3) Edit /etc/openvpn/server.conf | |
Edit section as follows: | |
# Push routes to the client to allow it | |
# to reach other private subnets behind |
If you get output looking like: | |
ID | |
---------- | |
9.1E+10 | |
then you can set the output width using: set NUMWIDTH 20 | |
ID |
The MBR is stored in the the first 512 bytes of the disk. It consist of 3 parts:
|-----------------------446 bytes bootloader--------------------|------64 bytes partition table-------|-id-|
Based on this guide
Notes:
root / 5iveL!fe
[ansible github] (https://github.com/ansible/ansible)
sudo yum install rpm-build make python2-devel asciidoc python-setuptools PyYAML python-crypto2.6 python-httplib2 python-jinja2 python-keyczar sshpass
git clone git://github.com/ansible/ansible.git
cd ./ansible
git checkout release1.6.2
make rpm