Devlog :: And Wizardry

Fri, 06 Jan 2006

For CoffeFind...

as of 1/5, 1/6 *I want:*
  1. To sort by clicking on column title name
  2. To have the column heads vertical
    • you can maybe do that with css -- or it will be ruby
    • This *can* be done with ruby and regex
  3. There will be links to the reviews
    • Which means maybe I have to know the name of that column...
    • Or maybe I fix the content to look like a URL and detect that...
  4. some other stuff
[/items/Rails] permanent link


Re: Number 2. on my coffeeFind wish list

Column headers will be vertical... ruby -e "a = 'BodyMovement';a.gsub!(!/([a-z])([A-Z])!/, '\1 \2'); a.gsub!(!/(.)/, '\1<br>')" --> B
o
d
y

M
o
v
e
m
e
n
t

[/items/Rails] permanent link


Subversion for Firefox Bookmarks - What a concept!

I've been trying to think up a better way to manage my internet bookmarks for a while now. I've been keeping the current version of a bookmarks.html on my site. I have it set as the home page on any browser I use. To update it I have to edit a local copy and upload it as a replacement. This works OK but I've been wishing for a few more features. *what I wanted* - I want to be able to drop bookmarks in easily (no more hand edit and /scp/), and use a Firefox bookmark editor. Then I wanted to see the changes everywhere right away. My old bookmarks were something I did in HTML way back when, and they won't open in the Firefox editor. - I also wanted to backup my whole Firefox profile, including my bookmarks. This might have been another project, but instead, got both at once. *so...* So, I was thinking all sorts of things. Maybe a XML solution or some sort of weblog software plugin... Then today I just made a new repository on pwizardry.com and imported my workstation's Firefox Profile to it. Then I checked it back out into the webserver's htdocs/ directory. Then, I can just set http://pwizarcry.com/x/y/bookmarks.html as my home page on my browsers, and I'm almost there. I'll also check a working copy out into my Profiles directory on the computer I want to make my changes on. That will just be my home workstation for now. Then I can update my bookmarks in Firefox. When I check in the changes the new version is on the server. The next part of the solution is to add a /post-commit/ script to the hooks/ directory of the repository that will /*svn update*/ the htdocs/ working copy every time I make a commit. That's sweet! The last part is a little script on my workstation to do a /*svn commit*/ and a icon on the buttonbar to set it off. Works like a charm. ---- [/items/Subversion] permanent link