My gollum installation is organized so that I have a different file for keeping developer notes each day:

http://cats.are.cute:7890/Developer/Notes/2012-12-6

I like to read through my notes chronologically so I can see my progress and changes over time. In order to browse through these pages quickly without having to edit the URL directly in the location bar or writing “next” and “previous” links into every file, I use JavaScript bookmarklets that increment and decrement the last integer in the URL.

The decrement bookmarklet:

javascript:(function()%7B%20var%20e,s%3B%20IB%3D-1%3B%20function%20isDigit(c)%20%7B%20return%20(%220%22%20%3C%3D%20c%20%26%26%20c%20%3C%3D%20%229%22)%20%7D%20L%20%3D%20location.href%3B%20LL%20%3D%20L.length%3B%20for%20(e%3DLL-1%3B%20e%3E%3D0%3B%20--e)%20if%20(isDigit(L.charAt(e)))%20%7B%20for(s%3De-1%3B%20s%3E%3D0%3B%20--s)%20if%20(!isDigit(L.charAt(s)))%20break%3B%20break%3B%20%7D%20%2B%2Bs%3B%20if%20(e%3C0)%20return%3B%20oldNum%20%3D%20L.substring(s,e%2B1)%3B%20newNum%20%3D%20%22%22%20%2B%20(parseInt(oldNum,10)%20%2B%20IB)%3B%20while%20(newNum.length%20%3C%20oldNum.length)%20newNum%20%3D%20%220%22%20%2B%20newNum%3B%20location.href%20%3D%20L.substring(0,s)%20%2B%20newNum%20%2B%20L.slice(e%2B1)%3B%20%7D)()%3B

The increment bookmarklet:

javascript:(function()%7B%20var%20e,s%3B%20IB%3D1%3B%20function%20isDigit(c)%20%7B%20return%20(%220%22%20%3C%3D%20c%20%26%26%20c%20%3C%3D%20%229%22)%20%7D%20L%20%3D%20location.href%3B%20LL%20%3D%20L.length%3B%20for%20(e%3DLL-1%3B%20e%3E%3D0%3B%20--e)%20if%20(isDigit(L.charAt(e)))%20%7B%20for(s%3De-1%3B%20s%3E%3D0%3B%20--s)%20if%20(!isDigit(L.charAt(s)))%20break%3B%20break%3B%20%7D%20%2B%2Bs%3B%20if%20(e%3C0)%20return%3B%20oldNum%20%3D%20L.substring(s,e%2B1)%3B%20newNum%20%3D%20%22%22%20%2B%20(parseInt(oldNum,10)%20%2B%20IB)%3B%20while%20(newNum.length%20%3C%20oldNum.length)%20newNum%20%3D%20%220%22%20%2B%20newNum%3B%20location.href%20%3D%20L.substring(0,s)%20%2B%20newNum%20%2B%20L.slice(e%2B1)%3B%20%7D)()%3B

I then added them to my bookmarks bar and named them using greater than (>) and less than (<) signs. Example usage: using the increment bookmarklet on http://cats.are.cute:7890/Developer/Notes/2012-12-6 directs the browser to http://cats.are.cute:7890/Developer/Notes/2012-12-7.