摘要: 执行 tzselect按照提示进行选择时区 sudo apt-get install ntpdate sudo cp /usr/share/zoneinfo/Asia/ShangHai /etc/localtime执行sudo ntpdate cn.pool.ntp.orgcn.pool.ntp.o 阅读全文
posted @ 2015-07-26 14:14 l_u_l_u 阅读(465) 评论(0) 推荐(0) 编辑
摘要: 进入mysqlmysql>use mysql;mysql>update user set host = '%' where user = 'root';mysql>flush privileges;mysql>select host, user from user;修改/etc/mysql/my.c... 阅读全文
posted @ 2015-07-26 13:51 l_u_l_u 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 项目用到boost::asio,boost::serialization, Android打包环境配置 ... 做个记录,下次别又掉到这坑里浪费时间1. 安装Cygwin :下载Cygwin (http://www.cygwin.com/)安装时,默认设置,只选择Devel,将后面的Default改... 阅读全文
posted @ 2015-01-19 18:21 l_u_l_u 阅读(2258) 评论(0) 推荐(0) 编辑
摘要: android sdkwget -c http://dl.google.com/android/android-sdk_r23.0.2-linux.tgzsudo apt-get install -y libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses... 阅读全文
posted @ 2014-12-04 11:29 l_u_l_u 阅读(496) 评论(0) 推荐(0) 编辑
摘要: 1.cocos2dx 3.x开始要用到c++11,makefile文件中需要-std=c++11这个选项,所以升级g++参考http://www.cnblogs.com/coolulu/p/4124803.html2. l参考http://www.cocos2d-x.org/docs/manu... 阅读全文
posted @ 2014-12-04 11:05 l_u_l_u 阅读(1738) 评论(0) 推荐(0) 编辑
摘要: 要用到 boost库,基础设施建设。。。做个记录1.0 linux : 系统环境root@melos1305-B85M-DS3H:~# cat /etc/lsb-releaseDISTRIB_ID=UbuntuDISTRIB_RELEASE=12.04DISTRIB_CODENAME=precis... 阅读全文
posted @ 2014-11-27 00:10 l_u_l_u 阅读(2485) 评论(0) 推荐(0) 编辑
摘要: 要用到 c++11,基础设施建设。。。做个记录0. 系统环境: root@melos1305-B85M-DS3H:~# cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=12.04 DISTRIB_CODENAME=precise DIST... 阅读全文
posted @ 2014-11-26 21:13 l_u_l_u 阅读(8277) 评论(0) 推荐(0) 编辑
摘要: 1. python插件:" pydiction 补全提示+" pythoncomplete vim自带的python补全提示" pyflakes Python代码检查+" VimPdb 调试Python程序+ f2打断点116,,119 f3输入a,查看a的值 ... 阅读全文
posted @ 2014-11-15 17:24 l_u_l_u 阅读(1955) 评论(0) 推荐(0) 编辑
摘要: Q:最后一个我笑的是什么? 阅读全文
posted @ 2012-11-09 11:18 l_u_l_u 阅读(179) 评论(2) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 7 #define error(x) printf("ERROR %d: %s\n", mysql_errno(x), mysql_error(x)) 8... 阅读全文
posted @ 2012-11-07 22:51 l_u_l_u 阅读(305) 评论(0) 推荐(0) 编辑