diff --git a/.arcconfig b/.arcconfig index e7f09b9..76e4bdb 100644 --- a/.arcconfig +++ b/.arcconfig @@ -1,3 +1,3 @@ { "phabricator.uri": "https://issuetracker.revi.xyz" -} +} diff --git a/.bash_aliases b/.bash_aliases index 6f6fd83..bee058b 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -15,5 +15,5 @@ alias py='python3' # Python2 as py2 alias py2='python' -# tailscale (temporary) -alias tailscale='$HOME/go/bin/tailscale' +# tailscale (just for my old laptop - locally uncheck this.) +# alias tailscale='$HOME/go/bin/tailscale' diff --git a/.bashrc b/.bashrc index 78a078b..e7935bf 100644 --- a/.bashrc +++ b/.bashrc @@ -116,4 +116,4 @@ export LANG="en_US.UTF-8" # Don't check mail when opening terminal. -unset MAILCHECK \ No newline at end of file +unset MAILCHECK diff --git a/.editorconfig b/.editorconfig index 89b4f2c..e6565a2 100644 --- a/.editorconfig +++ b/.editorconfig @@ -3,8 +3,8 @@ root = true [*] -charset = utf-8 end_of_line = lf +charset = utf-8 indent_size = tab indent_style = tab insert_final_newline = true @@ -12,25 +12,25 @@ tab_width = 4 trim_trailing_whitespace = true [*.md] -indent_style = space indent_size = 2 +indent_style = space # Tabs may not be valid YAML # @see https://yaml.org/spec/1.2/spec.html#id2777534 -[*.{yml,yaml}] -indent_style = space +[*.{sh,yml,yaml}] indent_size = 2 +indent_style = space # yaml-lint configuration # YAML files should be indented with spaces, which .yamllint is [.yamllint] -indent_style = space indent_size = 2 +indent_style = space -[*.sample] -indent_style = space +[default.git*] indent_size = 2 +indent_style = space [.git/**] -indent_style = space indent_size = 2 +indent_style = space diff --git a/.gitaliases b/.gitaliases index d64794c..bce051e 100644 --- a/.gitaliases +++ b/.gitaliases @@ -1,16 +1,16 @@ [alias] - co = checkout - cm = commit -s - st = status - br = branch -v - fa = fetch --all - graph = log --pretty=format:\"%h %s\" --graph + co = checkout + cm = commit -s + st = status + br = branch -v + fa = fetch --all + graph = log --pretty=format:\"%h %s\" --graph fo = fetch origin - usync = rebase upstream/master + usync = rebase upstream/master osync = rebase origin/master - aal = add * - po = push origin master - amend = commit --amend -s + aal = add * + po = push origin master + amend = commit --amend -s cmt = commit -S -s amends = commit --amend -S -s acmt = commit -a -S -s diff --git a/.gitmodules b/.gitmodules index fdca3cf..e69de29 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +0,0 @@ -[submodule "vscode"] - path = vscode - url = https://gist.github.com/6f8c8c173081ae98b229f3602d739589.git diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index f6a0b7a..34cc699 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -1,4 +1,3 @@ # [Don't be an asshole and don't be tolerant of assholes](https://asshole.fyi). That simple. - diff --git a/README.md b/README.md new file mode 100644 index 0000000..a90d700 --- /dev/null +++ b/README.md @@ -0,0 +1,16 @@ +# dots + +The non-confidential config store. Of course, confidential config values are not reused across devices. + +Other related documentations are available at [reviwiki](https://revi.wiki/wiki/%ED%95%B8%EB%93%9C%EB%B6%81:Setup/.dot). + +## LICENSE + +[Apache License 2.0](LICENSE). + +## Dependencies + +* Git, obviously +* Bash or zsh, while I haven't backed up zsh configs. +* gnupg or gnupg2. +* [ntfy](https://github.com/dschep/ntfy) and ``ntfy[telegram]`. diff --git a/README.wiki b/README.wiki deleted file mode 100644 index 962732a..0000000 --- a/README.wiki +++ /dev/null @@ -1,18 +0,0 @@ -== Dots == - -The non-confidential config store. Of course, confidential config values are not reused across devices. - -Other related documentations are available at [https://www.notion.so/revinim/Setup-02b636b665364d2297f1537e3611a6e2 Notion]. - -=== License === - -[https://revi.mit-license.org/2015/ MIT] License. - -== Dependencies == - -* Git, obviously -* Bash or zsh, while I haven't backed up zsh configs. -** If bash, [https://github.com/Bash-it/bash-it bash-it]. -** If zsh, [http://ohmyz.sh/ oh my zsh]. -* gnupg or gnupg2. -* [https://github.com/dschep/ntfy ntfy] and ntfy[telegram] diff --git a/default.gitconfig b/default.gitconfig new file mode 100644 index 0000000..5dfe0b9 --- /dev/null +++ b/default.gitconfig @@ -0,0 +1,26 @@ +[user] + name = Yongmin Hong + email = revi@omglol.email + signingkey = EA100E94 +[gitreview] + username = revi +[core] + editor = nano +[include] + path = ~/dots/.gitaliases +[diff] + tool = default-difftool +[difftool "default-difftool"] + cmd = code --wait --diff $LOCAL $REMOTE +[filter "lfs"] + clean = git-lfs clean -- %f + smudge = git-lfs smudge -- %f + process = git-lfs filter-process + required = true +[sendemail] + smtpserver = smtp.fastmail.com + smtpuser = revi@omglol.email + smtpencryption = tls + smtpserverport = 587 +[init] + defaultBranch = master diff --git a/gitignore.sample b/default.gitignore similarity index 100% rename from gitignore.sample rename to default.gitignore diff --git a/gitconfig.sample b/gitconfig.sample deleted file mode 100644 index eb82253..0000000 --- a/gitconfig.sample +++ /dev/null @@ -1,27 +0,0 @@ -[user] - name = Yongmin Hong - email = revi@pobox.com - signingkey = BEFF197A -[gitreview] - username = revi -[core] - editor = nano -[include] - path = ~/dots/.gitaliases -[diff] - tool = default-difftool -[difftool "default-difftool"] - cmd = code --wait --diff $LOCAL $REMOTE -[filter "lfs"] - clean = git-lfs clean -- %f - smudge = git-lfs smudge -- %f - process = git-lfs filter-process - required = true -[sendemail] - smtpserver = smtp.pobox.com - smtpuser = revi@pobox.com - smtpencryption = tls - smtpserverport = 587 -[init] - defaultBranch = master - \ No newline at end of file diff --git a/gpg.conf b/gpg.conf index 7506b30..bef2b6f 100644 --- a/gpg.conf +++ b/gpg.conf @@ -1,5 +1,5 @@ utf8-strings -keyserver hkp://oc.pool.sks-keyservers.net +keyserver hkp://keyserver.ubuntu.com personal-digest-preferences SHA512 cert-digest-algo SHA512 diff --git a/vscode b/vscode deleted file mode 160000 index efa5e89..0000000 --- a/vscode +++ /dev/null @@ -1 +0,0 @@ -Subproject commit efa5e89f1fcb4b016cbfe775941636b6ba5a0310