Skip to content

Instantly share code, notes, and snippets.

View zhylmzr's full-sized avatar
🐹
I may be slow to respond.

zhylmzr zhylmzr

🐹
I may be slow to respond.
View GitHub Profile
@zhylmzr
zhylmzr / global.d.ts
Last active January 5, 2024 04:04
use opencv in node.js with typescript
declare global {
/** opencv's export variable */
var Module: Object
}
export {}
@zhylmzr
zhylmzr / mount_ntfs_3g.plist
Last active January 12, 2024 17:17
automount all ntfs volume writable in macOS Big Sur+
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>mount_ntfs_3g</string>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<false/>
@zhylmzr
zhylmzr / README.md
Created January 10, 2019 03:51
gfw encode and decode
  • 解码gfwlist.txt文件
  • 编码pac规则为gfwlist格式
main.py -l inFile outFile
main.py -b inFile outFile
@zhylmzr
zhylmzr / README.md
Last active December 1, 2018 05:32
parcel 热加载并运行 typescript

目录结构

.
├── index.js
├── package.json
├── src
│   └── main.ts
├── tsconfig.json
└── yarn.lock