Archiv

Artikel Tagged ‘hack’

Bookmarks for Dezember 6th through Dezember 8th

8. December 2009 Keine Kommentare

These are my links for Dezember 6th through Dezember 8th:

Google analytics plugin, modified

28. November 2005 Keine Kommentare

Ⅰ am using the $dt‑>blog(); » Google analytics plugin here on this site, but for tracking outgoing link clicks Ⅰ have had to modify the plugin like this:


add_filter('the_content', 'ga_addonclick', 10);

function ga_addonclick($value){

if(get_option('ga_onclick')){

    $value = preg_replace("/<a href=\"([^\"]+)\"/e",
    "'<a href=\'$1\' rel=\'nofollow\' onclick=\''.ga_parseurl('$1').'\''"   ,$value);
    }
    return $value;

}

function ga_parseurl($href){ $onclickcode = stripslashes(get_option(‘ga_onclick_code‘));

$href = str_replace('http://', '', $href); 

return str_replace('$site',$href,$onclickcode);

}


KategorienUncategorized Tags: , , ,

backup to gmail?

24. July 2005 2 Kommentare

Reading this article about a failing hard drive as well as this note Ⅰ realized that it would be pretty neat if Ⅰ had an available backup solution off-site (like somewhere on the net) for free – just to store really essential files/folders, maybe a total of 100 MB. There would be the possibility of .mac (which is quite easy and useful but not free); then there is my storage at GMX – accessible via WebDAV, but horribly slow; my webhoster (with too few space), and then there is gmail – free, 2 GB space, searchable, accessible from anywhere with a web connection. And happily all you ever need to store stuff is just a fast connection to your webserver. And a script that does the job for you – maybe with a Cocoa-GUI where you can drag & drop certain files & folders – and whoopie, they get sent to your backup gmail address daily. You can always delete stuff from gmail if necessary – or just create another backup account!.

Has anyone seen this little script/tool for OSX yet?

Howstuffworks – Pithhelmet Rule

17. June 2005 1 Kommentar

Ⅰ just created a little rule for Pithhelmet that automatically sends me to the printable article version at Howstuffworks – much better on my eyes and my attention span. ;) pithhelmet rule for howstuffworks

Kategorienlinks, technology Tags: , , ,