• Twitter

    • Ads

    Archive for the 'Tutorials' Category

    Search for files modified in the last X amount of days in UNIX

    Searches for files modified up to 2 days ago. find ./ -type f -mtime -2 -exec ls -al {} \

    9 January 2012 at 17:09 - Comments

    Kilo Bytes Per Second vs. Kilo Bits Per Second (KBps vs. kbps)

    Measure of file size: KBps File size i.e. how big the file or how much space a file occupies in the hard disk measured in terms of KiloBytes (KB upper case “K” and upper case “B”). In computing terms the upper case “K” stands for 1024. 1024 is computed from 210. (2 power 10). 2 [...]

    13 September 2011 at 22:00 - Comments

    How to create a 1 gig file

    dd if=/dev/zero of=big-file.bin bs=1g count=1 or mkfile 1g big-file.bin

    12 August 2011 at 20:27 - Comments

    How to tar a directory and only include certain file types

    find myProjectDirectory -type f \( -name \*\.php -o -name \*\.js -o -name \*\.css -o -name \*\.inc \) | xargs tar -rf myProjectTarName.tar

    28 March 2011 at 12:10 - Comments

    How to change file or folder permissions recursively with chmod

    To set only files that end with .tpl to 600 (pattern escaped with slashes) find . -name \*\.tpl -exec chmod 600 {} \;

    28 March 2011 at 11:38 - Comments

    Facebook Conversion Tracking Prestashop Module

    The Facebook Conversion Tracking Prestashop Module. Need to track your ROI from Facebook Ads? With this easy to use Prestashop module you can. This module automatically adds the tracking conversion code when a customer makes a purchase so you can measure if your Ads are working. You can download the Facebook Conversion Tracking Prestashop Module [...]

    5 May 2010 at 01:41 - Comments

    eHow – How to Repair the Glass on an iPhone

    By Alyssa LaRenzie eHow Contributing Writer If your iPhone 3G screen is cracked, check first with Apple to see if your warranty covers the repair or a replacement. This repair can be difficult and should be attempted only if the image behind the glass screen is visible. With those precautions, repairing it yourself should cost [...]

    27 November 2009 at 19:38 - Comments

    Prestashop Manually Converting Carts to Orders

    Prestashop Cart2Order Module I recently had the need to convert customer carts into actual orders and since there wasn’t an easy way to do that with the base install code and a module didn’t exist, I wrote my own. Basically what this simple module does is convert a customer cart into an order. Here’s how [...]

    16 November 2009 at 01:27 - Comments

    Preventing the copying of your site design templates

    I was browsing the prestashop forum and ended up on a thread concerning an issue with people stealing a site design by downloading the template files from the theme directory. It struck me that this is probably something that those of you who use other template systems with your sites may also face, so thought [...]

    13 November 2009 at 16:45 - Comments

    Customising Prestashop Module Templates

    Please don’t edit those originals! I came across this little gem a while ago on the Prestashop forum, and thought I would draw attention to it in the hopes that it will help someone, somewhere. I’m not one to complain, but my pet hate is folks who edit the original source files on their stores, [...]

    13 November 2009 at 16:13 - Comments