in reply to how do you organize your notes?
For projects, notes in various categories go into the flat text files README, TODO, BUGS, or QUIRKS (or go into the main documentation structure in other ways), and get version-controlled along with the code.
For things that interest me, I have a few different things that overlap each other.
On top of that, for things that are useful or interesting enough that I would be disturbed if the link vanished on me, I have a private mirror heirarchy (two actually, one for text files and one for HTML, but the text is almost entirely old Usenet clippings). For HTML pages of value, the bottom leaf of the directory tree is always a directory with the naming scheme date-title-location, and then I use the following command to mirror a page locally into it, complete with everything needed to display:
#!/bin/sh # Mirrors URLs given as arguments non-recursively but # including all items needed to display, replacing %20 in the name # with " " and appending ".html" to any items with no extension # # Use to mirror a small number of associated pages in one place /usr/bin/pavuk -singlepage -store_name index.html -norobots -auto_refe +rer \ -fnrules F \ '*' \ '(sc (ts %b "%20" " ") (sc "." (sif (seq %e "") "html" %e)))' \ "$@"
I can then browse through that directory tree, and when I click on the final entry, the page just pops up for viewing. The wiki gets updated with a "(local)" link next to the entry text.
|
|---|