Author: Carlos Roque

  • What is KPL and how it relates to DP2?

    KPL (Kodak Professional Language) is the underlying language that drives the DP2 Photo Lab production software. It is based on the C programming language family and it allows developers access to a lot of C methods and windows API’s. The language has been greatly expanded from it’s C roots to include features that are tailored to the photo production…

  • Using Public Keys With Putty to Connect to WHM running on Linux

    Update: Instructions take now the user name into account, not defaulting to root. So the other day I wanted to set up SSH with public keys through putty so I could connect to WHM. While I did find the instructions on how to do it, the instructions were lacking a lot of information. After a…

  • Sorting characters and numbers in mySQL

    So I have a table with a column in this form someColumn 1 A 2 C 3 10 When you ORDER BY someColumn you get result in this order  1,10,2,3,A,C as you can see the number sequence is all messed up, 10 doesn’t go after 1 to fix that you can do ORDER BY (someColum…

  • Adding the Authorize.net PHP SDK to CodeIgniter 2.0

    This is a follow up post to my initial Adding the Authorize.net PHP SDK to CodeIgniter 1.7. Now that CI 2.0 is out the plugins are long gone. So after a couple of minuted fiddling with this, I managed to get the Authorize.net API working as a library in CI Here is what you need to…

  • ddlab.net Website launch

    Just finished and published this website at work I think it looks pretty good ddlab.net

  • Web Colors Previewer

    Have you ever needed to see what a web color like #2a3f43 looks like? So did i that is why  I made this page Web color previewer just type the number in the preview box and you will get a box with the color you typed. If you input a new value the previous one…

  • Delete expired entries in MYSQL

    For those who want to delete items in a MySQL database based on a date field  the process is very easy. First of all you need a DATE field, for example a coupon expiration date. the data is saved in the following format: YYYY-MM-DD Then all you need to delete older items is this: DELETE…

  • X-Cart File too large for egoods download

    I have been working on xcart and even thought I really like it there is a huge problem with their egoods downloads. The site I was working on distributes large videos, up to 500 MB, but I was running on the problem that x-cart eGoods would only download 24.5 MB maximum. After browsing the interwebs i came across…

  • Adding the Authorize.net PHP SDK to CodeIgniter 1.7

    I am writing a site that requires credit card processing through authorize.net. I am building the site using the CodeIgniter framework. I was thinking I would have to do some fancy hacking or using a 3rd party library to make this work but it turns out that you can user the SDK provided by Authorize.net…

  • jQuery .show() not working properly in Chrome

    So I finally got around learning jQuery, better late than never, so on my first script I ran into this weird problem. I made this simple click once hide an element show another scrip for a simple accordion, it worked great in IE and FF but then when i tested in Chrome, it didn’t work!…