自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(55)
  • 资源 (3)
  • 收藏
  • 关注

转载 Clang vs GCC

Clang vs GCC (GNU Compiler Collection)Pro's of GCC vs clang:GCC supports languages that clang does not aim to, such as Java, Ada, FORTRAN, Go, etc.GCC supports more targets than LLVM.GCC support

2018-01-16 19:32:38 697

原创 makedepend 安装

问题: 编译openssl时,提示makedepend找不到 解决方法: $ apt-cache search makedepend xutils-dev - X Window System utility programs for development$ sudo apt-get install xutils-dev

2018-01-16 13:06:19 6151 1

原创 Mock 测试应用场景

Mock 应用场景 1. 真实对象具有不可确定的行为 2. 真实对象很难被创建 3. 真实对象某些行为很难触发 4. 真实情况令程序的运行速度变慢 5. 真实对象有用户界面 6. 测试时需要了解真实对象如何被调用 7. 真实对象实际上不存在

2017-12-04 15:58:14 2889

原创 iptables 端口映射

映射80 –> 8080 iptables -t nat -I PREROUTING -p tcp -s 192.168.111.1/24 -d 192.168.111.1 –dport 80 -j REDIRECT –to-port 8080

2017-12-04 15:21:31 280

原创 批处理bat设置网络IP

set IP=192.168.137.1 set MASK=255.255.255.0 set GATEWAY=192.168.137.1set NAME="USB-LAN" netsh interface ip set address %NAME% static %IP% %MASK% %GATEWAY%

2017-12-04 15:04:54 2733

原创 adb命令打开手机设置页面

adb命令打开手机设置页面设置主页面adb shell am start com.android.settings/com.android.settings.Settings安全adb shell am start com.android.settings/com.android.settings.SecuritySettings手机无线信息adb shell am start com.androi

2017-12-04 14:24:28 52597 2

原创 staruml 免费版

staruml 免费版 https://sourceforge.net/projects/staruml/files/staruml/5.0/

2017-08-15 15:52:56 6256

原创 OkHttp 下载文件实现

OkHttp 下载文件实现 public static boolean DownloadFile(final String uri, final String filePath) { OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder().url

2017-01-13 12:44:52 3470

原创 androdstudio工程提交svn过滤文件列表

过滤这些文件 *.iml .gradle /local.properties /.idea/workspace.xml /.idea/misc.xml /.idea/libraries /build

2016-12-15 10:35:01 342

翻译 adb backup 文件格式解析

# STRUCTURE OF THE ADB BACKUP HEADER # 1. Magic: ANDROID BACKUP# 2. Version (1 only): 1# 3. Compression (1=compressed):

2016-12-02 13:25:10 3204

原创 git的日常使用

git日常使用技巧

2016-11-30 13:27:01 310

转载 GPIO端口各种模式的区别

GPIO端口各种模式的区别 (1)GPIO_Mode_AIN 模拟输入 (2)GPIO_Mode_IN_FLOATING 浮空输入 (3)GPIO_Mode_IPD 下拉输入 (4)GPIO_Mode_IPU 上拉输入 (5)GPIO_Mode_Out_OD 开漏输出 (6)GPIO_Mode_Out_PP 推挽输出 (7)GPIO_Mode_AF_OD 复用开漏输出

2016-09-09 15:48:24 16583

原创 最经典错误代码调试

最经典错误代码调试if语句较长后加了“;”号,结果条件总是被执行, 大牛也纳闷,反汇编调试找了半天原因sh脚本有两行还有中文换行符,执行时被莫名自动跳过,看代码检查不出问题。

2016-09-07 14:37:25 404

转载 防火墙安全策略之敲门暗号

防火墙安全策略之敲门暗号增强计算机安全性的最后一种方案是最激进的:关闭打开的端口,这会让任何攻击都无法攻破您的计算机。只向能够提供 “秘密敲门暗号” 的用户开放所需的端口,让用户能够输入密码并访问计算机。敲门守护进程 knockd;它监视敲门序列,当发现有效的序列时执行相应的操作,iptables开放指定的端口给用户。配置文件 [opencloseSSH] sequence= 7000,8

2016-09-06 12:09:07 1220

转载 微信里的隐藏功能

微信的隐藏功能(神秘代码) 用法: 在聊天窗口输入框,输入代码,然后发送,会弹出响应内容↓↓↓ 编号 代码 解释 1 //traceroute 打开诊断网络 2 //pickpoi 定位当前位置 3 //fullexit 完全退出微信 4 //sightinfo 打开查看小视频参数(以后你小视频的时候就都显示了) 5 //getf

2016-08-24 18:01:23 804

转载 socat端口转发-穿透网络

------------ | Server | |w/ public IP| ------------ / \ {|<Firewall>|} {|<Firewall>|} |

2016-08-23 12:13:44 7022 1

转载 有道翻译书签,支持网页翻译和划词翻译

有道翻译书签,支持网页翻译和划词翻译javascript:%20void((function()%20{var%20element%20=%20document.createElement('script');element.id%20=%20'outfox_seed_js';element.charset%20=%20'utf-8',element.setAttribute('src',%20'h

2016-08-22 17:41:34 1550

翻译 代码注释里的祈祷

/******************************************************************************* The author disclaims copyright to this source code. In place of** a legal notice, here is a blessing:**** May yo

2016-08-22 17:13:43 721

转载 Eclipse Java HelloWorld

Eclipse Java HelloWorld

2016-08-12 16:50:31 839

转载 Android Sdk 镜像网站

Android Sdk 镜像网站http://mirrors.neusoft.edu.cn

2016-08-01 12:11:07 936

翻译 智能指针使用指南

智能指针使用指南### SmartPtr Guidelinevoid f( widget* ); (a)void f( widget& ); (b)void f( unique_ptr<widget> ); (c)void f( unique_ptr<widget>& ); (d)void f( shared_ptr<widget>

2016-07-20 09:22:44 296

翻译 android uid gid

#define AID_ROOT 0 /* traditional unix root user */#define AID_SYSTEM 1000 /* system server */#define AID_RADIO 1001 /* telephony subsystem, RIL */#define AID_BLUETOOTH

2016-07-19 17:29:48 461

翻译 MQTT 物联网连接协议

MQTT is a machine-to-machine (M2M)/”Internet of Things” connectivity protocol. It was designed as an extremely lightweight publish/subscribe messaging transport. It is useful for connections with remot

2016-06-21 13:20:31 591

原创 busybox 启动applet分析

busybox 启动applet分析

2016-05-31 11:21:55 616

翻译 Linaro Project & Yocto Project

LinaroLinaro’s mission is to bring together industry and the open source community to work on key projects, deliver great tools, reduce industry wide fragmentation and redundant effort, and provide com

2016-05-27 10:21:49 997

原创 查看NAND Flash空间大小

NAND Flash空间大小

2016-05-26 16:41:43 11715

原创 修复img文件挂载错误

挂载错误mount: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error In some cases useful info is found in sysl

2016-05-26 15:03:17 3426

翻译 linux passwd shadow文件

linux passwd shadow

2016-05-26 10:40:52 360

原创 查看Linux文件锁

查看Linux文件锁 查看文件的inode信息

2016-05-26 09:29:17 7329

转载 Detect ARM MOVW/MOVT relocations in shared library links

Detect ARM MOVW/MOVT relocations in shared library linksFrom: "Joseph S. Myers" To: binutils at sourceware dot orgDate: Mon, 27 Apr 2009 22:06:39 +0000 (UTC)Subject: Detect ARM MOVW/MOVT relocatio

2016-05-25 16:53:25 503

原创 virtualbox磁盘压缩空间

virtualbox磁盘压缩空间"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" list hdds"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" modifyhd "0d025e3b-b909-43e1-bb96-9a13f9e81381" compact

2016-05-25 11:25:13 1288

原创 MinGW编译的DLL versuffix

编译 libcurl 生成的dll 文件名   libcurl-4.dll, 文件名里多了个数字,从哪里来的?### MinGW  libtool versuffix     age="$number_minor"     *cygwin* | mingw* | *cegcc*)   func_arith $current - $agemajor=$func

2016-05-24 10:04:13 290

原创 CURL下载的参数使用

curl_easy_reset(m_pCurl); curl_easy_setopt(m_pCurl, CURLOPT_USERAGENT, "XXX/1.0"); curl_easy_setopt(m_pCurl, CURLOPT_URL, request.url.c_str()); curl_easy_setopt(m_pCurl, CURLOPT_HEADERDAT

2016-05-23 10:03:17 1089

原创 saleae logic 逻辑分析仪

Debug hardware like the pros with the logic analyzer you'll love.官方网站:https://www.saleae.com/

2016-05-20 13:02:47 3905

原创 MinGW 安装和常见库编译

安装程序https://sourceforge.net/projects/mingw/files/Installer/Installing MinGW and MSYSDownload and run mingw-get-inst  Select "Use pre-packaged repository catalogues".Review and accept the Lic

2016-05-19 11:38:41 4080

原创 wireshark抓包 TCP 字段详解

在TCP层,字段有以下几个标识:SYN, FIN, ACK, PSH, RST, URG. 它们的含义是: SYN表示建立连接, FIN表示关闭连接, ACK表示响应, PSH表示有 DATA数据传输, RST表示连接重置。 其中,ACK是可能与SYN,FIN等同时使用的,比如SYN和ACK可能同时为1,它表示的就是建立连接之后的

2016-05-19 11:08:38 14631

原创 makedepend: command not found

交叉编译时,碰到的问题:makedepend: command not found解决方案:修改MakefileMAKEDEPEND=$(CC) -M参考:When I set CROSS_COMPILE, `MAKEDEPEND=makedepend` breaks. To fix it, I open the Makefile and cha

2016-05-18 11:43:16 3318

原创 gdb 远程调试

远程调试器gdbserver 192.168.137.1:6006 ./test本地调试器cross-compile-gdb target remote 192.168.137.2:6006 file ./test

2016-03-30 11:04:10 421

原创 Android 开发环境搭建

1. JDK安装     环境变量设置2. Eclipse     Eclipse IDE for Java Developers 版本     32位版本和jdk匹配     Eclipse ADT plugin 下载启动Eclipse,点击 Help菜单 -> Install New Software… ?,点击弹出对话框中的Add… 按钮。

2016-03-28 14:11:46 236

原创 virtualBox 虚拟磁盘扩容

列出虚拟磁盘>"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" list hdds修改大小为20G>"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" modifyhd "0d025e3b-b909-43e1-bb96-9a13f9e81381" --resize 2048

2016-03-25 11:53:06 341

COM规范 - the COM specfication

This document contains the specification to the Component Object Model (COM), an architecture and supporting infrastructure for building, using, and evolving component software in a robust manner。

2009-07-07

Http 1.1协议.chm

Http 1.1协议 Hypertext Transfer Protocol 超文本传送协议

2009-05-31

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除