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
sudo ssh -i '/home/xxx/dev/tools/bin/dev.pem' [email protected] | |
# ssh 用用户名密码登陆 | |
sudo passwd root | |
vi /etc/ssh/sshd_config | |
找到 PasswordAuthentication no,把no改成yes | |
接下来,要重新启动下sshd | |
/sbin/service sshd restart | |
# service ssh restart | |
/etc/init.d/ssh restart |
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
https://github.com/roboguice/roboguice/wiki/CustomBinding | |
https://github.com/goodow/realtime-android/blob/v0.3.0/src/main/java/com/goodow/realtime/android/RealtimeApplication.java | |
https://github.com/goodow/drive-android/blob/v0.3.x/res/values/roboguice.xml | |
https://github.com/roboguice/roboguice | |
guice注入的三种方式 | |
#http://book.51cto.com/art/200811/97246.htm | |
#http://dreamzhong.iteye.com/blog/1139484 | |
http://dreamzhong.iteye.com/blog/1141335 |
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
1.安装java环境 | |
计算机->属性->高级系统设置->高级->环境变量 | |
JAVA_HOME=C:\\XXX\ | |
PATH=%JAVA_HOME%\bin; | |
2.验证 | |
CMD: | |
echo %JAVA_HOME% | |
echo %PATH% |
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
# http://source.android.com/source/downloading.html | |
# 4.4.2 http://blog.csdn.net/zeroboundary/article/details/17555183 | |
# android api | |
# Platform Version API Level | |
# http://developer.android.com/guide/topics/manifest/uses-sdk-element.html | |
**************************************************************************************************************************** | |
# 解压sample.tar.xz |
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
# http://docs.travis-ci.com/user/build-configuration/ | |
sudo apt-get install ruby | |
sudo apt-get install ruby-dev | |
gem -v | |
sudo gem install rubygems-update | |
sudo update_rubygems | |
sudo gem install travis | |
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
播放数据统计: | |
log = function(message) { | |
console.log(JSON.stringify(message.body(), null, 2)); | |
window.message = message; | |
}; | |
bus.registerHandler("sid.drive.player.analytics", | |
log); | |
开关机: | |
log = function(message) { |
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
VIM的运行模式 | |
编辑模式:等待编辑命令输入 | |
插入模式:编辑模式下,输入 i 进入插入模式,插入文本信息 | |
命令模式:在编辑模式下,输入 “:” 进行命令模式 | |
VIM 使用的命令 | |
:q 直接退出vi | |
:wq 保存后退出vi ,并可以新建文件 | |
:q! 强制退出 |
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
mvn | |
**************************************************************************************************************************** | |
5.5 依赖范围 | |
5.6 依赖传递 | |
**************************************************************************************************************************** | |
8.4 聚合与继承的关系 | |
8.6 反应堆 | |
**************************************************************************************************************************** | |
14.1.Maven属性 | |
六种: |
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
# connect computer | |
Usb: | |
http://developer.android.com/tools/device.html | |
adb -s emulator-5554 shell | |
adb connect 192.168.11.21 | |
# lsusb | |
#Bus 001 Device 008: ID 0bb4:0c02 High Tech Computer Corp. | |
# eclipse: |
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
# .gitconfig https://gist.github.com/larrytin/7096087 | |
# git config --global user.name "name" | |
# git config --global user.email "[email protected]" | |
# git config --global branch.autosetuprebase always | |
# git config branch.master.rebase true | |
# git config --global http.sslVerify false |