Quickly Run A HTTP Server From Any Directory

Python makes it easy to run a simple http server from any directory on your system. From command line execute the following command from the directory you would like the server to run from: $ python -m SimpleHTTPServer 8080 A simple http server will be running with the root being whatever directory you executed the… Continue reading Quickly Run A HTTP Server From Any Directory

Debug and Inspect Webpages on AVD (Android Emulator) Browsers

There is a lot of documentation on the web on ways to debug websites for Android using their AVD (Android Virtual Device/Emulator). But I thought to make a simple step-by-step instruction to get a web debugger up and running for an AVD. Weinre is the debugger that I use. You can download weinre build from… Continue reading Debug and Inspect Webpages on AVD (Android Emulator) Browsers

Avoid FTP Info Request From WordPress Updates

When performing WordPress updates, some installations prompt for FTP information. This request for FTP information is because WordPress cannot write the updates to files on the server through PHP and therefore requests FTP login information to attempt to write files via FTP instead of PHP. But, if you do not have FTP access, or do… Continue reading Avoid FTP Info Request From WordPress Updates

Alternative to Akismet

Aksimet is a paid anti-spam comment service that comes standard with your WordPress installation. As it is the standard for dealing with comment spam in WordPress, but it is a paid service. A combination of the following two plugins has proved to be a great free alternative to Akismet: Antispam Bee (Don’t let the German… Continue reading Alternative to Akismet

AWS micro EC2 instance WordPress LAMP stack optimized low memory settings

Amazon Web Services EC2 micro instances are a good way to test and develop a LAMP stack running WordPress, but, the settings for Apache, MySQL and PHP on a Linux AMI (Amazon Managed Image), by default, tend to have memory settings too high for using on a micro EC2 instance. Which can cause the WordPress… Continue reading AWS micro EC2 instance WordPress LAMP stack optimized low memory settings

AWS EC2 Amazon Linux AMI change timezone

AWS (Amazon Web Services) EC2 Amazon Linux AMI timezone will most likely be different than your local machines’ timezone. To remedy this issue on Amazon’s Linux machine image, ssh in and type the following commands in prompt: sudo su become root user ln -sf /usr/share/zoneinfo/America/Toronto /etc/localtime Choose your time zone ( in this example Toronto… Continue reading AWS EC2 Amazon Linux AMI change timezone

Solving WordPress’s White Screen of Death

WordPress has an issue that can be dumbfounding to say the least. An occurrence called the “White Screen of Death” can happen for really any issue; incompatible plugin, theme bug, an update to a file, etc. But it’s the blank screen with no information that is the difficult part of solving the blank screens cause.… Continue reading Solving WordPress’s White Screen of Death