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




Keynes is whack, yo. #

/misc | Jan 30, 2010

Batch convert HTML to PDF in OS X #
HTML files can be batch converted to PDF under OS X using a for loop and the virtually undocumented convert command (not the one from ImageMagick):

  for file in *.html;do /System/Library/Printers/Libraries/convert -f $file -o $(basename -s ".html" "$file").pdf;done

/mac | Jan 24, 2010

HTML Tidy: Batch processing files #
HTML Tidy does not natively support wildcards in filenames (e.g., *.html), but batch processing in bash is possible with a simple for loop:
  for f in *.html;do tidy -m -i $f;done
-m = modify original input files
-i = indent element content

(For a complete list of arguments, see the man page.)

/nix | Jan 24, 2010

Dell MFP 3115cn network scanning error: Network Not Ready 016-790 #
When connected to a network, the Dell 3115cn can send scans to a SMB share or FTP server. The setup process could be clearer, as evidenced by posts like these: We resolved a "Network Not Ready 016-790" error message from the panel: SCAN > Scan Defaults > Network Port > changed interface from the unused wireless to wired. This can also be done from the web interface: Printer Settings > Printer Settings > Scan Defaults > Network Port. While you're there, here are the SMB settings that worked for us:
  1. Address Book > Server Address > Create
  2. Name: enter a short, friendly name
  3. Server Type: SMB
  4. Server Address: use static IP of SMB server
  5. Server Port Number: 139
  6. Login Name and Login Password: account which exists on SMB server and has access to the shared directory
  7. Share Name: name of shared directory
  8. Server Path: blank

/misc | Jan 23, 2010

Two newly-listed Palm OS apps #
  • chmod v2.1 [8k] Calculates octal notation of *nix file system permissions  Screenshot
  • DiddleBug 2.90.7 [155k] {S} Sticky notes / sketch pad app with built-in alarm  Screenshot

/palm | Jan 23, 2010

Hide desktop icons #
Unclutter your OS X desktop instantly (for taking screenshots, giving presentations, faking fastidiousness, etc.):
  • Camouflage 1.25 [1126k] Hides desktop icons, leaving nothing visible but the wallpaper.  Screenshot
  • Screenshot Helper 2.0 [76k] Shows a full screen window with a solid color or a desktop picture so that you can take clean screenshots.  Screenshot

/mac | Jan 17, 2010

Quick contact sheets in OS X #
Macworld explains how to quickly create an image contact sheet in Leopard:
Open folder in Finder > Command-A > Command-Option-Y > click Index Sheet button > Command-Shift-3.

However, since images which scroll off the screen are not captured, this little app may be a better option:
ContactSheetMaker 1.0.1 [53k] {S} Simple, standalone application to create contact sheet image files from folders of images.  Screenshot

/mac | Jan 13, 2010

Google does the right thing #
A new approach to China: "We have decided we are no longer willing to continue censoring our results on Google.cn, and so over the next few weeks we will be discussing with the Chinese government the basis on which we could operate an unfiltered search engine within the law, if at all. We recognize that this may well mean having to shut down Google.cn, and potentially our offices in China."

UPDATE: Apparently this was all talk, no walk:

Google co-founder: Maybe we'll stay in China after all - A month after storming the moral high-ground over China's hacking activities, Sergey Brin has declared the firm is happy to get off its high horse and kick its heels in the country a little longer.

/misc | Jan 13, 2010

Cannot uninstall ZoneAlarm: "missing a necessary root certificate" #
Simply set the system clock back to 2007 or 2008 and relaunch uninstaller to bypass the root certificate error message.

/windows | Jan 12, 2010

Newly added icon editor for OS X #
Iconographer X 2.5 [891k] Full-featured icon editor. Formerly shareware, now free (registration name = "Iconographer is now free", code = "HG066414").  Screenshot

/mac | Jan 04, 2010

Detect the character encoding of a file #
The aforementioned Perl module Unicode::Japanese includes ujguess, which attempts to detect the character encoding of a given file. The Unix program file is often suggested on forums and the like for this purpose, but it only returns the file type, not the encoding. Here's an illustration of the difference, using a Shift JIS-encoded file:
$ file foo
foo: UTF-8 Unicode text, with no line terminators

$ ujguess foo
sjis
and an EUC-encoded one:
$ file bar
bar: ISO-8859 text, with CRLF line terminators

$ ujguess bar
euc

/nix | Jan 03, 2010

Create a universal Windows 7 install disc #
Setting aside the absurdity of offering a confusing array of editions, Microsoft made technicians' jobs slightly easier by including all editions of Vista (Home Premium, Ultimate, etc) on a single 32 or 64 bit disc (though both versions can apparently be combined with a bit of effort). This allowed techs to carry one or two discs at most and still be able to install whatever edition was required. Windows 7 changes all that; while the various and sundry editions are all tantalizingly included on the disc, a tiny configuration file (ei.cfg) forces a specific edition to be installed. Thankfully, Kai Liu has created win7utils to circumvent this irritation:
  • "The Windows 7 ISO Image Edition Switcher is a set of small binary patches (and a tool to apply these patches) that will convert an official Windows 7 ISO disc image into an official Windows 7 ISO disc image of another edition. The resulting ISO images are bit-for-bit identical with those posted on MSDN or TechNet, and their SHA-1 hashes should match the official hashes posted by Microsoft."
  • "The ei.cfg Removal Utility is a simple tool that will remove the ei.cfg from any Windows 7 ISO disc image, thereby converting the image into a 'universal disc' that will prompt the user to select an edition during setup. This tool works by toggling the deletion bit in the UDF file table, eliminating the need for unpacking and rebuilding the ISO, which means that this is extremely fast (the process of patching the ISO to remove ei.cfg takes only a fraction of a second), and the process is easily reversible (running the utility on a disc image patched by this utility will restore the disc image to its original state)."
(via Mike Mills who found it on Lifehacker which credited Technibble which attributed the link to a forum member named AtYourService - whew!)

/windows | Jan 03, 2010

Convert numbers and spaces from full-width (double-byte) to half-width (single-byte) #

Within filenames (using Bash, Perl, and Unicode-Japanese-0.47):
  1. $sudo perl -MCPAN -e shell
  2. cpan> install Unicode::Japanese
  3. Save the following script (adapted largely from togdon's example) as full2half.sh and make it executable (chmod u+x):
    #!/bin/bash
    for file in *;do
    newfile=$(echo $file | perl -MUnicode::Japanese -e'print Unicode::Japanese->new(<>)->z2h->get;')
    test "$file" != "$newfile" && mv "$file" "$newfile"
    done
  4. cd to desired directory and run script:
    $ /path/to/full2half.sh
    Convert full-width numbers and spaces to half-width
Within file contents (using OpenOffice.org):
  1. Tools > Options... (in OS X it's OpenOffice.org > Preferences...)
  2. Language Settings > Languages > check "Enabled for Asian languages" > OK
  3. Highlight text > Format > Change Case > Full-width or Half-width

/nix | Jan 02, 2010

Blue screen when booting into Safe Mode on malware-infected machine #
may be resolved by restoring the SafeBoot registry keys. You may need to create the SafeBoot registry key with special permissions protecting it from deletion. Tags: BSOD, Safe Mode, STOP 0x0000007B

/windows | Jan 01, 2010



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

Blosxom Archive
2010: 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