Archive for the ‘do it yourself’ Category

h1

check your foldersize

May 7, 2008

Mac users, this won’t work for you. (Actually this would only work with Windows. Oh well.)

There are tons of folders all over your computer with all sorts of crap in them; movies, music, word docs, pictures, etc. At some point, you realize that you don’t have enough space for all of your precious files and you are also to cheap to buy more hard drive space. What is a person to do?! It’s a pain in the ass to clean up your machine, so when you finally get around to it, you do the basics (in no particular order):

  • clear your web history; cookies, cache, etc.
  • delete any programs/files you are no longer using
  • run a disk cleanup
  • defrag your PC
  • empty your recycling bin
  • burn some of your important files on a CD/DVD

So you are all done and give your PC a fresh restart and WHAM!!!, you freed up less than a gig of space. Great, that sucks. You could have spent your time being lazy. You sit there with mouse in hand and wonder: What is responsible for taking so much space? Who is the space-hog culprit?

Here is a nifty little tool that I came across that can tell you how much space is being occupied per folder/drive: http://foldersize.sourceforge.net/. Now this is one bad bitch. You might say,”I could just right click and choose properties to find out how much space is being taken up.” You are right, this is possible. However if you have a lot of folders to go through, this could be a painstakingly long process.

Using the foldersize app, you can view the sizes of all of your folders at the same time. When you look into a folder using “details view”, you’ll see some sorting options such as Name, Type, date Modified, all boring crap.

You could even right click on the bar (with those names) and tick a few other useless options. But what you can’t get is how big a folder is. You would think that Microsoft would have thought about this, but no, they didn’t. Bastards. Lucky for us, there is a little application that can tell us what we want.

Now you can finally see what is taking up so much space on your PC and delete what is necessary.
Get it here: http://foldersize.sourceforge.net/.

Advertisements
h1

Running Internet Explorer 6 in Fedora

February 28, 2008

After a long sabbatical, I’m back with a vengeance. A vengeance that marches to the beat of Linux. I’m going to show you how to use WINE to run Internet Explorer in a Fedora build.

Using WINE to Install Internet Explorer 6

WINE is an application for Linux that allows you to run Windows applications using nothing but the Linux shell. It’s a lightweight alternative to emulation, but is not always the end all answer to running Windows applications.

WINE will map Linux file structures into a logical Windows Path, and allow for executing EXEs through the WINE application.

To obtain WINE:

· Log in as root

· Load the Graphical Interface

· Open up a terminal screen

In the terminal, type:

yum -y install wine*

 

You will see a short dialog alerting you of the install process.

In this example, we also need to be able to extract Windows CAB files into a Linux directory structure. At the time of this write-up, WINE does not support this function.

We’re going to install CABEXTRACT, a program that extracts CAB files and maps them to a Linux structure utilizing WINE.

 

In the terminal, type:

yum -y install cabextract

 

Due to the nature of how Internet Explorer installs itself, we actually need source EXEs that Microsoft will not provide natively. To do this, we download and run a program called “IEs4Linux”, which supports IE6, IE5.5, IE5, and beta IE7.

To obtain IEs4Linux:

· Log out of root

· Log in as user

· Load the Graphical Interface

· Open up a terminal screen

 

In the terminal, type each line and separate each command with ENTER.

wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gztar zxvf ies4linux-latest.tar.gzcd ies4linux-*./ies4linux

 

The last command will bring up a display window, prompting you to select plug-ins and your version of Internet Explorer.

· Select ONLY IE6

· Install the Flash plug-in

· Create a shortcut to desktop and menu

 

After selecting these options, there will be a short download/installation dialog. If everything works properly, you will see a shortcut appear on your desktop to Internet Explorer.

There are a few small bugs with this method, but for the most part, you should be able to use Internet Explorer natively with little emulation.

Concluding Notes

Running Internet Explorer within Linux allows web developers to use the most popular browser to test their code without the need for emulating a system. Although slightly buggy, the method is enough to get a basic instance of IE usable enough to suit most needs.

 

Since IE is a very vulnerable platform, you SHOULD NOT install IEs4Linux as root. Use a standard user account to protect your file system. Since you are emulating a Windows file system, you put your platform at risk every time you surf on the web; what Linux users normally take for granted (security) is compromised the instant you connect to the Internet using Internet Explorer. Be advised, use the proper security settings, and allocate your permissions accordingly.