{"id":736,"date":"2024-01-02T22:55:47","date_gmt":"2024-01-02T21:55:47","guid":{"rendered":"https:\/\/people.iola.dk\/arj\/?p=736"},"modified":"2024-01-02T23:30:18","modified_gmt":"2024-01-02T22:30:18","slug":"a-work-diary","status":"publish","type":"post","link":"https:\/\/people.iola.dk\/arj\/2024\/01\/02\/a-work-diary\/","title":{"rendered":"A work diary"},"content":{"rendered":"\n<p>Acording to wikipedia, diaries are almost 2000 years old. And they still work just as well today! At work I have been keeping a simple diary in the form of a giant org document. It&#8217;s a practice I have been doing for 9 years and would not be without. While org mode can do a million things, I almost use <em>none<\/em> of the functionality. Instead the main function I use is the ability to search anything instantly. I use it as for todos, for saving SQL queries, code snippets, for links and in general for things I need to find again. I have a key binding to enable F9 to insert the current date and then I use tags to split things into topics. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>(define-key global-map (kbd \"&lt;f9>\")\n'(lambda () (interactive)\n  (when (eq major-mode 'org-mode)\n    (org-insert-time-stamp nil t nil)\n    (insert \" \")\n  )))<\/code><\/pre>\n\n\n\n<p>The only extra module I have installed is <a href=\"https:\/\/github.com\/sabof\/org-bullets\">org-bullets<\/a>. <\/p>\n\n\n\n<p>I store the file in git and just do commits regularly. Over time I split out the oldest entries into seperate files, keeping only the latest 3 years in the main file.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Acording to wikipedia, diaries are almost 2000 years old. And they still work just as well today! At work I have been keeping a simple diary in the form of a giant org document. It&#8217;s a practice I have been doing for 9 years and would not be without. While org mode can do a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[308],"tags":[],"class_list":["post-736","post","type-post","status-publish","format-standard","hentry","category-blog"],"_links":{"self":[{"href":"https:\/\/people.iola.dk\/arj\/wp-json\/wp\/v2\/posts\/736","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/people.iola.dk\/arj\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/people.iola.dk\/arj\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/people.iola.dk\/arj\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/people.iola.dk\/arj\/wp-json\/wp\/v2\/comments?post=736"}],"version-history":[{"count":4,"href":"https:\/\/people.iola.dk\/arj\/wp-json\/wp\/v2\/posts\/736\/revisions"}],"predecessor-version":[{"id":772,"href":"https:\/\/people.iola.dk\/arj\/wp-json\/wp\/v2\/posts\/736\/revisions\/772"}],"wp:attachment":[{"href":"https:\/\/people.iola.dk\/arj\/wp-json\/wp\/v2\/media?parent=736"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/people.iola.dk\/arj\/wp-json\/wp\/v2\/categories?post=736"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/people.iola.dk\/arj\/wp-json\/wp\/v2\/tags?post=736"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}