RSS

How-to map network drives based on network location

1 Comment | This entry was posted on Apr 14 2009

This has been driving me crazy and I cannot figure out how to do it. Here is my problem:
I have a work laptop that I obviously use at work as well as at home. At work I have 6 network drives that are mapped automatically if I log into my computer while at work. At home I have a Windows Home Server with 5 shares that I wrote a batch script to connect to them when I get home. The WHS Connector also adds a shortcut to the shares on my desktop but I want the shares mapped so I can use them as local drives in programs. I also had to write 3 more scripts (1 to disconnect my work drives, 1 to connect my work drives, and 1 to disconnect my home drives) in case I go between work and home without fully turning off my computer and instead just putting it to sleep. I am fairly certain this problem can be fixed with AutoIT or some other tool but I am just surprised this sort of functionality isn’t built into ANY operating system. My laptop has Vista and Linux Mint on it but I know this functionality isn’t in OSX either.
Is there anyone out there that can can suggest something to accomplish this? All I want is something that monitors what network I am connected to, and if that network happens to be home or work, map the appropriate drives. I am going to work on this in AutoIT but I am open to suggestions if you have any.
As soon as I find more information or someone points me to a solution I will update this post with how it works.
Leave your idea’s in the comments.

How-To Create a UBUD

0 Comments | This entry was posted on Mar 04 2009

I just made that up. UBCD is a great tool for tracking down hardware and software problems with non-Apple computers. To be honest I am not sure if it works on Apple computers but I assume most of the tools would not work even if it boots on the hardware. UBUD is my abbreviation for UBCD on a USB Disk (a.k.a. thumb/pen/flash drive).
I ran into a problem on my last road trip fixing someones computer and I was without any CD’s to burn UBCD to. So I ran across these instructions at pendrivelinux.com and they worked perfectly for turning my USB drive into a bootable UBUD.

USB Ultimate Boot CD (UBCD) prerequisites:

* ubcdfix2 (does the USB conversion) <--I found that this file doesn't download so you can get it from the link above
* UBCD ISO
* USB flash drive (fat32 formatted) Sorry there is no download link for this.
* A windows host PC to perform the build

UBUD How-To:

1. Download and launch UBCDfix2.exe, a UBCD folder is created
2. Download the UBCD ISO and move to your UBCD folder
3. From the UBCD folder, click fixubcd2.bat and follow the onscreen instructions. I ran into one problem where it said I needed to run the program again because I was using Vista but really I didn’t have to. So if it gives an error in Vista go ahead and try rebooting anyway.
4. Reboot and set your computer to Boot from the USB device

I hope this helps with any problems you may run into when you find yourself without a blank CD.
Let me know in the comments if there are any other tools that you always keep with you on the road for fixing those random computer problems.
Also, has anyone tried UBCD4Win? It seems like it could be interesting for Windows specific (a.k.a. virus/spyware) problems.

Setting up RSS feeds with Google Reader

1 Comment | This entry was posted on Jan 19 2009

This how-to is actually my original intent with the post I just had, but I got carried away explaining what RSS feeds do instead. So here is how you can use Google Reader for your news butler.

First here is what you need:
A Google account. I know you were probably expecting more but that is it. If you are reading this site you already have a computer with a web browser so you are all set to go.

Let’s head over to Google Reader’s website to log in. Look familiar? It should because it is the same login that you use for your Gmail account. Once you are logged in you should see this sidebar. google-reader-01 This side bar lets you view all your unread news articles or you can also share items with friends (requires a Gmail account) or put notes on things. Lets not forget this is Google so it tracks what you do. If you click on Trends you can see how many articles you have read, what categories you usually read, and how many items you have shared and starred. To be honest I don’t do much starring because I find it like a inferior bookmarking method and if I find something I like (and want to keep for later) I bookmark it with delicious and move on. You can also browse for stuff to find articles you probably will like and subscribe to them right there. If you want to share articles with fellow Google reader’s you can click the start sharing button and get right to it. Below that is where all your subscriptions show up. You can sort them into relevant folders and go through the articles you want to read in a jiffy.
Here is how mine looks.google-reader-02 As you can see on the left I have everything collapsed so that I can just browse all my news by either clicking All items at the top or by each folder. On the right I also turned on collapsed view so that I can read more articles without having to scroll as far. If I find something I like I just click on the headline and the article expands. If I want to read it further or see it at the original site you can just click on the headline in blue. Once I am done with a folder I just click the “Mark all as read” button at the top and that whole folder gets marked and I move on to the next folder.
If you want to share an article you can either click on the share button, share with note, or if you want to share it with someone who doesn’t use Google Reader you can just email it to them right there. It drops a little spot down to write the email and send it all without leaving the reader. Pretty fancy if you ask me.
Last thing you will probably want to know is how to add sites when you are not at Google Reader. rss-logoAll you need to do is look for the RSS link. Usually it will have this icon. All you have to do is click on the logo and any modern browser will ask you what you want to do with the feed. You can simply say “add to Google Reader” and it will take you there with the feed already populated with the latest 10 items. Couldn’t be more simple. Give it a try and subscribe to my blog by clicking the RSS button at the top or click here.
Hope to see you sharing articles in Google Reader.

Enable “path view” on top of Finder window

0 Comments | This entry was posted on Dec 07 2008

I saw this at The Unofficial Apple Weblog and thought it was nice because I hate that you can’t see what folder you are in by default.
Open a terminal and type:

defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES

And you have your location at the top of the window. I don’t even have a Apple anymore but this still may be useful in the future. Only works in OSX 10.5.5+

How to restore a Apple computer to factory defaults

1 Comment | This entry was posted on Oct 03 2008

I occasionally need to set up a Apple computer to act like it just came from the factory to give to a new person or to sell it. There are 2 ways I found to do this. The first is with the original install disk that came with your computer. But honestly who still has those around?

The second is as easy as deleting one folder and two files.

All you have to do is boot the mac into single user mode (command+s at start up) and enter the following commands at the terminal you are presented with.

mount -uw /
rm -rf /Users/ /var/db/netinfo/local.nidb /var/db/.AppleSetupDone
reboot (or shutdown -h now if you don't want the machine to turn back on)

Replace with whatever username you set up on the computer.

This isn’t exactly the same as a fresh install but it is close enough. It removes all of the users and has the person go through the steps of naming the computer and registering with Apple.

Let me know if you have any other tips for restoring a Apple computer to true factory defaults.