Monthly Archive for April, 2009

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