Hacker Newsnew | past | comments | ask | show | jobs | submit | more fm200's commentslogin

Emacs org mode, notes synced to repo on gitlab, work/confidential stuff encrypted with gpg.


Do you mean that you store work related stuff in your private github account, but with the addition of encrypting it?


Correct, gpg works out of the box with org files in emacs, you can google setup (https://orgmode.org/worg/org-tutorials/encrypting-files.html)!

One thing to note with this approach is that you wont see git diff, as encrypted files are blobs, so you have to be careful with it (its easy to overwrite something)... also, in two-three years, git repo size (depending on your usage) becomes/can become pretty large..

Other then that, its really good setup, and say you dont really fancy emacs/org-mode, you can pull same thing with encrypted text files/folders!


Seems like a good solution.

Did you check with your company that the storing of work related notes was allowed in your private repo?


Notes are just that, notes, they are extension of my thoughts and thinking process, no company can own those, so no, i have not discuss that with any company i have worked with, but to give more context, im not storing anything sensational there (code snippets, ideas, bash oneliners, config snippets, screenshots sometimes, links to various things etc... )

Its just a helper tool for me to get job done, and that is what matters most i think.

Another thing, after some time amount of "knowlegde" piles up really nicely, so the other day i needed some selinux magic for example. Few years ago i have worked with it, but over time i have forgot number of smaller details. So i reach org file called selinux.org where i have captured lots of details - notes if you like, on how whole damn thing works.. in a few hours i was already "productive" and with few extra ideas.. you get the idea..


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: