I hereby claim:
- I am phantomk on github.
- I am phantomk (https://keybase.io/phantomk) on keybase.
- I have a public key whose fingerprint is A386 B9E0 D012 C36C B36B 671D BF4B 1C55 A2B6 2090
To claim this, I am signing this object:
pkgname=webstorm | |
_pkgname=WebStorm | |
pkgver=10.0.3 | |
_pkgver=141.1237 | |
pkgrel=1 | |
pkgdesc="JavaScript IDE and HTML editor." | |
arch=('i686' 'x86_64') | |
options=('!strip') | |
url="http://www.jetbrains.com/${pkgname}" | |
license=('custom') |
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
{ | |
"workbench.iconTheme": "vscode-icons", | |
// "cSpell.userWords": [ | |
// "APPID", | |
// "APPSECRET", | |
// "CLOUDSTORE", | |
// "Eshine", | |
// "Evernote", | |
// "Paymentconfig", | |
// "Tuan", |
I hereby claim:
To claim this, I am signing this object:
module.exports = { | |
preset: 'ts-jest', | |
testEnvironment: 'node', | |
coverageDirectory: './coverage', | |
roots: [ | |
'./test' | |
] | |
}; |
const getRandom = () => +(Math.random() * 1000).toFixed(0); | |
const asyncTask = taskID => new Promise(resolve => { | |
let timeout = getRandom(); | |
console.log(`taskID=${taskID} start.`); | |
setTimeout(function () { | |
console.log(`taskID=${taskID} finished in time=${timeout}.`); | |
resolve(taskID) | |
}, timeout); | |
}); |
// need install json-bigint | |
const JSONBigInt = require('json-bigint')({'storeAsString': true}); | |
try { | |
let response = await axios.put(this.apiBaseEndpoint + '/' + id, input, { | |
transformResponse: [data => data] | |
}); | |
let data = JSONBigInt.parse(response.data); | |
} catch (error) { |
Good news is we're only using lodash/fp
, which makes it easier to match function signatures.
echo "CPU型号: " | |
sysctl -n machdep.cpu.brand_string | |
echo "CPU核心数: " | |
sysctl -n machdep.cpu.core_count | |
echo "CPU线程数: " | |
sysctl -n machdep.cpu.thread_count | |
echo "其它信息:" |
markdown here 的主题,参考了李笑来的主题
优化:
主题: