CartMetrix - Do you know yours?

9/20/2005

DLoads Pepper Released

Mint is a live stats package from Shaun Inman. Pepper is an API for adding modules to the core Mint application.

This is the initial release of DLoads which tracks files downloaded and provides live stats through the Mint interface.

Full information at Pepper DLoads.

Popularity: 14%

iTerm Here Applescript Update

Last week I posted a combination shell script, Applescript to open a new iTerm session in the local directory or a specified directory.

Version 1.2 is available for download now.

The Applescript was fixed so the new session always opens in the current window.

Popularity: 22%

Shortstat Hack To Remove Local Views

Prevent your own pageviews from appearing in Shortstat stats

Create a file called _getmyip.php in your Shortstat directory with the following code:

<?php

   $thisip = $_SERVER[‘REMOTE_ADDR’]
   $fp = fopen(‘_myip.php’, ‘w’);
   $buffer = ‘<’.‘? $_myip = "’.$thisip.‘"; ?’.‘>’;
   fwrite($fp, $buffer, strlen($buffer));
      
   if(fclose($fp))   echo ’set IP to: ‘ . $thisip
?>

Source: [ download | view ]

Add this code to the very top of shortstat/inc.stats.php:

<?php

   @include(‘_myip.php’);
   if($_SERVER[‘REMOTE_ADDR’] == $myip)   exit;

Now open up _getmyip.php in a browser, and check to see that it writes the _myip.php file properly.

Call this page up whenever you are working on or viewing your site to prevent your pageviews from skewing your data.

To be secure, rename _getmyip.php to something unique so someone can’t reset your IP address.

Popularity: 7%

9/19/2005

Find Large Files Wasting Disk Space

Find files over 8000k on all mounted drives and print the filesize and path:
find /$1 -mount -size +8000k -exec ls -sh {} \;

This one is suitable for a cron job. It does the same, sorts by filesize and mails the result to the supplied email address.

find /$1 -mount -size +8000k -exec ls -sh {} \; | /bin/sort -n | mail email@domain.com

Adjust the 8000k to search for larger or smaller files.

Popularity: 11%

Use a Read Folder to Keep Track of ToRead Items

Stop keeping windows open as a todo reminder

I typically keep a half dozen browser windows open, each with as many tabs. I use them as reminders; things to do, blog posts or articles that I want to read by haven’t had time, current projects, stats of sites I’m monitoring etc. With CodeTek VirtualDesktop it’s easy to get things all spread out.

Lately I’ve noticed my PowerBook (1.5GHz, 1.5GB DDR RAM), bogging down. There’s no reason I should be able to type faster than a new machine with that much RAM can think. Off to track down the resource hogs…

Firefox and Safari are maintaining a 10% - 12% draw on the CPU, each! I cycle through the tabs of each looking for a site stalled or any reason for the suckage. Nothing. There are quite a few blog posts and news stories that are running highly animated ads. Not to start a rant, but these ads are using my resources to try to sell me and impacting output by wasting CPU cycles that I should be using instead. There has to be a better way…

To start, I created a folder Reads on the desktop. Whenever I find a page I need to investigate further, whether its too long to read in the current flow of work or can’t be dealt with immediately (and doesn’t deserve a bookmark yet), I drag a link to it to my Reads folder and close the broswer tab. Done. Back to work.

I find the folder more useful than bookmarks for many reasons. Its easier. Easier to drag and drop and easier to view at a glance. Its sortable. The links can be renamed to something that makes sense to me or so like items alpha sort together. Real documents, PDFs, Word, emails and text can be stored along with the links. Subfolders can be created to further categorize items by status, project or personal/work.

The folder is sorted by date, newest to oldest so the most recent items are at the top. This serves multiple purposes. Items dealing with in progress projects are more likely to be at the top and easily accessible. If an item has been around for several weeks and hasn’t been dealt with, it’s easy to see what needs purged.

This surely is better than wasting CPU cycles keeping a window around for two weeks as a reminder to do something that’s never going to get done anyway.

Popularity: 17%

9/16/2005

Apple iTunes Takes a Hint

From the 'I Told You So' Files ...

A few months ago, I posted a response to a blog about the lack of user-friendliness in some areas of the Apple/Mac experience. I outlined a machine learning example of how to increase the user-friendliness of iTunes by offering different modes of random shuffle and ways to make the randomness ‘learn’ the user’s preferences through feedback. iTunes v5.0, released last week adds two ways to customize the randomness of it’s shuffle.

iTunes Random Shuffle

It doesn’t give a whole lot of granularity, but its a start.

Popularity: 14%

« Previous Page Next Page »


damonparker.org is proudly powered by WordPress
Entries (RSS) and Comments (RSS).

copyright © 2002-2008 damonparker.org. all rights reserved.

Close
E-mail It