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





POP, IMAP, and Exchange client for Android #
K-9 Mail is an open source email client for Android with support for POP, IMAP, and Exchange. K9 has two major benefits over Android's built-in Email app:
  1. It works
  2. Option to Bcc a copy of sent mail (ideal for POP accounts)

/misc | May 25, 2010

Newly listed full-screen text editors #
Zeus Poplar kindly sends word of Q10, a full-screen portable text editor. Unlike the previously mentioned WriteMonkey, Q10 does not require .NET.

Green Award Q10 1.2.21 [357k] + Full-screen, portable text editor  Screenshot

UPDATE: Just happened upon another standalone distraction-free text editor on Ghacks:

Green Award Zenedit 1.4 [283k] + Minimalist text editor designed to prevent distractions  Screenshot

/windows | May 23, 2010

Windows Firewall alternative #
Newly added to the Internet page:

GhostWall 1.150 [656k] Windows Firewall alternative ideal for low latency applications.  Screenshot

/windows | May 23, 2010

Ubuntu 10.04: Bypass minimum password length / complexity requirements #
Ubuntu 10.04 is requiring users to create more secure passwords than in previous versions. That is generally a good idea, but there are cases where you might want a simple password (for testing purposes in a VM, etc). The fastest method to bypass the minimum complexity and length requirements is to simply run the passwd command as root:

$ sudo passwd username

I mucked around in /etc/pam.d/common-password and read the man page for pam_unix before just chucking it and going with the above workaround.

/nix | May 18, 2010

Blosxom.com and Blosxom plugin registry listing mirror #
After reading this, I decided to post an archive of Blosxom.com and the Version 2 Plugin Registry Listing, including the code for all 465 plugins (602 counting the various versions):



Those desiring to dig deeper into Blosxom may enjoy Frank Hecker's annotated blosxom.cgi and Rob Reed's annotated Blosxom bundle.

/blosxom | May 14, 2010

Send To SFTP for Mac OS X #
There have been a number of Send To FTP/SFTP apps for Windows, but Nick Jensen's OneWay is the first OS X option I've seen. It allows quick and easy (S)FTP uploads via the Context Menu:

OneWay - SFTP uploads via the Context Menu

(via Hacker News)

/mac | May 12, 2010

Free PDF to DOC converters #
freewaregenius.com has a detailed review of free online and offline PDF to DOC converters. In my brief and unscientific testing, SmartSoft's lightweight Free PDF to Word Converter was the best for converting a long text-based PDF.

/misc | May 10, 2010

Delete / remove blank pages from a PDF #
The following was originally posted to http://www.accesspdf.com/article.php/20050128092744804. Found a copy on the Wayback Machine, which is apparently not indexed by Google.

Removing Blank Pages from a PDF

Friday, January 28 2005 @ 09:27 AM PST
Contributed by: Admin

Here is an idea for how to remove blank pages from a PDF using pdftotext and pdftk. It is based on a recent posting to comp.text.pdf.

demunn@yahoo.com wrote:
> Hello all,

> Sorry if this is a recurrent question. I'm rendering/printing an HTML
>  document from a web-based program to a pdf file. The web-based
> program has minimal features to control pagination, etc. (I know
> web-based print control is relatively primitive) and the outcome is
> unwanted blank pages in the PDF output file.

> Anyway, I'm basically looking for a program that will allow me batch 
> process a folder of PDF files and strip out the blank pages. Is there
>  any programs or utilities that will do this? Any suggestions are
> greatly appreciated

> DM

Here is one simple idea that assumes that all non-blank pages have
(extractable) text on them.

1. Use pdftotext (from the xpdf project) to convert mydoc.pdf to
mydoc.txt. Pdftotext uses the formfeed character (0x0c) to mark page breaks.

2. Scan mydoc.txt looking for pages with no text. Record these page
indexes (start counting at page 1, not zero).

3. If you find blank pages, use pdftk to remove them. Construct the
pdftk command line using the page indexes you collected in step 2. For
example, to drop page 3, say:

   pdftk mydoc.pdf cat 1-2 4-end output mydoc.noblanks.pdf

It shouldn't be too hard to write such a shell script, eh?

Sid Steward
http://www.AccessPDF.com/pdftk/

The Script

Using bash (via MSYS) on my Win2k machine, I have strung some commands together that identify PDF pages with no extractable text on them. I don't say "blank pages," because sometimes a non-blank PDF page has no extractable text on it.

#!/bin/sh
#
# find_textless_pdf_pages.sh
# bash script for MSYS; also requires pdftotext (xpdf);
#
# identify PDF pages that have no extractable text on them;
# linux users might need to omit the -c sed option and then
# drop the 'R' from the sed script;
#
# invoke like so:
#  find_textless_pdf_pages.sh mydoc.pdf
#
pdftotext $1 - |
tr "FRfr" "frFR" |
sed -c -n '/^FR$/{ N; /^FRnFR$/a
PageNoText
/^FRnFR$/!a
Page
D; }'

Command Breakdown

pdftotext - converts the input PDF file into text. It uses the formfeed character (f) to mark page breaks.

tr - translates characters. Sed doesn't see non-printing ASCII characters such as f or r (carriage return). So, translate R->r, F->f, and f->F, r->R.

sed - the stream editor. I discuss sed here. If it finds a line that is just "FR", then it looks ahead to see if the next line is also "FR". If it is, then it prints "PageNoText". If it isn't, then it prints "Page". Finally, it uses the D command to continue processing with just the second line of text.

I'll continue working on this script as time permits.

/nix | May 10, 2010

Fujitsu ScanSnap S1300 vs S1500 #
I was debating between the ScanSnap S1300 and S1500 until watching this video. Debate over. For the tl;dw crowd: the S1500 scanned 15 double-sided pages in 30 seconds, while the S1300 took 107 seconds.

/misc | May 10, 2010

Display atime, ctime, and mtime for a file #
$ stat foo
  File: foo
  Size: 221       	Blocks: 8          IO Block: 4096   regular file
Device: 801h/2049d	Inode: 540949      Links: 1
Access: (0700/-rwx------)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2006-12-04 07:00:00.000000000 -1000
Modify: 2006-12-04 07:00:00.000000000 -1000
Change: 2010-05-08 10:01:29.000000000 -1000

stat also accepts wildcards: $ stat *.txt

/nix | May 08, 2010

Boot any and all ISO images from USB drive #
I spent days looking for a way to boot any and all ISO images from a USB drive. I envisioned being able to simply copy any bootable CD or DVD (Windows installers, OS X boot discs, Linux Live CDs and recovery discs like Knoppix, etc) to a USB drive and boot it normally. Some of the possible solutions I found included:

The more robust solutions were generally quite tedious, and none of them worked for all ISO images, as explained here: Boot "any" ISO image or boot "all" ISO images.

Having recently stumbled upon a floppy drive emulator, I started looking for a USB CD/DVD drive emulator and finally found a way to boot any ISO image from USB drive: the iodd 2501. It is a 2.5" SATA drive enclosure with an LED display to select the desired ISO image. Simply create a "_ISO" directory in the drive root and dump your ISO images inside. That's it! The enclosure also has a write protect switch and eSATA support.

The iodd 2501 has booted every ISO image I have thrown at it, on both PC and Mac hardware. When I first tried using the device, the LED would only report "NO-_ISO", despite having followed the instructions exactly. It turns out that formatting as FAT32 in OS X's Disk Utility was the problem; I simply used fat32format under Windows and the problem was solved (NTFS is apparently supported with a firmware upgrade).

I purchased mine from LinITX; they've got detailed instructions, videos, and great customer service.

UPDATES:

  1. John Rothlisberger wrote in to ask if ISO images can be changed on the fly during an install. After testing with a Windows XP Media Center Edition 2 disc set I am happy to report that they can.
  2. Curtis Reno has started a neat project to build an open source USB CD emulator using inexpensive components. Announcement | Fourm
  3. isostick is a similar CD emulator that uses microSD cards and a USB Flash drive adapter. Sadly, it only supports FAT32, though large ISO files can be split.
  4. Zalman (which took over iodd development) continues to improve the hardware, recently adding hardware encryption and more.

/misc | May 08, 2010

Knoppix 6: Mount NTFS drive as writable #
  1. If you've already clicked on the NTFS device icon within PCMan File Manager, right click the icon again and select "Unmount File System" (since Knoppix mounts the drive as read-only from the GUI).
  2. Launch Terminal Emulator and run fdisk to identify the NTFS partition:
    $ sudo fdisk -l
  3. Mount the device (/dev/sda1 in this example) as writable:
    $ sudo ntfs-3g /dev/sda1 /mnt/sda1
  4. When finished, be sure to unmount:
    $ sudo umount /mnt/sda1

/nix | May 01, 2010

Safari 4: Bookmark all tabs in all windows #
Sometimes you might end up with 4 or 5 Safari windows, each with 10 or 15 tabs. In order to bookmark and save them all into a single new folder, simply click Window > Merge All Windows > Add Bookmark for These n Tabs...

Mac OS X Hints hosts several AppleScripts for bookmarking all tabs as well.

/mac | May 01, 2010



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