Hide .svn folders in the Aptana Navigator

  • Click the small down arrow in the top right corner of Navigator, click Filters.

Filters

  • Check *., then click OK.

navigator-filters

Advertisements

Display a World Clock in Google Calendar

  1. Click the Gear in the top right corner, click Calendar Settings.
  2. Click the Labs tab.
  3. Scroll to the bottom, then select Enable next to World clock.
  4. Click Save.
  5. Once you’re back in Calendar view, click Settings in the World clock to select the time zones you want to display.

Install express for node.js on Windows 7

Getting express working on Windows 7 did not work exactly as shown in the vast majority of tutorials/blogs that I found.

While simple, it requires an additional step or two.

Before we start, the following are the current versions of node and npm that I’m using on Windows 7:

node.exe -v
v0.6.10

npm -v
1.1.0-3

Open PowerShell, then type:

npm install express

Unfortunately, this installs express in:

C:\Users\Akbar\node_modules

If you try to start the node.js server with require(‘express’), node will be unable to find express.

To correct for this issue, do the following:

Open Windows Explorer to (replace Akbar with your user name): C:\Users\Akbar

Copy the node_modules folder.

Open the folder that contains your node app, such as: C:\my_node_app

Paste the node_modules folder.

That’s it. run the node server and everything should work fine.

node.exe .\app.js

Install Tornado on Windows 7

Please see my prior post on how to Setup virtualenv on Windows.

Open PowerShell, then enter the following commands:

cd C:\Python27

.\env_tornado\Scripts\activate.bat

.\Scripts\easy_install.exe pip

pip.exe install tornado -E .\env_tornado

 

If you want to install in the global site packages, then skip pip above and use:

.\Scripts\easy_install.exe tornado

That’s it. Time to start writing code.

Setup virtualenv on Windows

I’m going to assume you have Python 2.7 correctly installed on Windows at C:\Python27. These instructions are applicable to Windows XP and Windows 7.

 

Open Windows PowerShell, then enter:

cd C:\Python27

.\Scripts\virtualenv.exe –no-site-packages env_tornado

And now to activate the new environment:

.\env_tornado\Scripts\activate.bat

The new virtual environment is now setup and ready for use

Bye bye Flash

I have finally stopped installing Flash in my browsers by default. Up to now, I used to install Flash as soon as I upgraded my browser.

However, it’s time to start the transition to the brave new world of HTML (including HTML5).

Flash, it’s been great.