会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
紫——瞳
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
下一页
2017年11月1日
mac os升级之后没有ftp、telnet等命令
摘要: macOs high sierra 去掉了ftp, telnet等命令 可以使用: brew install inetutils 安装
阅读全文
posted @ 2017-11-01 20:52 紫——瞳
阅读(784)
评论(0)
推荐(0)
2017年9月27日
提取目录下所有的apk包签名信息
摘要: for i in `find . -name "*.apk"`; do rm -rf toriko_apk; java -jar apktool.jar d -f $i -o toriko_apk; keytool -printcert -file ./toriko_apk/original/META-INF/CERT.RSA >> 1.log; done;
阅读全文
posted @ 2017-09-27 13:50 紫——瞳
阅读(277)
评论(0)
推荐(0)
2017年6月9日
Android ndk的ABI条件编译
摘要: android NDK cpu 架构宏定义 __arm__ armeabi __arm__ armeabi-v7 __aarch64__ arm64-v8a __i386__ x86 __x86_64__ x86_64
阅读全文
posted @ 2017-06-09 15:34 紫——瞳
阅读(1268)
评论(0)
推荐(0)
2017年5月14日
Boost学习笔记(1)-MacOs安装boost库
摘要: 从boost的官方网站下载最新版本的boost源代码 https://dl.bintray.com/boostorg/release/ 下载成功后解压,然后使用终端进入到boost目录 这样boost库就在mac上安装成功了,默认情况下安装库文件目录在/user/local/lib/下,头文件目录在
阅读全文
posted @ 2017-05-14 21:40 紫——瞳
阅读(1300)
评论(0)
推荐(0)
2016年11月24日
统计代码中所有的颜色
摘要: 统计代码中所有的颜色值,并按出现次数排序
阅读全文
posted @ 2016-11-24 20:49 紫——瞳
阅读(163)
评论(0)
推荐(0)
2016年6月27日
一行命令找到不符合尺寸的资源图片
摘要: find . -iname *.jpg -o -iname *.png | xargs identify | awk -F " " '{print($1,$3)}'|awk '{split($2,ta, "x"); w=ta[1]; h=ta[2]; if(w>1024 || h>1024) pri
阅读全文
posted @ 2016-06-27 19:39 紫——瞳
阅读(167)
评论(0)
推荐(0)
2015年12月1日
socket 常用api
摘要: Unix网络API1.字节序函数#include uint16_t htons(uint16_t host16bitvalue);uint32_t htonl(uint32_t host32bitvalue);返回:网络字节序值uint16_t ntohs(uint16_t net16bitvalu...
阅读全文
posted @ 2015-12-01 09:47 紫——瞳
阅读(4648)
评论(0)
推荐(0)
2015年11月19日
socket客户端小例
摘要: #include #include #include #include #include #include #include #include #include #include int main() { struct sockaddr_in addr; addr.sin_add...
阅读全文
posted @ 2015-11-19 20:48 紫——瞳
阅读(147)
评论(0)
推荐(0)
2015年11月18日
select和ioctl的一个简单测试
摘要: #include #include #include #include #include #include #include /* 标准输入的文件描述符数值 */ #define STDIN 0int main() { struct timeval tv; fd_set readfds; ...
阅读全文
posted @ 2015-11-18 14:02 紫——瞳
阅读(978)
评论(0)
推荐(0)
2015年10月26日
git 相关配置
摘要: git自动完成和显示当前分支1.从github.com/git/git 下载git源代码2.拷贝git-master/contrib/completion下git-completion.bashgit-prompt.sh这两个文件到用户目录~/下3.在.bash_profile 里面添加一下内容. ...
阅读全文
posted @ 2015-10-26 15:54 紫——瞳
阅读(132)
评论(0)
推荐(0)
上一页
1
2
3
下一页
公告