Profile
Achievement
Roshambo's Recent Snippets
- All /
« Prev 1 Next »
Remove all those annoying thumbnail files that Windows users created while browsing your network drive. This command traverses all directories and deletes all "Thumbs.db" files as it finds them.
1
1552
posted 18 years ago by Roshambo
Read a page's GET URL variables and return them as an associative array.
----
Example for URL http://www.example.com/index.html?hello=bonjour&goodevening=bonsoir
var hash = getUrlVars();
alert(hash['hello']); // prints 'bonjour'
alert(hash...
35
8085
posted 18 years ago by Roshambo
Greatly speeds up a slow Safari by purging any cached icons which have not been accessed in the past 30 days. Works well as a cron job.
From http://www.macosxhints.com/article.php?story=20040323144305318
2
1287
posted 18 years ago by Roshambo