
HOME

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

BLOG

DOCS

FAQ

RSS (?)
|
Make a custom, bootable recovery partition or DVD #
- Create a custom, bootable recovery partition:
- Acronis True Image includes Secure Zone, which creates a hidden partition for storing backup images. Accessible at boot time via F11.
- Ghost Recovery Kit apparently allows for creating a custom recovery partition, but the process looks rather involved.
- Paragon's Drive Backup 9.0 has a feature called Backup Capsule that creates a hidden partition to store images and allows the user to assign a Function key (F3, for example) to access during boot. This is the only solution I tested, with unfortunate results: at virtually the end of the restore process from Backup Capsule, the screen went blue and the hard drive activity went crazy for over an hour before I had to kill it. Thankfully, I had made an ealier image with Drive SnapShot, which I restored to the hard drive in just a few minutes.
- Creating a custom, bootable recovery DVD:
/windows | Sep 28, 2009 Manipulate windows from the command line #
CMDOW Commandline Window Utility v1.4.3 [15k] + Allows windows to be listed, moved, resized, renamed, hidden/unhidden, disabled/enabled, minimized, maximized, restored, activated/inactivated, closed, killed and more from the command line. (via Mike Mills)
/windows | Sep 28, 2009 Google Chrome: Checkboxes and radio buttons missing #
There are a number of workarounds (but apparently no fix as yet) for Google Chrome's annying habit of not displaying checkboxes and radio buttons. My two favorites:
- Right click the taskbar, click Properties and then click Cancel, or
- Open the Windows Task Manager and then close it
/windows | Sep 26, 2009 Cannot access GMail via POP or IMAP #
If you can access GMail via webmail but not POP or IMAP (despite having enabled them in Settings > Forwarding and POP/IMAP), try this virtually undocumented "unlocking" page: https://www.google.com/accounts/DisplayUnlockCaptcha .
/misc | Sep 26, 2009 A better Cardfile for OS X #
Notational Velocity 2.0β [712k] {S} Like a cleaner, faster Cardfile for OS X with encryption, instant search, and a choice of database formats (proprietary, plain text, rich text, and HTML).
/mac | Sep 23, 2009 Wipe MBR / Track 0 #
When particularly nasty malware infections call for formatting a drive, I always like to start by wiping track 0. This will delete not only the MBR and any boot sector viruses, but anything else in the first 63 sectors of the hard disk, including boot overlays (like EZ-BIOS), boot managers (like BootIt NG), harebrained DRM schemes (like some versions of TurboTax), etc, so caution is advised. This process won't help solve persistent BIOS infections like this one: New BIOS Virus Withstands HDD Wipes. The commands below WILL permanently delete data - use at your own risk (and joy).
To wipe just the MBR:
dd if=/dev/zero of=/dev/foo bs=512 count=1
To wipe all of track zero:
dd if=/dev/zero of=/dev/foo bs=512 count=63
"Zero out" the entire drive:
dd if=/dev/zero of=/dev/foo
You'll need to replace foo with the appropriate device (hda, sda, etc). List partitions and disks via one of these methods:
- cat /proc/partitions
- sudo fdisk -l
- sudo parted -l
/nix | Sep 22, 2009 SFK #
Vincent Stahl kindly wrote in to share his open source Swiss File Knife File Tree Processor:
"This tool is a collection of tiny applications itself: grep, tree size list, instant ftp server, text line filter, text replace, duplicate file finder, split/join files, create md5 lists, run command on many files, extract strings, and more- all in one executable still matching your size limit (below 1.4 MB). It has no installer, no dependencies, needs no DLL's - nothing, just type 'sfk' to get the overview of all available subcommands."
Besides Windows, binaries are available for Ubuntu, DSL, and OS X. Here are just a few of the many possible uses:
| sfk list -late -hidden | List latest (i.e., most recent) 50 files in current directory and subdirectories, including system and hidden files |
| sfk stat . -bytes | Display current directory tree size statistics in bytes |
| sfk find -text . epictetus | Search text files in current directory and subdirectories for "epictetus" (case insensitive) |
| sfk ftpserv -port=21 -rw | Simple FTP server, providing read/write access to current directory |
| sfk ftp example.com:21 get foo | Connect via FTP to port 21 of example.com and get foo |
| sfk httpserv -port=80 | Instant HTTP server, providing access to current directory |
| sfk deblank . -yes | Replace blanks in filenames within current directory and subdirectories with underscore (run without "-yes" to simulate) |
| sfk md5 foo.txt | Generate MD5 hash of foo.txt |
| sfk dupfind . | Find duplicate files in current directory and subdirectories |
/misc | Sep 20, 2009 Compress, encrypt, and copy data to offsite server #
Under Windows, I was using AxCrypt and WinSCP from the context menu to compress, encrypt, and send data to an offsite server. Under OS X, I am now using a simple bash command list to achieve the same thing faster and with greater compression:
$ /Applications/file/BetterZip.app/Contents/Resources/7z a -mx9 -pSECRET -mhe ~/Desktop/file.7z ~/Documents/file.ext && scp -P 2012 ~/Desktop/file.7z user@example.com:/home/ && rm ~/Desktop/file.7z
Let's break down what's happening here:
- /Applications/file/BetterZip.app/Contents/Resources/7z Call the 7-Zip file archiver contained in BetterZip (which I happened to have from a MacUpdate Promo Bundle). There are several other Mac binaries available or you can download and compile from source.
- a Add file(s) to archive
- -mx9 Maximum ("Ultra") compression
- -pSECRET Set password to SECRET
- -mhe Encrypt archive headers (i.e., filenames will be encrypted also)
- ~/Desktop/file.7z Name of archive to create or add files to
- ~/Documents/file.ext File to compress and encrypt
- && Execute next command only if previous command returns an exit status of zero (i.e., wait for command to complete successfully before proceeding)
The next section assumes public-key authentication has been configured (see part 2 of Hardening SSH and Mounting Remote Filesystem in OS X Finder via SSHFS for more information):
- scp Secure copy command
- -P 2012 Connect via port 2012
- ~/Desktop/file.7z Local file to copy
- user@example.com:/home/ Remote username and domain followed by directory where file will be copied to
These next two steps are optional:
- && Execute next command only if previous command returns an exit status of zero (i.e., wait for command to complete successfully before proceeding)
- rm ~/Desktop/file.7z Delete 7z archive from local computer
Notes:
- As the command list is rather long, you may want to make a permanent alias in OS X by adding a line like this one to your ~/.bash_profile:
alias bkup='/Applications/file/BetterZip.app/Contents/Resources/7z a -mx9 -pSECRET -mhe ~/Desktop/file.7z ~/Documents/file.ext && scp -P 2012 ~/Desktop/file.7z user@example.com:/home/ && rm ~/Desktop/file.7z'
- After adding the above line, you can load your .bash_profile without logging out: $ source ~/.bash_profile
and list current aliases with: $ alias -p
- Archive all text files in current directory: $ 7z a file.7z *.txt
- Extract all files from file.7z: $ 7z x file.7z
/mac | Sep 19, 2009 Unpack / extract Dell driver EXE files under OS X #
The Windows XP SP3 install CD lacks many SATA drivers, resulting in a BSOD shortly after booting the disc on unsupported hardware. One solution is to copy the required SATA driver to a floppy and press F6 during boot to load. Dell drivers come packed in EXE files - OS X users can extract them via: unzip:
$ unzip -L ~/temp/R173412.exe
Archive: /Users/user/temp/R165147.EXE
inflating: iastor.sys
inflating: txtsetup.oem
inflating: iaahci.cat
inflating: iaahci.inf
inflating: iastor.cat
inflating: iastor.inf
inflating: version.txt
GUI lovers note: OS X's "Archive Utility.app" was unable to extract the files, but FileJuicer ($18 shareware with 6 day trial) matched unzip's performance. (Postscript: SATA config had to be changed from AHCI to ATA in Optiplex 330 BIOS to prevent BSOD when loading driver from floppy.)
/mac | Sep 13, 2009 Print photos with date taken or other EXIF data #
How to print or save photo contact sheets with date taken or other EXIF data:
- Launch FastStone Image Viewer
- Open photo directory
- Create > Contact Sheet Builder > Caption > click "..." at top right > EXIF DateTime ($Hx) > Date and Time ($H1)
- Save the output to a file (PDF, TIF, PNG, GIF, BMP, and JPG supported) or send directly to printer.
/windows | Sep 11, 2009 Rename photos based on thumbnail order #
How to arrange a group of thumbnails and rename them sequentially based on their position:
- Navigate to folder containing photos in Windows Explorer
- View > Thumbnails
- Click and drag thumbnails into desired order. It may be advisable to enable View > Arrange Icons by > Align to Grid.
- Edit > Select All
- Right click on first photo and rename to desired_name (1). That is, the desired file name, followed by a space, followed by an open parentheses, followed by the number one, followed by a close parentheses.
- All photos will be renamed to desired_name (#), where # corresponds to the photo's position in the thumbnail layout.
At this point, our filenames look something like: name (1), name (2), name (3)... (if Windows Explorer does not list files in proper numerical order (e.g., "10" follows "1" instead of "9"), you can correct this with TweakUI: Explorer > check "Use intuitive filename sorting"). To get rid of the parentheses and renumber the files with leading zeroes:
- Launch ReNamer
- Settings > General > check "Use natural order sorting algorithm..." > Save (you may need to restart the program for this to take effect)
- Add Folder
- Add rule > Serialize > check "Incremental" > check "Pad with zeroes to reach length" > insert 3 for the number of zeroes > click "Add Rule"
- Add rule > CleanUp > check "(...)" to the right of "Strip out content of brackets:" > click "Add Rule"
- Review results before committing changes. The new filenames should look something like: 001name, 002name, 003name ...
Two other possible (though untested) methods using commercial software: with IMatch and Photoshop Elements.
/windows | Sep 10, 2009 IchiGeki's ZeroRemote #
ZeroRemote v1.2.5 [152k] + Remote viewer with DirectX support, file transfer, audio, and more. Single EXE supports both client and server modes.
/windows | Sep 08, 2009 It's up to you #
"You can live as if nothing is a miracle; you can live as if everything is a miracle." - Albert Einstein
/misc | Sep 03, 2009
|
Categories
Blosxom Archive
Blogger Archive
Ezine Archive
|