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.

Tuesday, July 1, 2008

TiMiTips - Free life tips to the world

Recently I have been some reading about time management, namely, Hack Your Day.

From there I came across some sites that lead me to a increase on email on email processing.

According to GTD, Get Things Done, I have the following buckets, which are merely Gmail labels:

#DO-FAST
#DO-LATER
#DO-WEVER
#DO-W8

The following Gmail filters:

Matches: #DO-W8 DO-W8 do-w8
Do this: Mark as read, Apply label "#DO-W8"

Matches: subject:(#DO-FAST DO-FAST do-fast)
Do this: Mark as read, Apply label "#DO-FAST"

Matches: subject:(#DO-WEVER DO-WEVER do-wever)
Do this: Mark as read, Apply label "#DO-WEVER"

Matches: subject:(#DO-LATER DO-LATER do-later)
Do this: Mark as read, Apply label "#DO-LATER"

This buckets only receive (are labeled) items which I cannot process in less than 30 seconds, as for example a simple , wedding styled, "Yes, I do".

#DO-FAST :: Receives everything which needs to be processed in the same day
#DO-LATER :: Receives everything which needs to be processed in the same week
#DO-WEVER :: Receives everything I want to check same day later
#DO-W8 :: Is waiting for an answer. It can also be in another DO-* bucket.

On the end of the day I process the #DO-FAST. If I don't finish/assign a task I'll have to send it to #DO-LATER.
On the end of the week I process the #DO-LATER. If I don't I'll have to send it to #DO-WEVER.
Of course I can leave them in the same bucket and reiterate everything once more.

The key thing is that any part of the path #DO-WEVER - >#DO-LATER -> #DO-FAST is not permitted.

Everytime I need to send something to a bucket I just send a mail to myself with the label "do-fast", "do-later", etc

See ya,
Tiago Matos