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 (?)





Extending Microsoft Standalone System Sweeper #
(UPDATE: Standalone System Sweeper has a new name: Windows Defender Offline. Unfortunately, Microsoft has restricted WDO to prevent the extended functionality described below.)

Following closely on the heels of the recently released Microsoft Safety Scanner (which is reminiscent of Trend Micro's classic SysClean), Microsoft has released their Standalone System Sweeper to the general public (download page). As mentioned previously, this bootable antimalware tool has been restricted to those with access to the Microsoft Desktop Optimization Pack (MDOP) / Diagnostics and Recovery Toolset (DaRT) as part of a TechNet, MSDN, or other subscription service (though the DaRT 7 beta is now available to anyone that completes a short questionnaire (Windows Live ID required)).

The newly-released Standalone System Sweeper has several benefits and drawbacks compared to DaRT:
+ no need to build a WinPE image, as it is bundled in the download
+ works on a wide variety of Windows hosts (unlike DaRT, which, with 3 or 4 different verions, is very particular about which OS it runs on)
- additional DaRT tools (Locksmith, File Restore, Disk Commander, etc) not included
- no obvious way to access standard Windows tools (chkdsk, cmd, regedit, diskpart, robocopy, etc) even though they are included in the disc image
Here's how to work around that last one:
  1. Click Home
  2. Click drop down arrow next to Help icon
  3. Click Check for updates > Browse...
  4. Click Computer > X: > Windows > System32
  5. Right click cmd (or notepad, taskmgr, etc) > Run as Administrator

Virus definitions (mpam-fe.exe) can be downloaded from Microsoft (choose the 32 or 64 bit versions next to the Security Essentials logo).

If you want to work with the registry, see Michael Pietroforte's instructions for using regedit as an offline registry editor.

/windows | May 30, 2011

Restore off-screen application windows #
Green Award ForceWindowVisible 1.1 [30k] {S}+ Force application windows to appear on screen (even the recalcitrant ones that insist on remaining off screen after switching from multiple monitors back to single).  Screenshot

/windows | May 30, 2011

A simple weblog generator written in Python #
Pelican, by Alexis Métaireau, calls to mind similar engines like Blosxom and Ode; blog entries can be created in any text editor and a simple CLI tool (re)generates the static pages. Support for Disqus comments, themes, and PDF output. (Via Brian Lane's post on HackerNews. See also the creator's original announcement.)

UPDATE: Bert JW Regeer points to an even simpler Python script by Oben Sonne called Poole. Example site

/blosxom | May 29, 2011

Batch convert month names to numbers in filenames #
This bash oneliner renames files formatted as Monthyyyy (January2003, March2011, etc) to mm-yyyy (01-2003, 03-2011, etc):
$ for i in * ; do mv $i $(echo $i | sed -e "s/January/01-/" -e "s/February/02-/" -e "s/March/03-/" -e "s/April/04-/" -e "s/May/05-/" -e "s/June/06-/" -e "s/July/07-/" -e "s/August/08-/" -e "s/September/09-/" -e "s/October/10-/" -e "s/November/11-/" -e "s/December/12-/") ; done

"Good, Watson, good! But not, if I may say so, quite good enough!" -- Sherlock Holmes in The Valley of Fear

Indeed, we'd be better off with a date format like yyyymm. Let's swap the position of the month and date, removing the hyphen at the same time:
$ for i in * ; do mv $i $(echo $i | sed "s/\(.*\)-\(.*\)/\2\1/") ; done

Now the files are named 200301, 201103, etc.

RenameWand also makes short work of file renaming operations, especially involving dates. The previous example becomes:
$ java -jar RenameWand.jar "<month>-<year>" "<year><month>"
Files can even be renamed into subdirectories based on dates in their names (e.g., "foo jun 2011" becomes 2011/jun/foo):
$ java -jar RenameWand.jar "<a> <month> <year>" "<year>/<month>/<a>"

/nix | May 26, 2011

Migrating from the QuickBooks 2011 for Mac trial to retail #
Intuit offers a 30-day trial of QuickBooks 2011 for Mac. Sadly, they do not offer a way to activate or convert it to a retail copy. Instead, you can download a retail version from Intuit for $229.95 or buy a boxed copy from Amazon for $179.99. For those who choose the latter, beware: the data you've been working on in the trial version cannot (initially) be opened by the retail copy from disc. You're greeted with this helpful message:
The document "filename.qb2011" could not be opened. The managed object model version used to open the persistent store is incompatible with the one that was used to create the persistent store.
This can be resolved by updating to the latest version (QuickBooks > Check for QuickBooks Updates...). Before pressing "Install and Relaunch", you may want to grab a copy of the downloaded archive (which is a full version of the app and was located at /private/var/folders/ec/longstring/-Tmp-/QuickBooks 12.0f4060 Update/QuickBooks.tgz on my machine) for safe keeping.

On a side note, to cd into a directory that starts with a dash / hyphen / minus sign, prefix the name with the directory path (i.e., './'). cd -Tmp-, cd '-Tmp-', and cd "-Tmp-", all return "invalid option", while cd ./-Tmp- does the trick.

/mac | May 13, 2011

Stephen Tobolowsky: Great Storyteller? #
Or greatest storyteller? If you do absolutely nothing else today, check out Stephen's podcast - it's the single greatest use of technology in history.

/misc | May 05, 2011



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

Blosxom Archive
2013: 5 4 3 2 1
2012: 12 11 10 9 8 7 6 5 4 3 2 1
2011: 12 11 10 9 8 7 6 5 4 3 2 1
2010: 12 11 10 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