If you're new here and like what you read, please subscribe to my blog feed or sign up for free email updates. Thanks for visiting!
Enter your email address to subscribe:

How to setup PmWiki as CMS

No comment - Post a comment (nofollow disabled)

1. Set the title of your PmWiki installation: set $WikiTitle in config.php

2. Select an appropriate skin and set $Skin in config.php

3. Simplify the URL. If you don't have .htaccess, follow these steps: set $EnablePathInfo = 0; $ScriptUrl = "http://www.example.com/~someuser/pmwiki/";

4. Set an admin password for the site. This is locked by default. The admin password can be used to "overrule" passwords. Go to http://www.pmwiki.org/wiki/PmWiki/PasswordsAdmin?action=crypt and encrypt a password; you can then put the encrypted passwords in config.php thus: $DefaultPasswords['admin']='encrypted_value';

5. Set a password to edit, view attribute, view source, and view diff:
$DefaultPasswords['edit'] = 'encrypted_value';
$DefaultPasswords['attr'] = 'encrypted_value';
$HandleAuth['source'] ='source';
$DefaultPasswords['source'] = 'encrypted_value';
$HandleAuth['diff'] = 'diff';
$DefaultPasswords['diff'] = 'encrypted_value';

6. GetRidOfMain and use hyphens instead of spaces: download modified spacewikiwords.php

7. Modify your skin accordingly to hide/show elements you want.

Like this post? Please help me pay for my Internet access.
Links to this post
email post

University of San Carlos website goes to its webmail interface

No comment - Post a comment (nofollow disabled)

Just discovered this one:


September 15, 2008, around 7 PM, Philippine time.

Like this post? Please help me pay for my Internet access.
Links to this post
email post

How to print booklets using OpenOffice.org

No comment - Post a comment (nofollow disabled)

Note: This was done in an OpenOffice.org installation running on Ubuntu.

Type the document as you would any document.

Go to File > Print. On the print dialog box, click on Printer properties. Make sure that paper size is letter and the orientation is landscape. Click on OK.

Click on Options. Check Brochure (under Pages) and uncheck under Left or Right pages. Then click on OK. You will go back to the printing dialog box. Click on OK to print.

Do the same process, but now check the type of page (left/right) which you unchecked in the the second to the last step.

Like this post? Please help me pay for my Internet access.
Links to this post
email post

How to remove a Windows virus using Ubuntu

No comment - Post a comment (nofollow disabled)

My home PC, which is using Windows, got infected by a variant of W32.Blastclan. What I know are the following:

1. The virus copies itself to all of the infected drives and folders by making an executive file which has the name '[FOLDERNAME].exe'.
2. The size of the file is 290,816 bytes.

After reading some information about the find Ubuntu command line program, I figured out that the way to remove all instances of this virus from my removable drive would be to mount my flash drive into an Ubuntu PC. Then I navigate to /media/ISLESV and issue the following command: find -name '*.exe' -size 290816c -exec rm '{}' \;

The -name and -size options tell the find program that I would like all 290,816-byte *.exe file to be returned. Of course, there might be a legitimate program which satisfies these criteria, but the chance is very slim. The -exec option tells the program to execute rm {filename} for every file so far found.

Like this post? Please help me pay for my Internet access.
Links to this post
email post

New AVG url

No comment - Post a comment (nofollow disabled)

Thanks to my sister, my PC at home now has a virus which can't be detected by my outdated version of AVG Free. Oh, wait, AVG Free has a new URL: http://free.avg.com/ - short and easy to remember (unlike that old one at Grisoft.com)

Like this post? Please help me pay for my Internet access.
Links to this post
email post

National Bookstore wrong telephone number

No comment - Post a comment (nofollow disabled)

I love buying books. I even spend more on books than on clothes. I just bought a hardbound Breaking Dawn, the fourth in the Twilight series, for P700. That's almost two days' worth of work for me.

When you are in the Philippines, and you love books, it seems there is no escaping National Bookstore, the bookstore of the nation.

The problem is, they have a wrong telephone number in their contact page. Look at their Ayala Cebu branch. Get that first number? (032) 231-3825. Try dialling that number. What do you get? A bank. Yes, correct, a bank, in fact, the credit collection section of a bank (I won't name the bank; it's not part of this story anyway). "Oh, hello, did I dial 231-38-25?" "Yes, Sir." "And you are not National Bookstore?" "No, Sir." "Freaking website. Thanks anyway."

Lesson learned: Keep your website up to date.

Like this post? Please help me pay for my Internet access.
Links to this post
email post