1. How to install pear modules with MAMP :: MDB2

    One of the best tools I use for local development is MAMP (pro) for OSX, recently I needed to add MDB2 to the local install in order to get my local dev environment working completely for a client.

    Until today I’ve been getting an error:
    Fatal error: Class 'MDB2' not found in ...

    Pear needed some additional packages to connect to the DB.

    Here’s what you’ll need to do to install pear packages with MAMP on OSX.

    Open the terminal and include the full path to pear on the install.

    /Applications/MAMP/bin/php5/bin/pear install  [package]

    For MDB2 I ran:

    /Applications/MAMP/bin/php5/bin/pear install  http://download.pear.php.net/package/MDB2-2.5.0b2.tgz

    Then

    /Applications/MAMP/bin/php5/bin/pear channel-update pear.php.net

    Since I’m using MySQL I had to install the driver.

    /Applications/MAMP/bin/php5/bin/pear install http://download.pear.php.net/package/MDB2_Driver_mysql-1.5.0b2.tgz

    That’s it. Make sure to download the latest packages from pear.php.net.

  2. kids say the darn’dest things…

    Took Avery to school today to find out what her and the class thought teeth were made of…

    I think Jacob’s parents smoke too much.

    Oh yeah, Avery now thinks teeth are made of bone not paper. … Read More »

  3. Tornado Rips Through Soccer Game by suprise! must see!!...

    Crazy(via Tornado Rips Through Soccer Game by suprise! must see!!!)
    Read More »

  4. Lil Drummer Man

    this is the best thing I’ve ever seen.(via Lil Drummer Man)
    How is this happening? Is this real? … Read More »

  5. How to fix your SF4 Standard Edition FightStick Madcatz Fightstick

    p1040267My fighstick had the now famous washer issue, I was about to send it back to madcatz but with the shipping costs of having to send it back and the wait time to have it fixed I decided to just mod it. Although, with the parts taking a week or two I decided to break it open and try to fix it in the mean time.

    First, my joystick started sticking from day one, it wouldn’t occur often or long enough to warrant any concern. That was a mistake. What was happening: the washer was slipping out of it’s recess (see graphic below) which caused the sticking, then after enough  tiger uppercuts the washer ruined my pcb board.

     

    If your stick is sticking, decide whether to send it back or open it now. Don’t wait for your stick to be damaged permanently.

    Bellow the yellow arrows point to the damage and the red arrow points to the soldering job I did tonight.

     

    pcb

    The fix:

    Open it up-

    p1040266

     

     

     

     

     

     

     

     

    p1040265

     

    Remove those four screws on the joystick plate and remove the stick from the case. There’s some glue on the connector so get a razor blade and be careful not to break anything :)

     

    p10402621

     

    Pop the clear plate off. Use a flathead screw driver from the bottom. Then remove the switches and pcb and hope for the best.

     

     

    p10402611

     

    Below you’ll see the washer (silver).

    p10402581

    I applied some superglue below the washer, in order to make it stick (pun not intended). I didn’t take the whole thing apart, I just lifter the washer applied a drop and rotated around to two other points. You may want to go all out but if applied correctly you should create a lasting bound without affecting anything else.

    Note: be careful, make sure not to get the glue anywhere else, I’m sure you know why.

    After about 5 minutes of drying you can put the thing back together and start playing. Unless you have some damage to your board, like me.

    Good thing my soldering skills are still there after 15+ years.

    pcb

    The red is where the connection was broken and I had to solder the connection back. The yellow shows all the damage from the washer.

    Good luck…breaking your warranty and fixing your controller.

  6. GMail Tasks for your Google Apps account

    Found out the URL today to use gmail tasks for the iPhone when you have a Google apps account.

    https://mail.google.com/tasks/a/yourdomain.com/iphone:

    Sort of crazy that they don’t have this documented anywhere.

    There’s also an android version:

    https://mail.google.com/tasks/a/yourdomain.com/android

  7. Give Up and Use Tables

    If it takes you that long to create a CSS layout you should just use a framework like 960gs or my favorite blueprint.Sometimes though, a table is necessary–like email marketing and never.(via Give Up and Use Tables)
    You know, we’ve all been there. We want to make it work with CSS. But sometimes it’s just not worth the … Read More »

  8. 10 things you should know about Hahlo 4

    I’m really looking forward to the next release. I still think Hahlo is the best client for twitter..(via 10 things you should know about Hahlo 4)
    1. Its all new and shiny.
    I’ve started from scratch, part of the reason its taking a while to complete, the existing Hahlo 3 … Read More »

  9. Displaying a posts current category and parent category...

    Since WordPress doesn’t allow for limiting the category in “the_category” I had to write some … Read More »

  10. Google’s Task List Turns Up On The Android And iPhone

    I was really excited about this until i figured it’s not working for apps owners just yet.(via Google’s Task List Turns Up On The Android And iPhone)

    When Gmail Labs added a Task list to Gmail in December, it turned out to be an extremely popular feature. Now the Tasks app is going mobile, … Read More »