- Hum 151010 URL Schemes 使用详解
- Hum 160427 OmniFocus 的 URL Schemes 用法
- Hum 171115 通过 Bear 来认识 Launch Center Pro 的进阶用法
- Hum 171122 通过 Bear 来认识 Drafts 的 [[line]] 用法
- Hum 180518 入门 iOS 自动化:读懂 URL Schemes
- Hum 180823 Universal Link 使用详解
- Hum 181229 x-callback-URL 的使用方法
- JamesHopbourn 210204 Drafts + vim = URL Scheme 复用
- JamesHopbourn 210405 Drafts 5 与 Bear 联手,让我可以快速追加笔记
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Attribute VB_Name = "ExcelDeepL" | |
' # Installation | |
' 1. Activate MicroSoft XML. v6.0 and MicroSoft Scripting Runtime | |
' 2. Get VBA-JSON(JsonConverter.bas) from https://github.com/VBA-tools/VBA-JSON | |
' 3. Install JsonConverter and this script | |
' # How to use | |
' deepl(target_lang, select a cell) | |
' Example: deepl("JA",A1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://awakesecurity.com/wp-content/uploads/2020/06/GalComm-Malicious-Chrome-Extensions-Appendix-B.txt | |
malicious = [ | |
"acmnokigkgihogfbeooklgemindnbine", | |
"apgohnlmnmkblgfplgnlmkjcpocgfomp", | |
"apjnadhmhgdobcdanndaphcpmnjbnfng", | |
"bahkljhhdeciiaodlkppoonappfnheoi", | |
"bannaglhmenocdjcmlkhkcciioaepfpj", | |
"bgffinjklipdhacmidehoncomokcmjmh", | |
"bifdhahddjbdbjmiekcnmeiffabcfjgh", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Python code to remove emoji | |
# source: http://www.unicode.org/charts/ | |
import re | |
def remove_emojis(data): | |
emoj = re.compile("[" | |
u"\U00002700-\U000027BF" # Dingbats | |
u"\U0001F600-\U0001F64F" # Emoticons | |
u"\U00002600-\U000026FF" # Miscellaneous Symbols |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fontManager = [NSFontManager sharedFontManager]; | |
const UI = require('sketch/ui'); | |
//注意:更新后的插件版本,配置请填写 Font Family 名称,请不要再选择 Postscript 名称 | |
//顺序:英文字体,中文字体,数字字体(请依照自己安装的字体和喜好配置) | |
const options = { | |
'SF, 苹方, Mono': | |
'SF Pro Text, PingFang SC, SF Mono', | |
'Arial, 微软雅黑': | |
'Arial, Microsoft YaHei', | |
'New York, 思源宋体': |
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# details in: https://golang.org/doc/install/source | |
# a patch for centos 5 build: https://github.com/golang/go/issues/24980#issuecomment-384193598 | |
export GOROOT="/usr/local/go" | |
export PATH="$GOROOT/bin:$PATH" | |
mkdir /usr/local/go ~/go | |
curl -L https://dl.google.com/go/go1.4-bootstrap-20171003.tar.gz | tar xf - -C /usr/local/go | |
cd /usr/local/go/src | |
./make.bash | |
curl -L https://dl.google.com/go/go1.11.src.tar.gz | tar xf - -C ~/go |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Recommend run with node v8.9.x or higher version | |
* npm install lodash crypto-js request-promise request | |
* node hack.js | |
*/ | |
const version = 5 // the version of t1t | |
const score = 370 // the score you wanna get | |
const playTimeSeconds = score * 0.01 // simulate the playing time (seconds) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var CryptoJS = require('crypto-js') | |
var request = require('request-promise') | |
/* | |
* npm install crypto-js request-promise request | |
* node wx_t1t_hack.js | |
*/ | |
// export function testEncription(msg, fullKey) { | |
// var fullKey = fullKey.slice(0, 16) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Trigger] | |
Operation = Upgrade | |
Type = Package | |
Target = linux | |
[Action] | |
Description = Restore Linux kernel modules | |
When = PostTransaction | |
Depends = coreutils | |
Depends = rsync |
NewerOlder