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




Two newly-added floppy OSes #
  • Green Award KolibriOS 0.7.7.0 [1440k] {S}+ A small x86 assembler hobby operating system, forked from MenuetOS in 2004.  Screenshot
  • Green Award Visopsys 0.69 [1440k] {S}+ A fully multitasking, 100% protected mode, virtual-memory, massively-monolithic-style kernel with a bare-bones C library and minimal suite of applications.  Screenshot

/misc | Dec 31, 2009

Black screen with many white exclamation points / marks on boot... #
was due to a failing EVGA e-GeForce 8800GT video card. Pulled the card and exclamation points were gone for good.

black screen with white exclamation points

Could not find any definitive information or solution on the web, though there were a few similar complaints:

/misc | Dec 29, 2009

Postcardware Windows apps by Piotr Chodzinski #
These run under all Windows versions from 95 on up!
  • Tooler - Easily create shortcuts that allow you to: run, enable, or disable screensaver; eject or close optical drive tray; set volume; turn off monitor; disable mouse and keyboard; logout, restart, or shutdown.
  • V-Grep - Search and replace text with visual grep
  • Rainbow Folders - Customize folder colors
(via Mike Mills)

/windows | Dec 27, 2009

Freeware Mac apps by Colin Henein #
  • SlimBatteryMonitor - "Space-efficient power meter monitors laptop and UPS batteries." Especially welcome is the ability to change the low battery warning to appear at a level other than twenty percent.
  • DateTree - "Organize files, photos and movies by copying them into dated folders"
  • SkeyCalc - "An RFC-2289 Compliant OTP (S/Key) calculator"

/mac | Dec 27, 2009

Downloading DjVu files from Internet Archive (archive.org) #
Clicking DjVu book links on archive.org opens them in a Java applet within the web browser, with no option to save. Right clicking and "saving link as..." results in a tiny HTML file being downloaded instead. Here's how to download the actual DjVu file (we'll use H.G. Wells' The wonderful visit in this example):
  1. Right click and copy the DjVu link: http://www.archive.org/stream/wonderfulvisit00welluoft/wonderfulvisit00welluoft.djvu
  2. Paste the link into your browser's address bar
  3. Add an extra forward slash before "stream": http://www.archive.org//stream/wonderfulvisit00welluoft/wonderfulvisit00welluoft.djvu
  4. Press Enter to begin downloading the DjVu file
UPDATE: The DjVu file can also be downloaded from the directory listing: simply click the "HTTP" link to the right of "All Files:" to access.

/misc | Dec 27, 2009

Reading HTML files on a Kindle #
  • Kindle 1: Change HTML extension to TXT and copy file to the Kindle's documents folder - it will appear on the Home screen. Simple HTML formatting is preserved.
  • Kindle 2: Copy HTML file to Kindle's documents folder, launch Basic Web browser, and enter file URL as follows: file:///mnt/us/documents/filename.html
(Via Kindle browser to read html files)

/misc | Dec 27, 2009

Ensign, Demint to force vote on health care bill unconstitutionality #
WASHINGTON, D.C. - Today, U.S. Senators Jim DeMint (R-South Carolina) and John Ensign (R-Nevada), raised a Constitutional Point of Order on the Senate floor against the Democrat health care takeover bill on behalf of the Steering Committee, a caucus of conservative senators. The Senate will vote tomorrow on the bill's constitutionality.

"I am incredibly concerned that the Democrats' proposed individual mandate provision takes away too much freedom and choice from Americans across the country," said Senator Ensign. "As an American, I felt the obligation to stand up for the individual freedom of every citizen to make their own decision on this issue. I don't believe Congress has the legal authority to force this mandate on its citizens."

"Forcing every American to purchase a product is absolutely inconsistent with our Constitution and the freedoms our Founding Fathers hoped to protect," said Senator DeMint. "This is not at all like car insurance, you can choose not to drive but Americans will have no choice whether to buy government-approved insurance. This is nothing more than a bailout and takeover of insurance companies. We're forcing Americans to buy insurance under penalty of law and then Washington bureaucrats will then dictate what these companies can sell to Americans. This is not liberty, it is tyranny of good intentions by elites in Washington who think they can plan our lives better than we can."

Americans who fail to buy health insurance, according to the Democrats' bill, would be subject to financial penalties. The senators believe the bill is unconstitutional because the insurance mandate is not authorized by any of the limited enumerated powers granted to the federal government. The individual mandate also likely violates the "takings" clause of the 5th Amendment.

The Democrats' healthcare reform bill requires Americans to buy health insurance "whether or not they ever visit a doctor, get a prescription or have an operation." If an American chooses not to buy health insurance coverage, they will face rapidly increasing taxes that will rise to $750 or 2% of their taxable income, whichever is greater.

The Congressional Budget Office once stated "A mandate requiring all individuals to purchase health insurance would be an unprecedented form of federal action. The government has never required people to buy any good or service as a condition of lawful residence in the United States."

A legal study by scholars at the nonpartisan Heritage Foundation concluded: "An individual mandate to enter into a contract with or buy a particular product from a private party, with tax penalties to enforce it, is unprecedented-- not just in scope but in kind--and unconstitutional as a matter of first principles and under any reasonable reading of judicial precedents." (emphasis mine)

Source

/misc | Dec 22, 2009

Notes #
  • Xcopy - skip copying of files that exist in both source and destination (only checks filenames, not size/date/content/etc):
    echo n|xcopy "src\*.*" "dest\" /e
    (Tested in XP; nonessential syntax removed from original tip)
  • AddRuby - Add furigana (aka rubi / ruby) to Japanese web pages or pasted text
  • In Vista and Windows 7, C:\Users\All Users is a junction point that points to C:\ProgramData

/misc | Dec 19, 2009

Xcopy Windows to a new hard drive #
While imaging a 160GB drive with four partitions (Dell Diag, Recovery, OS, MediaDirect) to a new 500GB drive via an Acronis True Image boot CD, something went terribly wrong. Long story short, neither drive would boot (stuck in perpetual reboot loop) though files were visible on both drives. After wrangling with partition and recovery tools on the 500GB drive to no avail, the following process worked:
  1. Wiped all partitions on the 500GB drive and created a single NTFS partition
  2. Installed Vista normally on 500GB drive
  3. Booted from Microsoft Diagnostics and Recovery Toolset (DaRT) CD
  4. Erased all files from C: on 500GB drive
  5. Copied all files from 160GB drive's OS partition (F:) to 500GB drive (C:) via xcopy:
    xcopy f:\*.* c:\ /c /e /h /k /o /r /x /y
    • /c : Ignores errors.
    • /e : Copies all subdirectories, even if they are empty
    • /h : Copies files with hidden and system file attributes. By default, xcopy does not copy hidden or system files.
    • /k : Copies files and retains the read-only attribute on destination files if present on the source files. By default, xcopy removes the read-only attribute.
    • /o : Copies file ownership and discretionary access control list (DACL) information.
    • /r : Copies read-only files.
    • /x : Copies file audit settings and system access control list (SACL) information (implies /o).
    • /y : Suppresses prompting to confirm that you want to overwrite an existing destination file.
  6. Booted from 500GB drive - still no joy: "Missing operating system"
  7. Booted from Vista install disc and selected "Repair your computer" (with the vague idea of trying fixboot and perhaps fixmbr)
  8. The following message appeared: "Windows found problems with your computer's startup options. Do you want to apply repairs and restart your computer?"
  9. Clicked "Repair and restart" and booted from 500GB drive
  10. Windows Vista started normally, with all data and apps intact!

/windows | Dec 19, 2009

Bundled Snow Leopard Upgrade DVDs do *not* work on older Macs with blank drives #
There are many assertions around the web that the Mac OS X Snow Leopard Upgrade DVD works exactly like the full version. Here's an example of such a claim from Macworld:
However, the Snow Leopard upgrade DVD does not require that you have Leopard installed; it's a full install disc that works on any Intel Mac.
and another from MacInTouch:
Can I install the Snow Leopard upgrade on a blank hard disk?
Yes. According to a number of reports, you can even install it on a Mac that does not have a Leopard disk attached.
While this may be true of the retail upgrade disc, bundled DVDs and those issued under the Mac OS X Snow Leopard Up-to-Date Program (distinguishable by the notice "This software is part of a hardware bundle - not to be sold separately") do not work on older Macs with blank drives, as this screenshot demonstrates:
Mac OS X can't be installed on this computer. This disc requires that Mac OS X 10.5 or later already be installed on your computer.
For bots, screen readers, and image-free browsers, here it is in plain text:
Mac OS X can't be installed on this computer. This disc requires that Mac OS X 10.5 or later already be installed on your computer. If you want to restore your system from a Time Machine backup, click "Restore from Backup".
The only choices are "Restore from Backup" and "Restart". Not even the usual utilities (Terminal, Disk Utility, etc) are available. This message can be avoided by plugging in an external drive with Leopard installed (including another Mac in Target Disk Mode) or by remastering the DVD with a few minor changes. For more on this issue, see:

/mac | Dec 14, 2009

Random Harvest #
  • CanoRemote - "Easy to use remote control for most Canon Power Shot Cameras without built in remote control receiver. The only things you need is the CanoRemote receiver, a USB cable and a standard Apple Remote. The range of the receiver is more than 10 meters."
  • R1Soft Hot Copy "takes online volume snapshots on your Linux server. It does NOT use LVM so it can work on any Linux system and any block device ... Hot Copy creates a point-in-time online volume snapshot of the disk while the system is running, without interrupting applications even on the busiest Linux servers. As block level changes are made to the device, Hot Copy makes a backup copy of only the changed blocks instead of replicating the entire drive. These changed blocks are then efficiently stored in the unused space on the hard disk."
  • IntelligentFind 3.2.2 - The best Palm OS Find replacement, though it suffers from an ungainly installation and registration process.
  • Vegetarian low protein diet could be key to long life
  • VMLite XP Mode - Like Microsoft Windows XP Mode, but without the hardware virtualization requirement. (via Claus)
  • Fotografix - Tiny (367K) image editor with layer support, magic wand selection tool, more. (via Phan)
  • Fossil - "Simple, high-reliability, distributed software configuration management" (via ec)
  • Doszip Commander "is an LFN-aware TUI file manager (NC clone) for DOS with built-in unzip. The original program was written in Borland C, but the latest version compiles with Open Watcom 1.8 and the JWasm assembler." (via Mike Mills)

/misc | Dec 13, 2009

Batch replace text in PDF files #
Simple text replacements in simple PDF documents can be made with changepagestring.pl, part of CAM-PDF-1.52, which, by the way, includes many other cool tools like:
$ perl -MCPAN -e shell
If this is the first time you've run CPAN, it will ask you a series of questions - the default answers worked fine for me. When the cpan> prompt appears, install the CAM::PDF module:
cpan> install CAM::PDF
Now let's see if our PDF allows modification:
$ pdfinfo.pl pcasm-book.pdf 
File:         pcasm-book.pdf
File Size:    1071411 bytes
Pages:        195
Author:       Paul A. Carter
CreationDate: D:20050320210800
Creator:      LaTeX with hyperref package
Keywords:     80x86 assembly programming
Producer:     pdfTeX-1.10b
Subject:      80x86 Assembly Language Programming
Title:        PC Assembly Language
Page Size:    variable
Optimized:    no
PDF version:  1.4
Security
  Passwd:     none
  Print:      yes
  Modify:     yes
  Copy:       yes
  Add:        yes
As it does, let's batch replace the word "Borland" with the word "Inprise" and name the new file output.pdf:
$ changepagestring.pl -o pcasm-book.pdf Borland Inprise output.pdf
That seems to have worked, but there are still instances of "Borland" in the file - why were they not changed? The following script by Adam314 will output the entire file, including the hidden PDF formatting codes:
#!/usr/bin/perl
use warnings;
use strict;
use CAM::PDF;
 
my $infile = '/path/pcasm-book.pdf';

#open file
my $doc = CAM::PDF->new($infile) || die "$CAM::PDF::errstr\n";
 
#look for string
for my $page (1..$doc->numPages) {
	my $content = $doc->getPageContent($page);
		print $content
		}
Sure enough, the string "Borland" only shows up twice. Where are all the others? Why, surrounded by hideous formatting code like these examples:
Borl)1(and)1('s
Borlan)1(d's)-2
Borlan)1(d)-497
Borl)1(and)-241
In his link above, Adam314 offers advice for replacing instances like these with regex. At this point I grew rather weary, however, especially as text replacements were wont to cut off or run into other words. However, for simple text replacements in simple PDF documents, changepagestring.pl may come in handy.

/nix | Dec 13, 2009

Recursively reassign owner #
chown -R new_username:new_group directory
:new_group is optional. Especially helpful when, after having imported data from one OS X user account to another, attempting to move files results in them being copied instead, and attempting to move folders results in a password prompt ("Finder requires that you type your password").

/mac | Dec 13, 2009

Lock or unlock files recursively in OS X #
chflags -R uchg directory
chflags -R nouchg directory
View file flags with the -O (capital "o") switch:
$ ls -lO
-rw-r--r-- 1 user staff uchg 0 Dec 13 07:19 locked_file
-rw-r--r-- 1 user staff -    0 Dec 13 07:19 unlocked_file
(via Entrepreneur Geek and macos-x-server.com)

This tip is particularly useful when copying folders like My Documents, My Pictures, etc from Windows machines to OS X. Rather surprisingly, these folders are actually assigned the Read-only attribute in Windows:
Unlike the Read-only attribute for a file, the Read-only attribute for a folder is typically ignored by Windows, Windows components and accessories, and other programs. For example, you can delete, rename, and change a folder with the Read-only attribute by using Windows Explorer. The Read-only and System attributes is only used by Windows Explorer to determine whether the folder is a special folder, such as a system folder that has its view customized by Windows (for example, My Documents, Favorites, Fonts, Downloaded Program Files), or a folder that you customized by using the Customize tab of the folder's Properties dialog box.
OS X honors the Read-only attribute by dutifully locking the directories, leading to unexpected and generally undesirable results.

/mac | Dec 13, 2009

Blosxom alternatives, microblogs, etc. #
  • Chyrp "is a blogging engine designed to be very lightweight while retaining functionality. It is powered by PHP and has very powerful theme and extension engines, so you can personalize it however you want."
  • FlatPress "is an open-source standard-compliant multi-lingual extensible blogging engine which does not require a DataBase Management System to work."
  • Jekyll "is a blog-aware, static site generator in Ruby" (via Jalada)
  • NanoBlogger (first covered over 5 years ago; still under active development) "is a small weblog engine written in Bash for the command line. It uses common UNIX tools such as cat, grep, and sed to create static HTML content."
  • PluXml "is a script to create a site or a blog, no need for knowledge in programming nor d' need; a database on its lodging, a traditional environment php is enough for him. PluXml wants to be light and easy d' use thanks to an interface d' simple administration and the storage of your writings in easily transportable XML files." (translation via Babelfish)
  • PyBlosxom "is a lightweight file-based weblog system. The project started as a Python clone of Blosxom but has since evolved into a beast of its own. PyBlosxom focuses on three things: simplicity, extensibility, and community."
  • reprise - "Minimal static blog with atom and tag support." Available as a single Ruby or Python file.

/nix | Dec 03, 2009



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