cgo void* to []byte

5-04 626 views

godata := C.GoBytes(unsafe.Pointer(data), len)
阅读全文 0

查看系统和库的架构

5-04 616 views

uname -a Darwin nuxart.local 21.1.0 Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:23 PDT 2021; root:xnu-8019.41.5~1/RELEASE_X86_64 x86_64 lipo -i...
阅读全文 0

常用的四种免费证书申请方式

5-01 568 views

https://blog.csdn.net/weixin_45444133/article/details/120900424 免费申请证书的四种常用方式 Let's Encrypt 申请教程 2.Cloudflare 申请教程 3.FreeSSL...
阅读全文 0

remove file from git history

4-29 599 views

git filter-branch --index-filter 'git rm -rf --cached --ignore-unmatch path/file' HEAD
阅读全文 0

ffmpeg 常用命令

10-16 657 views

crop ffmpeg -i input.mov -vf crop=iw:iw:0:ih-iw output.mp4 ffmpeg -i input.mov -vf crop=iw:iw:0:0 output.mp4 to gif -s size ffmpeg -i output...
阅读全文 0

Objective-C属性(property)的特性(attribute)

9-22 870 views

https://www.jianshu.com/p/035977d1ba89 先以一图总结: Atttributes 以下:「attribute(s)」,「特性」是指同一事物(都指@property后面括号内的单词)。 ...
阅读全文 0

git Removing files from a repository’s history

9-21 1,403 views

https://docs.github.com/en/github/managing-large-files/removing-files-from-a-repositorys-history Open Terminal. Change the current working directo...
阅读全文 0

Cocoa Tiny

9-16 945 views

// clang -framework Cocoa hello.m -o app && ./app #import "Cocoa/Cocoa.h" int main(int argc, const char * argv[]) { NSAutoreleasePool...
阅读全文 0

减小Gcc编译程序的体积

5-07 1,215 views

减小Gcc编译程序的体积 https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html GoRustNeverStop 2016-07-23 12:41:23 6351 收藏 展开 众所周知,Gcc...
阅读全文 0

linux pipe

4-30 698 views

linux pipe 读写分开,读的只能读,写的只能写,写什么,读到的就是什么 int msgpipe[2]; if (pipe(msgpipe)) { LOG_INFO("could not creat...
阅读全文 0