Archive for the 'newbie.blog' Category

Adobe’s AC_FL_RunContent and Lightbox 2 can’t work at the same time in IE 7

I don’t know much javascript, but from what I can see… using both the AC_FL_RunContent.js script from Adobe for embedding flash objects and Lightbox 2 from http://www.huddletogether.com/projects/lightbox2/ won’t work at the same time in IE7.

It looks like IE7’s fault – like normal – because Chrome and FireFox do it right. Taking out either lightbox’s javascript or Adobe’s makes it work… but no combination of the two I see does.

Anyway, If i have both of these javascript files in the header of any web page, I get the following:

Line: 3975
Char: 9
Error: Object doesn’t support this property or method
Clode: 0

The image then comes up as if it were linked to directly.

Total crap!!! Anyone else getting this out there?

Quickly see how much space each object in your current dir is using via command line in linux

EDIT: Apparently this is done with du -sh * for all files, du -sh */ for all directories. As a side note, you can use c in there to calculate the total size of all listed items. Thanks Yan Morin!

Sounds kinda stupid, but I was unable to find a trigger with du or dh to show the size of the directories in my current directory. If i did du -h it showed me the size of the file, but also showed me the size of every file within. I just wanted a high level overview of the total size of each folder I had in front of me.

I noticed du -h DirName showed the size of the dir or file on the last line….

A quick for loop solved the problem! Maybe it will be useful for someone else, too!

for d in *; do du -h "$d" | tail -n 1; done

Some dell drivers not properly displayed when searching by service tag.

This comptuer does not meet the minimum requirements for installing the software.

This comptuer does not meet the minimum requirements for installing the software.

Long story short, when you search some Dell computers by their service tag, the correct drivers for that sysetm are not always displayed. When downloading drivers via the service tag I was faced with the error seen above: “This comptuer does not meet the minimum requirements for installing the software.”. Searching by service tag is supposed to only display drivers that work for that specific system, as shipped. However, I had this problem on two seperate C521s. The real driver is on the website, but you’ll have to browse by product name and look at the full list of options to find your driver. this problem could be happening on other systems, but so far I’ve only seen it on a Dell C521

Start downloading .torrent files from anywhere with uTorrent and Dropbox

Ever been away from your home computer and thought: “Man, I would like to start that torrent download now so it’ll be done when I get home later.” ? Well, now there’s a way to drop .torrent files into a location on your computer and have it automatically begin downloading where you have utorrent running. uTorrent watches a directory for torrents and dropbox gets them there. I give my friend Jake credit for this one… this came naturally to him when he installed Dropbox.

The process is two fold. First, install and register a Dropbox account from www.getdropbox.com. Dropbox lets you sync up to 2G of files for free across all of your computers. It reminds me somewhat of an automated version control system that all your computers are constantly watching for changes. Just change a file on any of your computers and the change is synced across all of them.

Once you have installed Dropbox and registered for an account, create a folder named ‘Torrents to download’ within the ‘Dropbox’ folder you now have in ‘My Documents’. Repeat the sign-up and download process on the computer you want to host the torrent downloads and link it to the same account. Try putting files in from one computer and watching them pop out on the other end. You can also use the online web interface by logging in at www.getdropbox.com to upload a file into your Dropbox… or pull one out.

Install utorrent from the official site here; then open the preferences screen (options -> preferences). Choose directories from the left side menu and then check the box labeled ‘automatically load .torrents from’. Specify your Dropbox folder you created earlier: ‘Torrents to download’. Click the ‘delete loaded .torrents’ too if you like. It’s a neat feature.

Now, go to any computer where you have dropbox and just plop a torrent file in there. You’ll notice that if you checked the ‘delete loaded .torrents’ option it will go away moments later. Your other utorrent computer will catch the change, load the file into utorrent then delete it… that well then be synced back to you and the file will be removed right before your eyes. I strongly encourage looking at some of the other options within utorrent, too.

It’s true utorrent does have a web interface, but that would require you to open up firewall ports – ew! This method bypasses all that madness and your torrent files start instantly. I use it!