知行合一

享受过程 漠视结果

导航

上一页 1 2 3 4 5 6 7 8 ··· 12 下一页

2015年4月16日 #

fopen的type的值的意思

摘要: ┌──┬────┬───────┬────────┐│type│读写性│文本/2进制文件│建新/打开旧文件│├──┼────┼───────┼────────┤│r│读│文本│打开旧的文件││w│写│文本│建新文件││a│添加│文本│有就打开无则建新││r+│读/写│不限制│打开││w+│读/写... 阅读全文

posted @ 2015-04-16 13:21 项羽 阅读(192) 评论(0) 推荐(0) 编辑

2015年4月8日 #

解决error: only position independent executables (PIE) are supported

摘要: 在Android.mk文件中添加以下内容LOCAL_CFLAGS += -pie -fPIELOCAL_LDFLAGS += -pie -fPIE原帖地址:http://blog.csdn.net/hxdanya/article/details/39371759 阅读全文

posted @ 2015-04-08 15:16 项羽 阅读(5451) 评论(0) 推荐(0) 编辑

2015年3月25日 #

c语言基本数据类型及存储方式

摘要: char a1 = 101; char a2 = 102; short a3 = 103; short a4 = 104; int a5 = 105; int a6 = 106; long a7 = 107; ... 阅读全文

posted @ 2015-03-25 10:22 项羽 阅读(1423) 评论(0) 推荐(0) 编辑

2015年2月12日 #

linux 权限

摘要: chmod 4755的意义,s之于可执行文件的意义权限为rwxrwxrwx的属主为root的可执行文件,当shell用户去运行它时,程序所拥有的权限为shell权限权限为rwsrwxrwx的属主为root的可执行文件,当shell用户去运行它时,程序所拥有的权限为root权限当属主与属组都设置时,以... 阅读全文

posted @ 2015-02-12 18:56 项羽 阅读(175) 评论(0) 推荐(0) 编辑

2015年2月4日 #

linux shell 语法学习

摘要: 文件比较运算符-e filename 如果 filename存在,则为真 [ -e /var/log/syslog ]-d filename 如果 filename为目录,则为真 [ -d /tmp/mydir ]-f filename 如果 filename为常规文件,则为真 [ -f... 阅读全文

posted @ 2015-02-04 11:22 项羽 阅读(158) 评论(0) 推荐(0) 编辑

2015年1月16日 #

iptables学习

摘要: droidwall.sh#!/system/bin/shIPTABLES=iptablesBUSYBOX=busyboxGREP=grepECHO=echo# Try to find busyboxif /data/data/com.example.my_android_wall/app_bin/b... 阅读全文

posted @ 2015-01-16 17:52 项羽 阅读(731) 评论(0) 推荐(0) 编辑

2015年1月14日 #

genymotion使用学习

摘要: 1 安装 直接去其官网(https://www.genymotion.com/#!/download)下载安装包安装即可,安装中会附带安装VirtualBox。2 注册 必须使用帐号登录后,方可下载虚拟机,注册帐号时可能需FQ。3 ADB连接虚拟机 使用(Genymobile\Genymotion\... 阅读全文

posted @ 2015-01-14 15:10 项羽 阅读(251) 评论(0) 推荐(0) 编辑

2015年1月9日 #

如何用jar命令生成可执行的jar文件

摘要: 如果你已经把zh.java文件生成了zh.class文件如果zh.class的路径是bin/com/zhang/zh.class则在bin目录下放一个manifest.mf文件,文件内容如下:Manifest-Version: 1.0 Created-By: 1.5.0_06 (Sun Micros... 阅读全文

posted @ 2015-01-09 23:45 项羽 阅读(308) 评论(0) 推荐(0) 编辑

2014年12月27日 #

LG Optimus L90 [D415] T-Mobile 刷机

摘要: 1先使用[ROOT大师]ROOT手机。2 执行以下ADB命令。adb shell su //备份dd if=/dev/block/platform/msm_sdcc.1/by-name/laf of=/sdcard/laf.img.//清除dd if=/dev/zero of=/dev/block/... 阅读全文

posted @ 2014-12-27 18:16 项羽 阅读(2778) 评论(0) 推荐(0) 编辑

2014年12月12日 #

微信 分享到朋友圈 代码

摘要: 阅读全文

posted @ 2014-12-12 10:23 项羽 阅读(22694) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 ··· 12 下一页