hacks - feeling at home with bash

I longed for this for so many year but somehow never took the effort to research it. Turns out that bash autocompletion can be be made into something sane by adding the following to profile/bashrc:

# make bash autocomplete with up arrow
bind '"\e[A":history-search-backward'
bind '"\e[B":history-search-forward'
# make tab cycle through commands instead of listing
bind '"\t":menu-complete'
# make cd try only directories
complete -d cd

From drupal4hu.


Mediawiki and FCKeditor - tricks and hacks

mediawiki + fckeditor

Mediawiki is a truly a great software. Not everyone though is familiar with the wiki code. One solution is to use FCKeditor, a very popular WYSIWYG editor, which also has a mediawiki integration, if you follow the guide on the link you'll find it quite easy to install (use the last SVN).

One problem that's really annoying is that if the Rich editor is enabled clicking the preview button destroys the text formatting. This should not happen, but it makes sense since you are not supposed to click the preview button when you are already operating live on a preview. The problem is, I guess, the fact that the internal functions for previewing the page in FCKeditor are very different from the ones built in mediawiki, hence I think this problem will not be solved very easily.

Syndicate content