Default port is 27017. You might have to forward it:
ssh -L 27018:127.0.0.1:27017 [email protected]
To clone the a database:
mongo
Install Rom Toolbox Lite => Performance => Edit build.prop | |
To fix Viber sound | |
From http://forum.xda-developers.com/showthread.php?t=1557988 | |
ro.product.name: GT-i9000 => SGH-i9000 | |
ro.product.model: GT-i9000 => SGH-i9000 | |
To install CM9 | |
ro.product.device "GT-i9000" => "captivate" (or captivatemd, SGH-I896) | |
ro.build.product == "captivate" (or captivatemd, SGH-I896) |
# from http://stackoverflow.com/questions/67699/how-do-i-clone-all-remote-branches-with-git | |
git fetch | |
git branch -a | |
git checkout -b experimental origin/experimental |
sudo emerge wireshark | |
sudo tshark tcp dst port 80 | |
sudo tshark 'tcp dst port 80' -R'http.request.method == "GET"' | |
sudo tcpdump -i lo -s 1024 -l -A port 82 | |
socat -vs UNIX-LISTEN:/tmp/a.sock,reuseaddr UNIX-CONNECT:/var/run/engineyard/unicorn_cirrus.sock | |
tcpdump -s0 dst host api.mixpanel.com |
Default port is 27017. You might have to forward it:
ssh -L 27018:127.0.0.1:27017 [email protected]
To clone the a database:
mongo
# HOW TO ROOT | |
# =========== | |
# From http://www.glassechidna.com.au/products/heimdall/ | |
# NOTE: Heimdall 1.3.2 did not work for me. See https://github.com/Benjamin-Dobell/Heimdall/issues/43 for details | |
wget https://github.com/downloads/Benjamin-Dobell/Heimdall/heimdall_1.3.1_i386.deb | |
sudo dpkg-i heimdall_1.3.1_i386.deb | |
# From http://forum.xda-developers.com/showthread.php?t=1695238 | |
wget http://download.chainfire.eu/196/CF-Root/SGS3/CF-Root-SGS3-v6.4.zip |
export POPPLER_VERSION="0.20.5" | |
wget http://poppler.freedesktop.org/poppler-$POPPLER_VERSION.tar.gz | |
tar xzvf poppler-$POPPLER_VERSION.tar.gz | |
cd poppler-$POPPLER_VERSION/ | |
sudo apt-get install pkg-config libfontconfig1-dev | |
./configure && make | |
echo 'PATH=$HOME/poppler-'$POPPLER_VERSION'/utils:$PATH' >> ~/.bashrc |
# Read the CMDLINE | |
sudo ./rkflashtool r 0x0000 0x2000 > cmdline.txt | |
# RESULT: | |
# PARMWFIRMWARE_VER:4.0.4 | |
# MACHINE_MODEL:MID | |
# MACHINE_ID:007 | |
# MANUFACTURER:RK30SDK | |
# MAGIC: 0x5041524B | |
# ATAG: 0x60000800 |
#!/bin/bash | |
while true | |
do | |
date | |
sudo iotop -o --batch -d 10 -n 2 | tail -n +3 | |
done |
sudo apt-get install git vim terminator tmux aptitude vagrant meld ruby mongodb-server mysql-server redis-server |