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://press.one/p/v?s=43ca01c64f8c9f1e9d593d8d8e414e913b01c6e0994efcc441cff8eaad92ac5770869a256efd84af12d819967e1cc951bea260ba831aade172663b88928719bc01&h=2972d2c5434be947b05474d5cfa1364b16260252c2b80e2c7dce97b8bbc4b1a7&a=a81fcfb613cd2b0304761c604596ba6daebccab6&hash_alg=sha256&f=P1&v=3 |
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
# setting java home | |
# jdk 1.6 | |
export JAVA_6_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home | |
# jdk 1.8 | |
export JAVA_8_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home | |
export JAVA_7_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Home |
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
--- # mp4播放器 | |
videoview | |
surfaceView | |
mediaplay用surfaceview播放mp4,碰到奇葩的问题,在不同的盒子上. | |
krx重播后,从10s开始,minix没有这样的问题.科睿星看视频会卡死,minx不会出现这样的问题. | |
minix严重的拖动进度条,他会出现问题.拖动后,会回去,而科睿星盒子,这样的问题会不明显. |
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://terryblog.blog.51cto.com/1764499/339630/ |
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
第一步:搭建lamp环境 | |
参考:https://gist.github.com/wangwy/39cf380b697ed55699a7 | |
第二步:创建apache虚拟机 | |
编辑/etc/apache2/site-available/000-default.conf | |
sudo vim /etc/apache2/site-available/000-default.conf | |
添加 <VirtualHost *:1986> | |
ServerName localhost | |
DocumentRoot /home/krx/zentaopms/www | |
</VirtualHost> | |
第三步:mysql创建zentao用户 |
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
第一步:安装 Apache2 + PHP 模块 | |
$ sudo apt-get install apache2 libapache2-mod-php5 php5 php5-mysql | |
第二步:安装并配置Mysql | |
安装mysql | |
$ sudo apt-get install mysql-client-5.0 mysql-server-5.0 | |
创建dotproject用户 |
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://www.cloudfly.info/archives/36 | |
安装apache2 | |
sudo apt-get install apache2 | |
安装完成,运行如下命令重启下: | |
sudo /etc/init.d/apache2 restart | |
在浏览器里输入http://localhost或者是http://127.0.0.1,如果看到了“It works!“,那就说明Apache就成功的安装了,Apache的默认安装,会在/var下建立一个名为www的目录,这个就是Web目录了,所有要能过浏览器访问的Web文件都要放到这个目录里。 | |
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.mysql 默认不允许其他主机访问。 | |
修改配置。vi /etc/mysql/my.cnf | |
把bind-address = 127.0.0.1 or localhost 注掉 | |
service mysql restart or init.d/mysql restart | |
2.添加用户 | |
mysql 中的用户对应的表是 database:mysql,table:user | |
insert into mysql.user(Host,User,Password) values('localhost','phplamp',password('1234')); | |
host 代表可以访问的主机。如果允许所有主机访问则为% | |
2. 授权。例如,你想myuser使用mypassword从任何主机连接到mysql服务器的话。 | |
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'benjamin' WITH GRANT OPTION; |
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
github: | |
https://github.com/Nurgak/Android-Bluetooth-Remote-Control | |
https://github.com/RatioLabs/BLEService | |
https://github.com/polyclef/BluetoothChatMulti | |
https://github.com/akexorcist/Android-BluetoothSPPLibrary | |
//一些博客 | |
http://blog.csdn.net/baimy1985/article/details/9275559 | |
http://blog.csdn.net/yinlijun2004/article/details/9724347 |
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 apt-get update | |
sudo apt-get install openjdk-7-jdk | |
mkdir -p dev/tools/bin | |
cd dev/tools/bin | |
wget http://mirror.nus.edu.sg/apache/tomcat/tomcat-8/v8.0.9/bin/apache-tomcat-8.0.9.tar.gz | |
tar -zxvf apache-tomcat-8.0.9.tar.gz | |
ln -s apache-tomcat-8.0.9 tomcat | |
cd tomcat/webapps | |
wget http://download.sonatype.com/nexus/oss/nexus-2.9.0-04.war |
NewerOlder