Eric Steven Raymond, Thyrsus Enterprises, < [email protected] >
Rick Moen, < [email protected] >
翻译:柯非, < [email protected] >
这篇译文基于2014.05.21更新的原文修订版3.10。
特别感谢王刚,此前本文的翻译是由他进行的。
| #!/bin/bash | |
| #Modify this with your IP range | |
| MY_IP_RANGE="192\.168\.1" | |
| #You usually wouldn't have to modify this | |
| PORT_BASE=5555 | |
| #List the devices on the screen for your viewing pleasure | |
| adb devices |
Eric Steven Raymond, Thyrsus Enterprises, < [email protected] >
Rick Moen, < [email protected] >
翻译:柯非, < [email protected] >
这篇译文基于2014.05.21更新的原文修订版3.10。
特别感谢王刚,此前本文的翻译是由他进行的。
Add Add RethinkDB key
source /etc/lsb-release && echo "deb http://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list
wget -qO- https://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add -
Install packages
sudo apt-get update && sudo apt-get install -y git nodejs nodejs-legacy npm rethinkdb android-tools-adb python autoconf automake libtool build-essential ninja-build libzmq3-dev libprotobuf-dev git graphicsmagick yasm stow
| var net = require("net"); | |
| process.on("uncaughtException", function(error) { | |
| console.error(error); | |
| }); | |
| if (process.argv.length != 5) { | |
| console.log("usage: %s <localport> <remotehost> <remoteport>", process.argv[1]); | |
| process.exit(); | |
| } |