Codeigniter 4+ – Database Migrations

After a long time of being stuck on Codeigniter 3, I have decided to give Codeigniter 4 a try. And right off the bat I am overly enthused about how well put together the project is. However like some projects they are lacking in some areas of documentation. I am hoping with this series that I can fill in some of that.

Continue reading “Codeigniter 4+ – Database Migrations”

Konami Code – Javascript Code

Konami Code (Jap – Command) is a cheat code that appears in many Konami video games, although the code also appears in some non-Konami games. The code has also found a place in popular culture as a reference to the third generation of video game consoles. This is the javascript that you can implement into your open development to add easter eggs to your code.
This is the sequence of the code:
up, up, down, down, left, right, left, right, B, A
Continue reading “Konami Code – Javascript Code”

Twitter Application – Getting feeds from Twitter

Twitter has disabled the ability to easily retrieve Twitter Feeds, it is now more difficult than ever to get a proper feed. This is my list of steps that I use when setting up an application to retrieve that feed. First you have to understand that Twitter uses OAuth which requires four types keys to authenticate users. These are the steps to create those key.

First step is to log into the development area of Twitter.

Continue reading “Twitter Application – Getting feeds from Twitter”

Limelight Disable FlashPlayer for HTML5 Player

Well to get back to the roots of the site (tech) for a bit, here is something very interesting that happened while trying to force Limelight to use the HTML5 player on a site. One caveat is that Firefox does not support MP4 which is what Limelight uses when Flash is not available. Currently at the time of me writing this article Firefox does not support MP4, however they should be supporting this very soon, and are just awaiting a 3rd party package first.
Continue reading “Limelight Disable FlashPlayer for HTML5 Player”

Gearman 0.28 Setup on Centos 6

Gearman Setup on Centos

Was told about a great tool the other day for processing queues called Gearman. It has the ability to cluster both on the server side and on the worker side which allows you to grow your server without having to change too much once the queue manager is configured. The best part is that it keeps language independence on both sides of the fence. If you want to write your client using PHP and your worker as C, you can do that. Currently we are looking at moving all our emails to this queue manager so that we can offload them to a secondary server and the emails can be sent when the server has free cycles. So the point of this post is just to document some of the steps I had to go through inorder to setup Gearman on the server using PHP for the client and Worker.

Continue reading “Gearman 0.28 Setup on Centos 6”