depicus

changing the digital world one bit at a time...

Blants (noun) the rants of a blogger

  1. Carphone Warehouse Review

    June 11, 2017 by The Man

    I wonder why Craphone Warehouse wouldn’t publish my review ?


  2. Mara’s new car

    August 29, 2016 by The Man

    So Mara needed a new car and here she is – Nadia – a Land Rover Discovery Sport MY17 to keep her cool in the summer and her bum warm in the winter.

    Discovery Sport MY2017

    (more…)


  3. Find large files in OSX

    May 15, 2016 by The Man

    This is just a reminder to myself as finder doesn’t find all files so…

    sudo find / -size +1G


  4. The 0800 088 5480 scammers

    March 22, 2016 by The Man

    What’s disturbing is this 0800 088 5480 number has been used for scamming for nearly two years – thanks to BT for making it impossible to report this scam number and allowing people to get scammed while you earn money off them.

    0800 088 5480

    There is a more comprehensive report here but despite being over a year ago they still been to be working from the same number.

    So, like most scams, they want to control your pc so they can install malware and steal your bank details. They pray on the old and will continue to do so when it’s so hard to report this. http://www.actionfraud.police.uk should be the place to report such crimes but they are only interested in general types of scam for their statistics and seem to be disinterested in actually closing these numbers down.

    Scammers scam because good men do nothing !!!


  5. Compress and Expire in Apache2

    February 15, 2016 by The Man

    This is so I can remember and copy/paste next time I need this. Add to your site.con

    <IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/plain
    AddOutputFilterByType DEFLATE text/html
    AddOutputFilterByType DEFLATE text/xml
    AddOutputFilterByType DEFLATE text/css
    AddOutputFilterByType DEFLATE image/svg+xml
    AddOutputFilterByType DEFLATE image/x-icon
    AddOutputFilterByType DEFLATE application/xml
    AddOutputFilterByType DEFLATE application/xhtml+xml
    AddOutputFilterByType DEFLATE application/rss+xml
    AddOutputFilterByType DEFLATE application/javascript
    AddOutputFilterByType DEFLATE application/x-javascript
    AddOutputFilterByType DEFLATE image/jpg
    AddOutputFilterByType DEFLATE image/png
    AddOutputFilterByType DEFLATE image/gif
    AddOutputFilterByType DEFLATE image/jpeg
    </IfModule>
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg "access plus 60 days"
    ExpiresByType image/png "access plus 60 days"
    ExpiresByType image/gif "access plus 60 days"
    ExpiresByType image/jpeg "access plus 60 days"
    ExpiresByType text/css "access plus 1 days"
    ExpiresByType image/x-icon "access plus 28 days"
    ExpiresByType application/pdf "access plus 28 days"
    ExpiresByType audio/x-wav "access plus 28 days"
    ExpiresByType audio/mpeg "access plus 28 days"
    ExpiresByType video/mpeg "access plus 28 days"
    ExpiresByType video/mp4 "access plus 28 days"
    ExpiresByType video/quicktime "access plus 28 days"
    ExpiresByType video/x-ms-wmv "access plus 28 days"
    ExpiresByType application/x-shockwave-flash "access 28 days"
    ExpiresByType text/javascript "access plus 7 days"
    ExpiresByType application/x-javascript "access plus 7 days"
    ExpiresByType application/javascript "access plus 7 days"
    </IfModule>


  6. Ubuntu find text in a folder recursively

    February 10, 2016 by The Man

    Very simple just grep it

    grep -r "WakeOnLanGui.zip" /var/www

    where WakeOnLanGui.zip is the text you want to find and /var/www is the folder and subfolders you want to search.

    Easy 😉