News for November 2009

Unmounting Disk via CLI on Mac

hdiutil unmount /dev/disk1s1
Posted: November 30th, 2009
Categories: macosx, os
Tags: ,
Comments: No Comments.

Modifying plist files on Mac

plutil -convert xml1 com.FiLE.plist
plutil -convert binary1 com.FILE.plist
Posted: November 22nd, 2009
Categories: macosx, os
Tags: ,
Comments: No Comments.

Attaching Solaris Container/Zone

Attaching Solaris Container/Zone

zonecfg -z HOST create -a /container/HOST
zoneadm -z HOST attach -F
zoneadm -z HOST boot
Posted: November 21st, 2009
Categories: os, solaris
Tags:
Comments: No Comments.

Linksys WRT54G Faint Power LED Light

Symptoms:
- Router is pingable at 192.168.1.1 for about 5 seconds
- Power LED Light is very faint

Fix:
- Transfer firmware to the router

tftp 192.168.1.1
binary
trace
put dd-wrt.v24_micro_generic.bin
Posted: November 21st, 2009
Categories: networking
Tags: ,
Comments: No Comments.

Safari Full Screen / Maximize Window, Resize Window, Email link, Print link, Open a New Window “button” for Safari

Safari Resources (from http://www.jydesign.com/safari)

Tools for Safari: Full Screen / Maximize Window, Resize Window, Email link, Print link, Open a New Window “button” for Safari, and more.

Full Screen: How can you make your Safari Browser window quickly expand to fill your full screen? Easy, just drag and drop the link below to your bookmarks bar OR bookmarks folder. Then click on it and the simple JavaScript will expand your browser to fill all available screen real estate. Drag this link to your bookmarks bar/folder* (feel free to edit the name of the bookmark):

Full Screen

Resize Browser Window: Automatically resize your browser window to various standard screen resolutions in order to see how pages will appear (similar to many Firefox plugins). Drag these link to your bookmarks bar or put them in a ‘browser sizes’ folder:

640×480
800×600
1024×768
1280×1024
1600×1200

Print “Button”: Want a mouse-happy way to print the page you are looking at?
Drag this link to your bookmarks bar/folder (feel free to edit the name of the bookmark):

Print

GmailThis!: “is an easy way to make a Gmail email without visiting mail.google.com. Once you add the GmailThis! link to your browser’s toolbar, emailing will be a snap. Or rather, a click. Clicking GmailThis! creates a mini-interface to Gmail pre populated with a link to the web page you are visiting, as well as any text you have highlighted on that page. Add additional text if you wish and then email or save as draft from within GmailThis!” (Source: thanks to “From the Hall” blog for this cool link code):

GmailThis!

digg this: “universal JavaScript Bookmarklet, which will automatically submit the URL of the page your browser is currently on, to Digg” (Source: thanks to “Skatter Tech” for this cool link code):

digg this

New Window “Button”: Want a mouse-happy way to open a new browser window?
Drag this link to your bookmarks bar/folder (feel free to edit the name of the bookmark):

New Window

Mail to / Email Page “Button”: This is a simple way to email a link to a friend and it even places the title of the current page into the subject field.*
NOTE: I’ve had this one up for a while, it’s not really necessary now that Safari has two different mailing options available via the File menu.
Drag this link to your bookmarks bar/folder (feel free to edit the name of the bookmark):

Mail

Posted: November 20th, 2009
Categories: macosx, os
Tags: ,
Comments: No Comments.

Minimal Postfix Configuration for Relay

Update the main.cf to include the minimum to point the host to a specific relayhost.

myhostname = something.SOMEDOMAIN.com
relayhost = RELAYHOST - FQDN.
Posted: November 19th, 2009
Categories: os, rhel
Tags:
Comments: No Comments.

Code Patch

diff code.pl new-code.pl > code.patch
patch code.pl < code.patch
Posted: November 18th, 2009
Categories: programming
Tags:
Comments: No Comments.

NetApp SnapMirror for Data Migration

Data migration from filer to filer using SnapMirror.

## On source-filer
wrfile -a /etc/snapmirror.allow "destination-filer"
## On destination-filer
wrfile -a /etc/snapmirror.allow "source-filer"
vol create DESTINATION_VOLUME aggr0 100g
vol restrict DESTINATION_VOLUME
snapmirror initialize -S source-filer:SOURCE_VOLUME DESTINATION_VOLUME
snapmirror status -l
snap delete DESTINATION_VOLUME <BASE_SNAPSHOT_FROM_SNAPMIRROR_STATUS>
Posted: November 16th, 2009
Categories: netapp, storage
Tags: , ,
Comments: No Comments.

Nintendo Wii Remote Jacket Accessory Offer

Nintendo is now including the Wii Remote Jacket for the Wii Remotes in all new hardware being shipped. For Wii owners who purchased their systems prior to this addition, we are offering to send free Wii Remote Jackets for their existing Wii Remotes.

http://www.nintendo.com/consumer/jacket/jacketrequest.jsp

Posted: November 15th, 2009
Categories: Uncategorized
Tags:
Comments: No Comments.

Disable DNS Lookups on Cisco IOS

no ip domain-lookup
Posted: November 12th, 2009
Categories: cisco, ios, networking, os
Tags: ,
Comments: No Comments.