2020年3月16日

为Android编译bash

摘要: export CC=armv7a-linux-androideabi28-clang export LDFLAGS static ./configure --host=armv7a-unknown-linux-android28 --without-bash-malloc make 阅读全文

posted @ 2020-03-16 21:40 JebediahKerman 阅读(335) 评论(0) 推荐(0)

编译toybox

摘要: # android 5.1 armv7a成功运行toybox-0.8.2。 # 虽然手机的api等级可能低于28,但是为了成功编译需要api等级至少28。 export CC=armv7a-linux-androideabi28-clang export STRIP=arm-linux-androi 阅读全文

posted @ 2020-03-16 17:27 JebediahKerman 阅读(673) 评论(0) 推荐(0)

2020年3月15日

RGB信仰灯

摘要: echo 255 > /sys/class/leds/red/brightness echo 0 > /sys/class/leds/green/brightness echo 0 > /sys/class/leds/blue/brightness while true do sleep 1 ech 阅读全文

posted @ 2020-03-15 21:33 JebediahKerman 阅读(335) 评论(0) 推荐(0)

2020年2月21日

如何用Fiddler抓BlueStacks的HTTPS包

摘要: 准备证书1.访问127.0.0.1:8888下载FiddlerRoot.cer。2.将FidderRoot.cer转换为FiddlerRoot.pemopenssl x509 -inform der -in FidderRoot.cer -outform pem -out FiddlerRoot.p 阅读全文

posted @ 2020-02-21 21:46 JebediahKerman 阅读(2891) 评论(0) 推荐(1)

Adobe Acrobat快捷方式

摘要: Adobe Acrobat快捷方式非常特殊,它不是直接指向\Program File (x86)\Adobe\ACROBA~1\Acrobat\Acrobat.exe而是指向\Windows\Installer\{AC76B~3\_SC_Acrobat.ico。_SC_Acrobat.ico表面上是 阅读全文

posted @ 2020-02-21 08:53 JebediahKerman 阅读(437) 评论(0) 推荐(0)

2020年2月9日

[MS-SHLLINK]: Shell Link (.LNK) Binary File Format

摘要: https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-shllink/16cb4ca1-9339-4d0c-a68d-bf1d6cc0f943 阅读全文

posted @ 2020-02-09 17:25 JebediahKerman 阅读(205) 评论(0) 推荐(0)

2020年2月6日

IMemoryBufferReference and IMemoryBufferByteAccess

摘要: 根据https://docs.microsoft.com/en-us/uwp/api/windows.foundation.imemorybufferreference,所有实现了IMemoryBufferReference接口的个体都实现了IMemoryBufferByteAccess。IMemo 阅读全文

posted @ 2020-02-06 09:54 JebediahKerman 阅读(425) 评论(0) 推荐(0)

2020年2月5日

SoftwareBitmap and BitmapEncoder in Windows.Graphics.Imaging Namespace

摘要: 下面的代码创建了一个透明的图片 var bitmap = new SoftwareBitmap(BitmapPixelFormat.Rgba8, 192, 192); var writer = new DataWriter(); for (int i = 0; i < 192 * 192; i++) 阅读全文

posted @ 2020-02-05 16:28 JebediahKerman 阅读(316) 评论(0) 推荐(0)

2020年1月29日

Windows UPnP APIs

摘要: 查找设备 <C++> #include <iostream> #include <Windows.h> #include <UPnP.h> #pragma comment(lib, "ole32.lib") #pragma comment(lib, "oleaut32.lib") using nam 阅读全文

posted @ 2020-01-29 21:06 JebediahKerman 阅读(312) 评论(0) 推荐(0)

编译Android技术总结

摘要: 下载源代码 https://source.android.google.cn/setup/build/downloading?hl=zh-cn https://mirrors.tuna.tsinghua.edu.cn/help/AOSP/ 编译 https://source.android.goog 阅读全文

posted @ 2020-01-29 10:38 JebediahKerman 阅读(146) 评论(0) 推荐(0)

导航