Skip to content

Instantly share code, notes, and snippets.

View lxghtless's full-sized avatar
🎯
Focusing

William Kurth lxghtless

🎯
Focusing
View GitHub Profile
@lxghtless
lxghtless / string-templates.js
Created October 17, 2021 19:17
Use String Interpolation template stored in DB with vm.runInContext Example
/*
Base context
*/
const context = {
name: 'Asdfington',
age: 9000,
bio: 'I like learning languages.'
};
/*
@lxghtless
lxghtless / eslintrc-pretty-rec.json
Created February 8, 2021 19:44
lxghtless prettier & recommended eslintrc
{
"root": true,
"parserOptions": {
"ecmaVersion": 2018
},
"env": {
"es6": true,
"node": true
},
"extends": [
@lxghtless
lxghtless / .gitconfig
Created September 8, 2020 19:33
.gitconfig windows with gpg
[user]
signingkey = GPG_SIGNING_KEY
email = GH_EMAIL
name = GH_USER_NAME
[gpg]
program = "C:\\Program Files (x86)\\GNU\\GnuPG\\pub\\gpg.exe"
[commit]
gpgSign = true
[tag]
forceSignAnnotated = true