Month: June 2011

Automatically generating setters/getters for a C++ class in Eclipse/CDT

For example, we have a class that has private member fields as follow in a header file. class SMCPPacket { private: //Command Message Header section std::bitset acknowledgeRequest;//2 bit…

Changing the header image in the WordPress3’s default theme

Follow the following procedure. Dashboard->Appearance->Header in the Setting list. Upload an image. If you have error when cropping/resizing the uploaded image, do them before uploading the image. The…

MediaWiki style input in WordPress

By installing the WordPress plugin “WP-MediaWiki“, you can use the MediaWiki-style format when creating/editing a post or a page in WordPress. Heading with equals, e.g.==Heading2==, is espesically useful for…

Date time is not displayed correctly with qTranslate

When using qTranslate with WordPress 3.1.3, post date and time was incorrectly displayed, e.g. I got “%A %B %e%q, %Y” in the date time field (“%I:%M %p” field)…