Monthly Archives March 2005

boxquote and emacs-wiki-srctag

I like the many small functions of boxquote. However it’s not supported by emacs-wiki and I don’t think it will be: It’s conflict with emacs-wiki-srctag and lack the color thing when publish.
So it might be a good thing to port all the boxquote handy functions to emacs-wiki-srctag. On neat feature will be, advice kill-ring-save, and […]

Use specific tag when writing CSS

Or I’ll get un-easy find bugs. Here is an example:
I want to seperate the color and layout of CSS definition, so I can easily add different styles. So I have:
In color.css
border: red;
}
And in layout.css
border: 1px;
}
Then in style.css
@import "layout.css";
However, when the page is rendered, the table border still get the inhired color, not the red I […]

I can use unison to sync the comments

unison can sync two directories, which are changing on both side. It updates that do not conflict are propagated automatically. Conflicting updates are detected and displayed.
This is perfet for the comments back and force of planner-pyblosxom: people can comment on the blog via web interface, and I can reply comments within Emacs, even off-line. And […]

Disable apache directory listing

The easiest way is to disable the autoindex module, by comment out the following line in apach config file
LoadModule autoindex_module libexec/apache2/mod_autoindex.so
Hmm, how could I forget this?
This way we even same some RAMs

Share This

Prevent tasks lines from being wrapped

Keith Amidon posted this in the list:
(lambda ()
(setq auto-fill-inhibit-regexp "^#[ABC] +[_oX].*")
(setq truncate-lines t)))

Share This

new idea: planner-pyblosxom

After playing with muse-blosxom.el, (emacs-wiki-)blosxom.el, remember-blosxom.el and pyblosxom, I found it’s pretty wired that I’m writting everything in my planner page, while I’d have to write something again for my blog. Also that means I’d have to keep a seperate set of data, and it’s not an easy work to keep them synced.
The ideal thing […]

Mason, planner-auth, and FreeBSD

Well getting all of them working together is not a trival work for a Perl newbie like me. Andway I’ve found my way in, so here’s some notes:
The Mason doc by “perldoc HTML::Mason” suggested to run Mason with mod_perl, However, that requires /usr/ports/www/p5-libapreq2. It took me some time to find this out and then I […]

rnews 0.72 and 0.63

Well the current version (0.72) of rnews got some problem on charactor support and I think it’s in the magpierss package come with it or the interface between these two. The current magpierss should fixed this cause there’s no problem with /usr/ports/www/feedonfeeds, another PHP+Mysql server side rss aggregator.
So I’ll stay around with the current version […]

I can’t get gpg-agent work for me

To use it, I need the following ports: /usr/ports/security/gnupg-devel /usr/ports/security/pinentry-curses /usr/ports/security/pinentry-gtk /usr/ports/security/pinentry-gtk2 /usr/ports/security/pinentry-qt
And here is some good articles: https://savannah.gnu.org/faq/?admin=&group_id=5802&question=How_to_install_and_use_gpg-agent.txt http://gentoo-wiki.com/HOWTO_Kmail_gpg-agent_kde#What_is_gpg-agent.3F
And I need to make a link named pinentry that point to one of the pinentry-* above, all set it up in ~/.gnupg/gpg-agent.conf
I’ve get all these done and when I sign a file, the pinentry comes […]

restore arch archive is easy

All you need to do is make a new directory for the archive and copy all your old files in. Also the xtla command tla-archive-edit-archive-location (bind to “e” by default) is very helpful.
I got my public mirror signed. I need to setup gpg-agent for that: Providing my key for all the changesets make me tired! […]

Close
E-mail It