diff options
author | Amin Bandali <bandali@gnu.org> | 2018-11-01 18:20:51 -0400 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2018-11-01 18:20:51 -0400 |
commit | 313f587783feb1c4b497451a2f3af370c0018ff9 (patch) | |
tree | 2c62897cc7c5e6771456ddaf819ea101b6357aeb /etc | |
parent | 0c158cafca2f97bc07de692ff4b81f300f292e8f (diff) | |
download | configs-313f587783feb1c4b497451a2f3af370c0018ff9.tar.gz configs-313f587783feb1c4b497451a2f3af370c0018ff9.tar.xz configs-313f587783feb1c4b497451a2f3af370c0018ff9.zip |
[emacs] assimilate slack and deps, clear up .gitignore, add secrets
hopefully the slack thing is temporary, as i don’t like using
proprietary platforms. however, if i must, i’d *much* prefer using
free software to access it, rather than executing proprietary JS.
note: since i’ve decided to commit etc/secrets.el, it shall not
contain any sensitive information itself, but rather how to obtain
them. therefore, it must be byte-compiled; and the byte-compiled
etc/secrets.elc must *never* be committed.
Diffstat (limited to '')
-rw-r--r-- | etc/secrets.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/secrets.el b/etc/secrets.el new file mode 100644 index 0000000..9feeceb --- /dev/null +++ b/etc/secrets.el @@ -0,0 +1,7 @@ +(require 'auth-source) +(defvar uw-apv-client-id (eval-when-compile (plist-get (car (auth-source-search :host "uw-apv.slack.com" :max 1)) :client-id))) +(defvar uw-apv-client-secret (eval-when-compile (plist-get (car (auth-source-search :host "uw-apv.slack.com" :max 1)) :client-secret))) +(defvar uw-apv-token (eval-when-compile (plist-get (car (auth-source-search :host "uw-apv.slack.com" :max 1)) :token))) +(defvar watform-client-id (eval-when-compile (plist-get (car (auth-source-search :host "watform.slack.com" :max 1)) :client-id))) +(defvar watform-client-secret (eval-when-compile (plist-get (car (auth-source-search :host "watform.slack.com" :max 1)) :client-secret))) +(defvar watform-token (eval-when-compile (plist-get (car (auth-source-search :host "watform.slack.com" :max 1)) :token))) |