Jim Dalrymple.com :: Tech opinions

Computing Comments Off

Backup 2 instructions

http://www.jimdalrymple.com/Reviews-index-req-showcontent-id-7.html

macosxhints – Twenty steps to help diagnose and fix system issues

Computing Comments Off

http://www.macosxhints.com/article.php?story=2004011205473937

speed up boot in 10.3.2

Computing Comments Off

Reviewer’s Name: Alan Kotik
Date Submitted: 12/29/2003
Drive Type: Hard Drive
Drive Interface: IDE PCI Card
Drive Brand: Hitachi
Drive Model Number: 7K250
Drive Size: 160GB
Driver Used: Apple Standard
Mac Model: Apple G4 Dual CPU
Mac OS Version: OS X 10.3
Reader Comments: Hi Mike, In the past few days I upgraded my 2001 QuickSilver Dual 800 (1.12GB, GeForce 3) from 10.2.8 to 10.3.2 and replaced a Seagate IV (80GB) with a Hitachi 7K250 (160GB).

I also ran the following command in Terminal and rebooted twice to speed up the boot process:

sudo cp -p /System/Library/Extensions/BootCache.kext/Contents/Resources/BootCacheControl /usr/sbin.

(Note – The Dec. 29th, 2003 www.xlr8yourmac.com news page and 10.3.2 feedback page also has a similar tip to speed booting in 10.3.2 – but it uses the symbolic link method instead which is what I used personally. It definitely helped on all macs here running 10.3.2.-Mike)

Here are some times in seconds that show the effect of the Panther upgrade (before, after):

Cold boot to login window (105, 96)
Login to desktop (17, 17)
iPhoto launch with 5.2 GB library (16, 16)

Not much improvement. But checkout the combined effect of Panther, the new Hitachi drive and the Terminal command (before, after):

Cold boot to login window (105, 53)
Login to desktop (17, 9)
iPhoto launch with 5.2 GB library (16, 13)

I’m stunned and pleased by the Hitachi drive performance. 112 on Xbench 1.3. Drive was $132 for 160GB/8MG at zipzoomfly.com.


Mike Comments: You selected IDE PCI Card as the interface but didn’t comment on the card model/brand used. (Reader FYI – pre-2002 QuickSilver and earlier Macs do not have native ‘big drive’ support (no 48bit addressing support to fully utilize >128GB formatted drives. Mac IDE PCI cards, Intech drivers (but check OS X compat notes there) or a FW case w/bridge board that supports big drives is needed to fully utilize large drives like this.


more
Tip for Slow Boot Times with 10.3.2

Posts in Apple’s discussion forums have a tip that has helped several readers that reported slow boot times after the 10.3.2 update (commonly reported delay at the login window startup for instance)
http://discussions.info.apple.com/WebX?14@173.yIU0a22npxJ.3544@.599e61e8
http://discussions.info.apple.com/webx?14@@.599e619e/5

Open the terminal and enter

sudo ln -s /System/Library/Extensions/BootCache.kext/Contents/Resources/BootCacheContro l /usr/sbin/BootCacheControl



The reboot twice and boot times should be reduced. (This helped here on two systems running 10.3.2.) Here’s comments on why this helps from one of the apple forum theads:

” Why does it work?
BootCacheControl is called during the startup process to create a cache of files needed to boot (up to the point were the login window is displayed).
In the 10.3.2 version the executable is called from the /etc/rc script twice:
– BootCacheControl
– BootCacheControl tag
both times its called using a shell variable set in /etc/rc which points to /System/Library/Extensions/BootCache.kext/Contents/Resources/BootCacheContro l (and if this would not exist it would point to /usr/sbin/BootCacheControl.)
But there is another important call of the executable from the loginwindow process later:
– /usr/sbin/BootCacheControl autostop 15
Unfortunately the file /usr/sbin/BootCacheControl does not exist on a(ll) updated 10.3.2 system. Thecopy command above takes care of that problem.
Regards, Joachim”

osCommerce Community Support Forums -> how to block user or ip

Computing Comments Off

If you unable to edit httpd.conf, you can use .htaccess

Add the following code:

—Start—
ErrorDocument 401 /401.htm
ErrorDocument 403 http://www.go-away-site.com
ErrorDocument 404 /404.htm
ErrorDocument 500 /500.htm


order allow,deny
allow from all
deny from 100.100. #dont-want-one
deny from 200.200.200. #dont-want-two
deny from 200.200.200.222. #donot-want-three

—End—

You need to have ‘ErrorDocument 403 http://www.go-away-site.com’, so all access from your forbidden ip will redirected to www.go-away-site.com

With: deny from 100.100. #dont-want-one
All access from 100.100.* will be denied

With: deny from 200.200.200. #dont-want-two
All access from 200.200.200.* will be denied

With: deny from 200.200.200.222. #donot-want-three
Only access from 200.200.200.222 will be denied

Please remember always put ‘dot’ at the end of every ip address

macosxhints – 10.3: Create a system install DVD

Computing Comments Off

http://www.macosxhints.com

1. With Apple’s Disk Utility, create an image (DMG file) of the first Panther CD. Let’s name it “Panther.dmg” and place it on the Desktop. IMPORTANT: the image must be in read/write format so you can add files later. Don’t mount the image file yet.

2. Now head to the Terminal. Type the following:
hdiutil resize -size 2g -imageonly ~/Desktop/Panther.dmg

This command resizes the image to two gigabytes (this took 1 minute, 20 seconds on my 1GHz TiBook). Now, the partition inside the image hasn’t been resized yet. For that, type:
hdiutil resize -size 1.9g -partitionOnly ~/Desktop/Panther.dmg

Notice how the partition size is smaller than the image size. How much smaller should it be compared to the image file? I don’t know, but hdiutil will give you an error if you try to grow the partition beyond the space available in the image file.

3. Mount Panther.dmg. Now you have a disk with 1.28 gigabytes of free space.

4. Insert Disc 2 and copy all files from Mac OS X Install Disc 2 -> Packages to Mac OS X Install Disc 1 -> System -> Installation -> Packages. The Finder will give you a warning about items with the same name: select Replace. It seems Disc 1 has placeholders for all the installable packages.

5. Repeat step 4 with disc 3.

6. Open the file Mac OS X Install Disc 1 -> System -> Installation -> Packages -> OSInstallCache.plist with a text editor (or with Apple’s Property List Editor, included with XCode). Delete any IFPkgFlagProxyPackageLocation key. They look like this:
IFPkgFlagProxyPackageLocation
disc://Mac OS X Install Disc ?/**********


Where ? stands for Disc 2 or 3 and ***…. for a Package name. Removing these lines tells the Apple Installer that it should look for the packages at Mac OS X Install Disc 1 -> System -> Installation -> Packages. Delete all text from to (including these two keywords).

7. Unmount the disc and burn to a DVD.

I did this and was able to install Panther from the DVD.

Now, you can grow the image file and partition beyond two gigs (to fill the entire DVD) and copy additional installers. I used a DVD-RW so I will reburn it with the MS Office “installer” and a few extras (xCode, etc.). I guess this hint will really be helpful to people maintaining a lab full of Macs.

Doug’s AppleScripts – Access iTunes On A Remote Machine

Computing Comments Off

http://www.malcolmadams.com/itunes/itinfo/remcontrol.shtml

TSM – Lost and Found (Hopefully)

Computing Comments Off

http://www.tsmacs.org/cgi-bin/ikonboard/topic.cgi?forum=15&topic=109

The AppleScript Sourcebook – Home Page

Computing Comments Off

http://www.applescriptsourcebook.com/home.html

macosxhints – Saving and restoring tabs in Safari

Computing Comments Off

http://www.macosxhints.com/article.php?story=20030913153245341

bad-bot script: follow-up?

Computing Comments Off

webmasterworld.com – bad bot trap script

evolt.org – using apache to stop bad robots

diveintomark.org – block bots

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in