jsw's recent timeline updates
jsw

jsw

V2EX member #100197, joined on 2015-02-25 21:00:43 +08:00
Per jsw's settings, the topics list is hidden
Deals info, including closed deals, is not hidden
jsw's recent replies
```
Git comes with its own version of gpg.exe, but it is the MinGW version — a direct port of the Linux version, which saves your keychain in the ~/.gnupg folder in your home directory. The gpg4win port, on the other hand, saves your keychain in ~/AppData/Roaming/GnuPG. Certificates managed by one won ’ t be seen by the other. You will also need to use the gpg4win version if you want to use a GUI such as SourceTree, since the MinGW version of gpg.exe is entirely command line based and doesn ’ t play nicely with Git GUIs. By contrast, the gpg4win version brings up a dialog box to prompt for your password.
```
原文引用:
```
一般 Git 安装自己 bundle 了一套 GPG,这套应该是不带 pinentry,密码直接从 stdin 里读,所以要 TTY
但是 GPG4win 套件是有 pinentry 的(就是那个输入密码框),就搞定了那个问题

config 到 global 之后 git 默认都会调取 GPG4win 里的 gpg,所以就蹦 GUI 提示了。
好恶心居然砍掉 referrer
🤔可以上防盗链方案?
看到奇怪的 referrer 就 301 走打别人(
可以把 Tracker 关掉啊 又不是不能用
Oct 4, 2016
Replied to a topic by jsw 互联网 乌云主站+知识库镜像文件 便携版(47M)
@MARCH0 啊,好久没用智障了,忘记上边第二段话吧(逃
可能数据有点大,这东西处理有困难,改天我会整理一个 BSON 版发上来的。
Oct 4, 2016
Replied to a topic by jsw 互联网 乌云主站+知识库镜像文件 便携版(47M)
@MARCH0 其实当时在朝外倒的过程中并没有使用 mongo 最新版(因为数据库格式问题)
所以我的建议是使用和原来一样的版本( docker pull mongo:2 )

另外从日志来看,不要用 mongo import/export ,这是操作 BSON 的指令。 mongo 另外提供了一组指令操作 JSON/XML ,用那个(不记得叫什么了,不过反正就这两组四个指令)
Oct 4, 2016
Replied to a topic by jsw 互联网 乌云主站+知识库镜像文件 便携版(47M)
@MARCH0 其实,如果需要,我可以弄份 BSON 出来,可能兼容性好一点。
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1083 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 23:18 · PVG 07:18 · LAX 16:18 · JFK 19:18
♥ Do have faith in what you're doing.