A little while back, I wrote a PHP script to generate a random set of large arrays and both summate them across one dimenion, and sort them. Continue reading
WPTouch enables you to disable/hide the author name in the main index page through the options, but how do you do so on the post pages?
How to test the distribution of your random number generator function. Example provided in PHP.
Sometimes I need to set up a database/table in MySQL for just testing a few things, and its not that easy to do manually (especially for a large number of entries). So I wrote a quick PHP script to actually do this work for me.
I often find myself having to prototype code and create database tables that I restructure often. I needed a tool to quickly generate MySQL database table structures without my having to manually write the CREATE TABLE statements myself.
I have to sometimes automatically stand up (create) and shut down temporary MySQL instances in order to run some scripts and commands on them. Instead of having to keep an instance running forever, I was able to make sure of Amazon’s RDS service for cloud MySQL instances, using its AWS SDK in PHP. Continue reading
Recently I had to write a script in PHP to start up a EC2 instance and then return its hostname. I used the AWS PHP SDK for this. Continue reading