Skip to content

Instantly share code, notes, and snippets.

View aminkhoshzahmat's full-sized avatar
:shipit:
Discovering

Amin aminkhoshzahmat

:shipit:
Discovering
View GitHub Profile
// Builders
class SimpleBuilder {
constructor(private current = {}) {
}
prop(key: string, value: any) {
return new SimpleBuilder({ ...this.current, ...{ [key]: value } });
}
@aminkhoshzahmat
aminkhoshzahmat / config
Created November 8, 2021 13:48 — forked from pksunkara/config
Sample of git config file (Example .gitconfig) (Place them in $XDG_CONFIG_HOME/git)
[user]
name = Pavan Kumar Sunkara
email = pavan.sss1991@gmail.com
username = pksunkara
[core]
editor = vim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
pager = delta
[sendemail]
smtpencryption = tls