摘要: 查看帮助:man dscl显示所有用户:dscl . list /users显示所有组:sudo dscl . -list /groups GroupMembership添加user到group:sudo dscl . -append /Groups/groupname GroupMembershi... 阅读全文
posted @ 2015-01-15 11:46 WenEric 阅读(615) 评论(0) 推荐(0) 编辑
摘要: 步骤1安装homebrew, 通过它安装系统所需要的包ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)"安装完成后,brew doctor 自检一下步骤2安装curl -L https://get.rvm.i... 阅读全文
posted @ 2015-01-14 19:20 WenEric 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 1.开启远程连接(非mysqld -h localhost -u *登录) 1)改表法 use mysql; update user set host = '%' where user = 'root'; select host, user from user where user = 'ro... 阅读全文
posted @ 2015-01-14 17:29 WenEric 阅读(291) 评论(0) 推荐(0) 编辑
摘要: 1.下载redis2.tar -zxvf redis-2.6.14.tar.gz /opt cd /opt/redis make && make install这时Redis 的可执行文件被放到了/usr/local/bin3.sudo cp redis.conf /etc4.cp redis-be... 阅读全文
posted @ 2014-01-03 20:47 WenEric 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 1.下载hadoop2.增加账户 sudo adduser --system --no-create-home --disabled-login --disabled-password --group hadoop 添加到管理员组 sudo usermod -aG root hadoo... 阅读全文
posted @ 2013-10-14 12:51 WenEric 阅读(311) 评论(0) 推荐(0) 编辑
摘要: 下载sl4a_r6.apk及PythonForAndroid_r4.apk1.adb install sl4a_r6.apk2.echo $PATH --> top3.Installing SL4A Interpreters menu->view->interpreters->add->python4.click "python for android" on desk click "Install"安装帮助文档参考:ASE原理尝试Android Scripting EnvironmentAndroid Scripting 阅读全文
posted @ 2013-09-20 14:24 WenEric 阅读(390) 评论(0) 推荐(0) 编辑
摘要: ubuntu12.04 X64终端依赖安装更新:sudo apt-get install git gnupg flex bison gperf build-essential zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev 阅读全文
posted @ 2013-09-20 14:21 WenEric 阅读(542) 评论(0) 推荐(0) 编辑
摘要: **@**:~$ lsusbBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubBus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubBus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching HubBus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching HubBus 002 Device 0 阅读全文
posted @ 2013-08-30 13:52 WenEric 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 1.下载phonegap2.将lib/android下xml拷进android工程的res,将cordova-2.9.0.jar拷进工程库中,将cordova.js拷到assets/www中3.让activity继承自org.apache.cordova.DroidGap: public class MyActivity extends DroidGap{ @Override public void onCreate(Bundle savedInstanceState){ super.onCreate(savedInstanceState); //setContentView(R.... 阅读全文
posted @ 2013-07-20 14:50 WenEric 阅读(353) 评论(0) 推荐(0) 编辑
摘要: ubuntu12.04+jdk1.61.install eclipse2.linux GNU GCC3.eclipse CDT plugins4.andrid sdk5.android ndk 下载android-ndk-r8d,并解压至/opt/NDK/下 sudo vim /etc/profile:export NDK_ROOT=/opt/android-sdk-linux/NDK/android-ndk-r8d source /etc/profile cd $NDK_ROOT/samples/hello-jni -> ndk-build6.cocos2d sudo vim... 阅读全文
posted @ 2013-07-13 13:08 WenEric 阅读(472) 评论(0) 推荐(0) 编辑