other
iteye_9729
这个作者很懒,什么都没留下…
展开
-
gcc中的预编译宏
gcc中的预编译宏 * 预定义的宏 * __NASE_FILE__ 源文件的完整路径名,和 __FILE__ 不同,被引用的文件仍然是原来文件名 * __CHAR_UNSIGNED__ 用于指定该机器上 char 是无符号类型 * __cplusplus 使用 C++ 编译器编译 * __DATE__ 编译时的日期 * __FILE_...原创 2011-05-19 09:42:47 · 112 阅读 · 0 评论 -
iPhone安装gcc
I search a lot on internet how to do this, and I found some info from Anastas Stoyanovsky. Most people posted that if you install libgcc on iOS 4 it will crash at boot but this is not true.Here is...原创 2012-06-22 00:33:41 · 367 阅读 · 0 评论 -
mongo安装配置
下载地址:http://www.mongodb.org/downloads以CentOS为例安装参照:http://docs.mongodb.org/manual/tutorial/install-mongodb-on-redhat-centos-or-fedora-linux/启动服务器添加权限认证:编辑 /etc/init.d/mongod 将OPTIONS改为...2012-08-08 14:08:50 · 98 阅读 · 0 评论 -
local add, incoming add upon merge
在svn命令行merge之后文件经常会出现local add, incoming add upon merge问题,导致无法提交,可以通过以下命令解决冲突Summarizing to resolve the tree conflict committing your working dir with svn client 1.6.x you can use:[code="java"]...原创 2012-04-16 16:51:04 · 179 阅读 · 0 评论 -
mysql中文字段排序
[code="sql"]select * from t_user_info order by convert(user_name USING gbk) COLLATE gbk_chinese_ci [/code]2012-03-31 13:28:50 · 110 阅读 · 0 评论 -
svn merge
创建分支[code="java"]svn cp proj/trunk proj/branches/proj_branch_1[/code]查看分支创建时的版本[code="java"]svn log --stop-on-copy proj/branches/proj_branch_1[/code]合并主线到分支[code="java"]svn mer...2012-03-15 10:39:48 · 65 阅读 · 0 评论 -
卸载xcode
sudo /Developer/Library/uninstall-devtools --mode=all2011-11-28 11:43:26 · 73 阅读 · 0 评论 -
mac访问屏蔽网站
Hotspot Shield2011-08-19 13:36:40 · 322 阅读 · 0 评论 -
ftp上传
ftp host上传需要lcd到local当前目录否则会报550 file: Cannot create file 错误2011-12-07 18:23:09 · 79 阅读 · 0 评论 -
mac环境变量
cdvim .profile加入行:export PATH=${PATH}:/usr/local/mysql/binsource .profile2011-08-10 09:31:11 · 50 阅读 · 0 评论 -
mongo笔记
db.users.find({$where:function(){return this.age > 30 && this.age < 35;}})db.users.find({$or:[{name:"mrj6"}, {name:"mrj9"}]})// 查询db.users.find({age:{$lt:30}})db.users.fin...2013-02-05 11:35:59 · 106 阅读 · 0 评论