Horas and konnichiwa untuk semua


Setting up MediaWiki
May 20, 2007, 10:35 pm
Filed under: notes/General

A default install of MediaWiki will allow anyone to read and edit.
Adding these lines into LocalSettings.php will allow only logged in users to read/edit:

$wgGroupPermissions['*' ]['read'] = false;
$wgGroupPermissions['*' ]['edit'] = false;
$wgGroupPermissions['*' ]['createpage'] = false;
$wgGroupPermissions['*' ]['createtalk'] = false;

Furthermore, adding the following will allow only sysop to create accounts:

$wgGroupPermissions['*' ]['createaccount'] = false;
$wgGroupPermissions['sysop']['createaccount'] = true;
$wgWhitelistRead = array( "Main Page", "Special:Userlogin", "-", "MediaWiki:Monobook.css" );

See http://ericsantiago.typepad.com/eric_santiago/mediawiki/index.html



Developing add-on for Thunderbird
May 15, 2007, 1:45 pm
Filed under: notes/General


Indonesia dan Tagalog
May 15, 2007, 12:45 pm
Filed under: id/General

Ini kata2 yang sama antara bahasa Indonesia dan bahasa Tagalog.

Indonesia Tagalog
minum inum
gunting gunting
nangka nangka/langka
kambing kambing
balik balik
dinding dinding
kanan kanan
sayang sayang
mahal mahal
murah murah
takut takut
aku ako
simpan simpan



OpenWorkBench troubles
May 10, 2007, 7:06 pm
Filed under: notes/General

I have not been able to run OpenWorkBench on my WinXP Home.
I just saw a new post in the forum saying that in WinXP Pro the problem can be solved by running it as Administrator. Unfortunately it still does not work on my WinXP Home.
I tried on Vista Ultimate, even the install failed with “Internal Error 2739″. Some googling revealed that doing “regsvr32 c:\windows\system32\jscript.dll” may solve the problem. The info was not specifically for OpenWorkBench but it solved installation problem. But then OpenWorkBench could not start, giving error message regarding JRE not present. I installed “Java Runtime Environment Version 6 Update 1″ from java.com, this solved the problem.
Now OpenWorkBench runs on my Vista machine, but not on my main machine, i.e., WinXP.
And for the first time I saw it running: it’s not that impressive…



Redmine on FreeBSD
May 5, 2007, 11:15 pm
Filed under: notes/General

First get ruby’s tarball.
Then do “./configure; make; make install
Then install gems as follows:

 ruby setup.rb

Then install rails as follows:

gem update
gem install rails --include-dependencies

Then basically follow this basic installation steps:
http://www.redmine.org/index.php?s=install
(getting ruby via SVN is recommended on ruby site… so do the following svn checkout svn://rubyforge.org/var/svn/redmine)

But there will be iconv related error when running rake (rake db:migrate RAILS_ENV="production" and so on).

Change directory to /ext/iconv inside ruby’s tar ball directory, then do the following:

$ ruby extconf.rb --prefix=$HOME/app --with-iconv-dir=/usr/local
$ make
$ cp iconv.so /usr/local/lib/ruby/1.8/i386-freebsd5.4

This will elimiate iconv error.

Uncomment this on config/environment.rb

ENV['RAILS_ENV'] ||= 'production'

References:
http://www.imasy.or.jp/~garsl/td/?date=0509
http://www.machu.jp/diary/20041004.html#p01