{"id":360,"date":"2006-07-26T13:36:45","date_gmt":"2006-07-26T18:36:45","guid":{"rendered":"http:\/\/ywwg.com\/wordpress\/?p=360"},"modified":"2006-07-26T13:36:45","modified_gmt":"2006-07-26T18:36:45","slug":"hack-of-the-day-versioned-tomboy-notes","status":"publish","type":"post","link":"https:\/\/ywwg.com\/wordpress\/archives\/360","title":{"rendered":"Hack of the Day: Versioned Tomboy notes"},"content":{"rendered":"<p>I have a &#8220;TODO&#8221; tomboy note that I constantly update with little notes, things to pick up at the store, etc.  However I don&#8217;t like the fact that my history isn&#8217;t saved.  In one case I had a URL I had plunked in my TODO but hadn&#8217;t kept anywhere else.  I went to find it recently, and I had deleted it from my note.  Luckily I had a backup with the old version of the note, and I was saved.<\/p>\n<p>It would be nice to have a versioning plugin for tomboy (like a wiki) but I&#8217;m too lazy to code the solution, so I came up with an Awesome Hack instead:  CVS and cron.  I turned my ~\/.tomboy into a CVS repository, and set up a cron job that would scan my notes every hour and commit to the repository.  Now if I want to go back in time I can browse through the revisions.<\/p>\n<p>Having an actual versioning plugin would be preferable to all this, but barring that this is a decent enough stopgap measure.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have a &#8220;TODO&#8221; tomboy note that I constantly update with little notes, things to pick up at the store, etc. However I don&#8217;t like the fact that my history isn&#8217;t saved. In one case I had a URL I had plunked in my TODO but hadn&#8217;t kept anywhere else. I went to find it &hellip; <a href=\"https:\/\/ywwg.com\/wordpress\/archives\/360\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Hack of the Day: Versioned Tomboy notes&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,1],"tags":[],"_links":{"self":[{"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/posts\/360"}],"collection":[{"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/comments?post=360"}],"version-history":[{"count":0,"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/posts\/360\/revisions"}],"wp:attachment":[{"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/media?parent=360"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/categories?post=360"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/tags?post=360"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}