TinyApps.Org
Small is beautiful


 HOME

  0. Internet
  1. Text
  2. Graphics
  3. System
  4. File
  5. Misc
  6. Palm
  7. OS X

 BLOG

 DOCS

 FAQ

 RSS (?)




We may be the sons of whomsoever we will #
Seneca reminds us of our true endowment:
We are wont to say that it was not in our power to choose the parents who fell to our lot, that they have been given to men by chance; yet we may be the sons of whomsoever we will. Households there are of noblest intellects; choose the one into which you wish to be adopted; you will inherit not merely their name, but even their property, which there will be no need to guard in a mean or niggardly spirit; the more persons you share it with, the greater it will become. These will open to you the path to immortality, and will raise you to a height from which no one is cast down. This is the only way of prolonging mortality -nay, of turning it into immortality. Honours, monuments, all that ambition has commanded by decrees or reared in works of stone, quickly sink to ruin; there is nothing that the lapse of time does not tear down and remove. But the works which philosophy has consecrated cannot be harmed; no age will destroy them, no age reduce them; the following and each succeeding age will but increase the reverence for them, since envy works upon what is close at hand, and things that are far off we are more free to admire. The life of the philosopher, therefore, has wide range, and he is not confined by the same bounds that shut others in. He alone is freed from the limitations of the human race; all ages serve him as if a god. Has some time passed by? This he embraces by recollection. Is time present? This he uses. Is it still to come? This he anticipates. He makes his life long by combining all times into one.

/misc | May 12, 2009

Dell Inspiron 600m - Disable flashing orange LED (dead battery indicator) #
The Dell Inspiron 600m has a row of display lights just under the LCD panel. From left to right they are: power, hard drive activity, battery, and Bluetooth. When the battery no longer holds a charge, its LED blinks orange four times and then green once. Removing the battery altogether stops the blinking, but then the laptop wobbles as one of its four feet is on the battery. I was able to "disable" the orange flashing by removing the center control cover and covering the tiny LED on the motherboard with electrical tape. Of course, if your battery light is flashing, you should contact Dell immediately since it might explode anytime.

/windows | May 12, 2009

Copy corrupt files #
BadReader [160k] + Copies corrupt files (from CDs, for example) by skipping bad blocks.  Screenshot
(via Mike Mills)

/windows | May 06, 2009

OS X: Move data from an old user account to a new one on the same computer #
Migrating data from an old user account to a new one under OS X (without first copying it to another device) can be a little tricky due to permissions issues. This procedure worked well for us, but it might not for you; proceed at your own risk (and joy):
  1. BACKUP all critical data to an external drive and then disconnect that drive. Do not reconnect until you are SURE that everything has worked out.
  2. Create the new user account and log in at least once. Do not create any new data under this account, as it would simply be overwritten in the ensuing steps.
  3. Enable the root account
    • In Tiger: Applications > Utilities > Netinfo Manager > Security > Enable Root User
    • In Leopard: Applications > Utilities > Directory Utility > Edit > Enable Root User
  4. Login as the root user and drag desired directories (iTunes, iPhoto Library, Keychains, etc) from the old user account to the new one. We are moving, not copying, the data.
  5. Login as the new user and open a Finder window.
  6. Right click on the new user's Home directory and select Get Info.
  7. Under Sharing & Permissions, click "Apply to enclosed items" (Leopard users will need to click the gear icon first to reveal it).
  8. That's it! If you run into any troublesome directories, try BatChmod for adjusting permissions (BTW, BatChmod can also remove ACLs added to a folder or file under Leopard). You may want to delete the old user account (System Preferences > Accounts) when you're sure everything is good. Finally, don't forget to disable the root account.

/mac | May 06, 2009

Missing Sync for Palm OS won't launch #
After installing Missing Sync for Palm OS 6.0.4 on Tiger 10.4.11, the application refused to launch. Its icon would simply bounce in the Dock for 20 seconds or so before crashing completely. The Console revealed this error:
Missing Sync for Palm OS[335] An uncaught exception was raised
Missing Sync for Palm OS[335] *** -[NSPlaceholderString initWithString:]: nil argument
fseventer did not turn up any clues as to where it might be hanging, so we made a new OS X user account; sure enough, Missing Sync worked fine there. We moved the old user data to the new user account, and everything worked beautifully. For a while.

After another hour or two worth of installs, data migration, etc, the same error returned. It took a nontrivial amount of time to finally isolate the culprit: the new user's Movies folder had been moved to an external hard drive and that drive was unmounted. When Missing Sync launched, it would crash if it could not find the Movies folder (even though syncing movies had been disabled earlier).

One final problem was with the Mark/Space Notebook: the categories imported just fine, but none of the memos. These instructions did the trick: Overwrite your desktop data with the handheld device. The process makes iSync (which normally doesn't offer an option for the handheld to overwrite the desktop) see all of the memos on the Palm as newer than those in Mark/Space Notebook, which it overwrites.

/palm | May 05, 2009

Running L2TP VPN Server under OS X Client #
Newly added to the Docs section: Enable VPN server in OS X for remote access via iPhone, Windows, and OS X clients

/mac | May 03, 2009

Taking timed screenshots in OS X #
Looking for a simple way to take screenshots at a set interval, I happened upon this solution which relies on cron. Unfortunately, cron cannot schedule jobs in increments of less than one minute, and I wanted to take screenshots every 3 seconds. Adding delay and repeat to the same script did the trick (note that the save directory has also been changed to the current user's Pictures folder):
repeat
	set DATE_TIME to do shell script "date +%Y_%m_%d_%H%M%S"
	set fname to DATE_TIME & ".png"
	do shell script "/usr/sbin/screencapture -x ~/Pictures/" & fname
	delay 3
end repeat
UPDATE: Just found an open source REALbasic app called Timed Screenshot (2.5MB) that apparently does essentially the same thing. Haven't tried it yet since the AppleScript solution worked beautifully.

/mac | May 01, 2009



Categories
/blosxom
/mac
/misc
/nix
/palm
/windows

Blosxom Archive
2010: 9 8 7 6 5 4 3 2 1
2009: 12 11 10 9 8 7 6 5 4 3 2 1
2008: 12 11 10 9 8 7 6 5 4 3 2 1
2007: 12 11 10 9 8 7 6 5 4 3 2 1
2006: 12 11 10 9 8 7 6 5 4 3 2 1
2005: 12 11 10

Blogger Archive
2005: 10 9 8 7 6 5 4 3 2 1
2004: 12 11 10 9 8 7 6 5 4 3 2 1
2003: 12 11 10 9 8 7 6

Ezine Archive
2004: 4 3 2 1
2003: 12 9 8 7 6 5 4 2 1
2002: 12 10 9 8 7 6 5 3 2 1
2001: 12 11 10