Saturday, August 30, 2008

Open Ports

If you're having problems on knowing what ports are being used by your machine check the following commands, has it is quite difficult to check all the info on the command line a .txt is save on your hard drive.

I used this commands in order to set a local AMP server on Windows (XAMPP) and there was a conflict between Skype and Apache both using port 80. The solution was to set Skype configuration not to use port 80 and restart the machine.

To check open ports on your system
netstat -an > c:\openports.txt

To check open ports and PIDS
netstat -ao > c:\openports.txt

GIMP Transparency

Taken form here
  1. Open your image in the gimp
  2. Right click the image and go to LAYERS then ADD ALPHA CHANNEL. You won't notice anything happening, but don't be concerned. It basically adds a transparent layer at the bottom of your image so when we erase the colors.....it's shows the transparent layer. Which of course would show whatever was under it on the screen.
  3. Right click on the image again and go to SELECT and then down to BY COLOR. A window that is all black opens up. Don't change any of the settings....just use the defaults for now.
  4. Now click on the color in the image you want to be transparent. These colors will now show up outlined.
  5. Right click on the image again and go to EDIT and then down to CLEAR. This should now erase the outlined color you just picked from the image and the "transparent gimp checkerbox" should show through. This is the Gimps way of showing you that section is now transparent.
  6. Right click on the image and choose SAVE AS and make sure to save as a GIF file if you want the transparency to work on the web.