Learning to make the hard things easy

WP-o-Matic breaks WordPress Related Links

Posted by on Nov 8, 2011 in PHP, Wordpress | 0 comments

function adminInit() { auth_redirect(); // force display of a certain section $this->section = ($this->setup) ?...

Read More

SlidePress Plugin Redirect Bug

Posted by on Nov 22, 2010 in PHP, Wordpress | 0 comments

When clicking on settings links for the SlidePress plugin in a multi-user WordPress site the plugin would redirect to /wp-admin/?c=1 for...

Read More

is_home() not working in my WordPress plugin

Posted by on Aug 4, 2009 in PHP, Wordpress | 0 comments

When using is_home(), is_category(), is_page() etc. in my WordPress plugin that displays category-based ads, they kept returning NULL. My...

Read More

USPS Web Tools

Posted by on Mar 27, 2009 in Family, PHP, Python, Z350 | 0 comments

I was trying to add the USPS API into osCommerce. I received the following error when adding this shipping module: RateV3 is not a valid...

Read More

Use Python to Save an FTP Directory List to File

Posted by on Mar 13, 2009 in Python | 0 comments

Written for Python 2.6 #!/usr/bin/python import ftplib ftp = ftplib.FTP("ftp.server.com") ftp.login("username",...

Read More

Using Python to replace spaces with underscores in filenames.

Posted by on Feb 25, 2009 in Python | 0 comments

Python can be used on Window, Linux and Mac. It just a simple install. download code #!/usr/bin/python import string import os import...

Read More