Articles

Page 7



  • Django Apps on MediaTemple and main.fcgi error

    Thursday, November 11, 2010
    I was having had an issue with Django on my MediaTemple hosting and the urls being affected by a certain main.fcgi. It happened a while back, and then again recently so I decided to share the solution I found. Simply add the following to your settings.py ...

  • ie6 double float margin bug

    Sunday, August 8, 2010
    Here is the quickest fix I have found for fixing the ie6 double float margin bug, where all margin values are doubled on floating elements. Just apply: And the element float will be rendered as expected. Go figure...Thanks to http://www.positioniseveryth...

  • ie 7 min-width and button bug

    Wednesday, July 7, 2010
    🕑1 minute read
    A bug for anyone needing ie7 compatible forms using a min-width on the buttons. This also affects ie8 running in compatibility mode. If you are using a min-width for your form submit buttons then sadly ie7 will align button text to the right of the button...

  • Accelerometer setup and usage

    Tuesday, May 5, 2009
    To use the accelerometer in an iPhone application you need to add the into the.h file of your application: Then in your .m file you must setup the accelerometer:...

  • Creating and using an Array of objects in Objective-C

    Saturday, April 4, 2009
    First we need an array to hold the objects (in this case bullets) To remove an object from the array use:...

  • Objective C Timer

    Thursday, January 1, 2009
    This is a simple timer, you may need to declare some variables in the .h file....