This file contains 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
#require "bundler/capistrano" | |
require "rvm/capistrano" | |
# General | |
set :application, "test_capistrano" | |
set :domain, "test_capistrano.mxt.com.br" | |
set :user, "mxt" | |
set :runner, "mxt" | |
set :use_sudo, false | |
set :deploy_to, "/home/mxt/rails/#{application}" |
This file contains 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
# Open 'myfile' and go to line 123 | |
vim myfile +123 |
This file contains 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
# UBI mount | |
# source: | |
# http://mytechrants.wordpress.com/2010/01/20/ubiubifs-on-nandsim/ | |
# http://www.plugcomputer.org/plugwiki/index.php/Enabling_UBIFS | |
modprobe nandsim first_id_byte=0x20 second_id_byte=0xaa third_id_byte=0x00 fourth_id_byte=0x15 | |
cat /proc/mtd | |
ubiformat /dev/mtd0 -f system.ubi | |
modprobe ubi mtd=0 |
This file contains 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
Simply run: | |
python -m SimpleHTTPServer |
NewerOlder