Ramblings & ephemera

Mac OS X settings to reduce PDF sizes

From Adam Engst’s “Slim down your PDFs” (Macworld: 5 November 2008):
Though few people realize this, you can reduce the size of PDF files using the Leopard version of Preview. To shrink a PDF file, open it in Preview, choose Save As from the File menu, and, in the Save dialog box, choose Reduce File Size [...]

How con artists use psychology to work

From Paul J. Zak’s “How to Run a Con” (Psychology Today: 13 November 2008):
When I was in high school, I took a job at an ARCO gas station on the outskirts of Santa Barbara, California. At the time, I drove a 1967 Mustang hotrod and thought I might pick up some tips and cheap parts [...]

How to run a command repeatedly

You can use the watch command, but it unfortunately isn’t available for Mac OS X. At least, from Apple. Sveinbjorn Thordarson (great name!) has a version of watch that you can download and compile on your OS X box. It’s available at http://www.sveinbjorn.org/watch_macosx.
Or, you can use this shell script:
while true ; do foo ; sleep [...]

Flush your DNS cache

Windows
ipconfig /flushdns
Mac OS X
dscacheutil -fluchcache

Related posts

Synchronizing Outlook & Google Apps
Retrieve CD Key from Windows 95 or NT
Remove EXIF data from JPEGs
Who runs botnets?
What bots do and how they work

Synchronizing Outlook & Google Apps

Plaxo
http://www.plaxo.com
(web-based)
OggSync
http://oggsync.com
ScheduleWorld
http://www.scheduleworld.com
iCal4OL
http://ical.gutentag.ch
Google Calendar Sync
https://www.google.com/support/calendar/bin/answer.py?answer=89955

Related posts

Retrieve CD Key from Windows 95 or NT
Flush your DNS cache
Ubuntu Edgy changes to fstab
Tim O’Reilly defines cloud computing
Remove EXIF data from JPEGs

Remove EXIF data from JPEGs

ImageMagick
mogrify -strip *.jpg
JHead
jhead -de *.jpg

Related posts

Ubuntu Edgy changes to fstab
How to run a command repeatedly
Flush your DNS cache
What actions change MAC times on a UNIX box?
Unix vs Windows: NYC vs Celebration

What actions change MAC times on a UNIX box?

From Holt Sorenson’s “Incident Response Tools For Unix, Part Two: File-System Tools” (SecurityFocus: 17 October 2003):

Various commands change the MAC [modify, access, and change] times in different ways. The table below shows the effects that some common commands have on MAC times. These tables were created on Debian 3.0 using an ext2 file system contained [...]

Firefox: Open diverted links in background tabs

Two methods:
about:config
Change browser.tabs.loadDivertedInBackground to true
browser.tabs.loadInBackground should already be set to true
user.js
// open diverted links in background tabs
user_pref(”browser.tabs.loadDivertedInBackground”, true);

Related posts

Test of Flock’s blog editor
What actions change MAC times on a UNIX box?
Ubuntu Edgy changes to fstab
To combat phishing, change browser design philosophy
The structure & meaning of the URL as key to the Web’s success

Retrieve CD Key from Windows 95 or NT

Start | Settings | Control Panel | System
Under Registered to, you’ll see user name & a 20-digit number. Digits 6 through 15 make up the CD key.
If you’re using an OEM version, the entire number is the CD key.

Related posts

Synchronizing Outlook & Google Apps
Flush your DNS cache
Ubuntu Edgy changes to fstab
Remove EXIF data from JPEGs
Zombies [...]

Ubuntu Edgy changes to fstab

I upgraded my Ubuntu Linux desktop today from Dapper to Edgy. It appears that in /etc/fstab, LABEL= no longer works, and you must now use UUID=.
http://ubuntuforums.org/showthread.php?t=278652
So my fstab now looks like this, for instance (these are all external drives):

UUID=a3d8a126-a7fc-4994-9675-748ed62c3109 /media/music xfs [...]

1st 2 questions AOL tech support asks

From Spare me the details (The Economist: 28 October 2004):
LISA HOOK, an executive at AOL, one of the biggest providers of traditional (“dial-up”) internet access, has learned amazing things by listening in on the calls to AOL’s help desk. Usually, the problem is that users cannot get online. The help desk’s first question is: “Do [...]