Tuesday, July 6, 2010

Blistering fast filename search

Have a look at this web site. It contains a search utility that is the fastest I have ever seen.
It will scan all NTFS filesystems and return a list of all the matching files... very quickly!

Here is how the author describes it


"Everything" is an administrative tool that locates files and folders by filename instantly for Windows.
Unlike Windows search, "Everything" initially displays every file and folder on your computer (hence the name "Everything").
You type in a search filter to limit what files and folders are displayed.

ps: Comments and/or links to this article are most welcome!

Monday, June 28, 2010

Tracking outbound links (and downloads) in Google Analytics

The question came up recently on how to track outbound links and downloads in Google Analytics.

A quick search revealed quite a bit of info.

I combined ideas and suggestions from a number of places and came up with some jQuery-based code that suits our requirements.

Please note that the following code was extensively based on code/comments from the following:

Many thanks to the authors of the above blogs for their great work!
Please do visit their sites and check out their work.

So, without further delay, here is the code.

$(document).ready(function()
{
   
trackOutboundLinks();
});

function trackOutboundLinks()
{

    // Only hook  'a' tags that do not have a class of 'noLinkTracking'.
    // This allows us to optionally exclude links from tracking
    $('a').not('noLinkTracking').bind('click keypress', function(event)
    {
        // If GA is not initialised, don't bother going any further
        // UPDATE 31oct2009:

        // instead of 'if (pageTracker)', use this instead
        // as it will also work when pageTracker is not defined

        if (typeof(pageTracker) != undefined)
        {
            var href = $(this).attr('href');

            // only do this for external links
            if (this.hostname && this.hostname !== location.hostname)
            {
                // Register an event and give it some meaningful values 
                //for our GA reports
                pageTracker._trackEvent('extenal', 'link', href);
            }
            // Track downloads of specified filetypes
            var fileTypes = ['doc','xls','pdf'];
           
            // Split the filename into period-separated parts
            var hrefArray = href.split('.');
           
            // look at the last one only
            var extension = hrefArray[hrefArray.length - 1];
            // one of those we want to track?
            if ($.inArray(extension,fileTypes) != -1)
            {
                pageTracker._trackEvent('download', extension, href);
            }
        }
    });
}


ps: Comments and/or links to this article are most welcome!

Monday, June 7, 2010

Lots of free PDF tools

This article has a great list of free PDF tools, that include editors, converters and many other PDF goodies.

There is also PDFCreator, which installs itself as a printer driver, so that any application can have its output sent to a PDF.


ps: Comments and/or links to this article are most welcome!

Wednesday, May 19, 2010

A picture to strike fear in your heart!!!




There are *no* words that could do this image justice!

Watch it and let your imagination run wild...or run for the hills!

Enjoy!


If you like this image, please leave a comment or rate it.



ps: Comments and/or links to this article are most welcome

Friday, April 30, 2010

How to enable admin shares in Win7

It seems Microsoft has decided that we no longer need access to the admin shares (i.e. \\pcname\c$  etc) we've had in XP and prior versions of Windoze.

Win7 actually does have them, but it does not use them by default.

Some clever guys have found a way to do it and here it is:
  • Fire up regedit
  • Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
  • Create a DWORD called LocalAccountTokenFilterPolicy
  • Give it the value of 1
Done!

I have tried this and it works with a need for reboot but, as with all things Windoze, you probably best reboot and hold your breath.

Enjoy!

ps: Comments and/or links to this article are most welcome!
Enhanced by Zemanta

Tuesday, March 9, 2010

DSLR update


- camera: Canon EOS550D
- lens: Tamron 18-270mm, f3.5-6.3 or Tamron 70-300mmm f4-5.6

not sure what prime lens to use yet...


ps: Comments and/or links to this article are most welcome!


Monday, January 4, 2010

How to set the Firefox proxy settings


If you want to use Firefox behind a proxy and need to tell it to bypass a range of addresses, this is how you do it:
Press Alt-O, Network, Settings

In 'no proxy for', use the following values.


10.0.0.0/8 will allow 10.*.*.*

10.0.0.0/16 will allow 10.0.*.*

10.0.0.0/24 will allow 10.0.0.*


In summary, the number after the '/' indicates how many bits to 'keep or mask', while allowing any value in the remaining bits of the address, starting from the left.

For example, 1.2.3.4/16 will cover the range 1.2.0.0 - 1.2.255.255
(i.e. keep the left 16 bits = 2 octets = '1.2')

For more examples of how this works, visit this CIDR calculator


ps: Comments and/or links to this article are most welcome!