Skip to content

Instantly share code, notes, and snippets.

@lumeng
lumeng / 百度网盘崩溃_dump_file.txt
Last active December 15, 2019 11:23
百度网盘崩溃_dump_file
Process: BaiduNetdisk_mac [69398]
Path: /Applications/BaiduNetdisk_mac.app/Contents/MacOS/BaiduNetdisk_mac
Identifier: com.baidu.BaiduNetdisk-mac
Version: 2.2.2 (2.2.2.1)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: BaiduNetdisk_mac [69398]
User ID: 12223
Date/Time: 2019-12-15 03:15:01.419 -0800
@lumeng
lumeng / .profile
Created March 27, 2017 21:22 — forked from bmhatfield/.profile
Automatic Git commit signing with GPG on OSX
# In order for gpg to find gpg-agent, gpg-agent must be running, and there must be an env
# variable pointing GPG to the gpg-agent socket. This little script, which must be sourced
# in your shell's init script (ie, .bash_profile, .zshrc, whatever), will either start
# gpg-agent or set up the GPG_AGENT_INFO variable if it's already running.
# Add the following to your shell init to set up gpg-agent automatically for every shell
if [ -f ~/.gnupg/.gpg-agent-info ] && [ -n "$(pgrep gpg-agent)" ]; then
source ~/.gnupg/.gpg-agent-info
export GPG_AGENT_INFO
else
@lumeng
lumeng / WolframLanguageData_example.txt
Created March 14, 2017 00:11
WolframLanguageData example
In[3]:= WolframLanguageData["Plot", "DocumentationExampleInputs"]
Out[3]= {"BasicExamples" -> {{Plot[
Sin[x], {x, 0, 6 Pi}]}, {Plot[{Sin[x], Sin[2 x], Sin[3 x]}, {x,
0, 2 Pi},
PlotLegends -> "Expressions"]}, {Plot[{Sin[x], Cos[x]}, {x, 0,
2 Pi}, PlotLabels -> "Expressions"]}, {Plot[
2 Sin[x] + x, {x, 0, 15}, Filling -> Bottom],
Plot[{Sin[x] + x/2, Sin[x] + x}, {x, 0, 10},
Filling -> {1 -> {2}}]}, {Plot[
@lumeng
lumeng / identity
Created June 19, 2016 22:54
My publicly-auditable identity
### Keybase proof
I hereby claim:
* I am lumeng on github.
* I am lumeng (https://keybase.io/lumeng) on keybase.
* I have a public key whose fingerprint is 92A0 1015 F620 1B89 1913 BCDC 0F45 A151 FD07 0908
To claim this, I am signing this object: