Yesterday, I wrote a plugin and uploaded it to my website. I activated it and it activated successfully. But when I deactivated it, the page turns blank. On returning to the WordPress admin page, the plugin was successfully deactivated. I was also getting problems when I added custom field. The cause ? A blank line [...]
Author Archives: Siew Kam Onn
should you host with Lunarpages, should you get your 'free' domain with Lunarpages
Here’s a response I got when I tried to transfer my ‘free’ domain away from Lunarpages: Lunarpages can become the registrar for .com, .net, .org, .name, .us, .ca, .co.uk, .biz, and .info domains. Before we can process a domain transfer request, we need the following to be acknowledged and/or answered: There will be a one [...]
I can shoot pretty good pictures with a Pentax
I used to think that only Nikon or Canon cameras can shoot great pictures. The more I use my Pentax K20D and the more I know of its features, the more I begin to appreciate the advantages of Pentax K20D. My pictures are also getting better. Some of the features that I think Pentax has [...]
Hello world!
Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!Read more Uncategorized articles
doctest omits decorator functions / decorated def – a simple workaround
Apparently there is a known issue with doctests, in which tests in functions using externally defined decorators are ignored by doctest.Here’s a simple workaround. @aspect.processedby(aspect.tracing_processor)def aa(): ”’ Returns None — doctests —- >>> aa() True ”’ return False def all_tests(): ”’ Returns None — doctests —- >>> aa() True >>> aa() False ”’ return False [...]