Archive for the ‘Development’ Category

Dec
0

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…

Sep
0

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.

Limelight will do everything in its power to try to force you to use their methods for showing video, which means 90% of the time it will use flash.

For this to work you will need a couple of things first.

  • Limelight account with an uploaded video that you want to see always played in an HTML5 video player
  • A browser that can override the user agent (Chrome is best for this)

Continue Reading…

Mar
0

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…