Contents:
Executing Python Code Within Komodo Edit
Komodo Edit is a good free editor for Python development. However, there is no debugging feature in Komodo Edit. Therefore, it is a cumbersome process to execute Python scripts. Fortunately, there is a feature called Run command to satisfy this job.
To make use of the Run command feature to execute Python code, you can follow these steps:
- click Toolbox > Add > New Command.
- type “Run Python file” in the top field.
- enter
%(python) “%F”
in the command field.
- Click on the “Key Binding” tab and you can set the keyboard shortcut key (optional). I personally like the F5 key.
- Click OK.

Now, you can easily execute the Python script by pressing “F5″, or by double clicking the “Run Python file” in your toolbox pane, which is usually located at the right. The output will be displayed in the Command output pane at the bottom.
For more information on the “Run Command”:
http://aspn.activestate.com/ASPN/docs/Komodo/4.4/run.html
Related Posts:

Wordpress 2.6 beta 2 problem
Yesterday, Ryan Boren had announced the release of Wordpress 2.6 beta 2.

The only thing that I am disappointed with was the “WordPress.com Stats” plugin. The vertical bar for the login page, of the stat, at the dashboard, was missing. At least for Firefox 3. I have to use the tab key to fill in the login information.
Download Wordpress 2.6 beta 2
Related Posts:

Best feature of Wordpress 2.6

Wordpress is in its beta stage 1 of version 2.6 right now.
One of the new feature that I like is the theme previewer. With this feature, we can preview a theme live, before actually activating it.
Hence, we no more need an offline test server for testing new theme, before using it.
Link: http://wordpress.org/wordpress-2.6-beta1.zip
WordPress For Dummies
Random Posts:

Nuffnang vs Advertlets at random
This tutorial will show on how to make Nuffnang and Advertlets ads to display at random (not at the same time on each page).
First you need to put this code in the header.php file.
1
2
3
4
| <?php
global $x;
$x = rand(1,2);
?> |
This code will generate a random number of 1 and 2, and then substitutes it to the global variable x.
Next, insert the nuffnang and advertlets inside the code below.
1
2
3
4
5
6
7
8
9
10
11
12
13
| <?php if ($GLOBALS['x'] == 1) { ?>
<!--nuffnang-->
<!--nuffnang-->
<?php } else {?>
<!--advertlets-->
<!--advertlets-->
<?php } ?> |
Now, just copy the code and paste it into the template, as many as desired.
The code will show one or more nuffnang or advertlets ads at random with a chances of 50%.
Related Posts:

Vostro 1400 Bios Update
Dell had released the bios update for Vostro 1400 notebook: version A08.
Fixes/Enhancements
- Improve compatibility with Dell Wireless 1390 & 1490 Dell WLAN.
- Fixed: System Hangs on Resume from S3 with Driver Verifier enabled.
- Added enhancement for optical drives.
Grab it here
Laptops All-in-One Desk Reference
Random Posts:

Who digg your article
Ever wonder who digg your submitted articles to digg.com.
You can easily check it within seconds with this site:
http://sandbox.sourcelabs.com/tinc/
What you need is your username. No password is needed.
WordPress For Dummies
Random Posts:

New Yahoo! Mail Addresses
Yahoo! Mail is now offering new mail address:
@ymail and @rocketmail
It is the new email address for the same great Yahoo! Mail.
If you have missed the desired username with Yahoo! Mail before, it is a chance for you to do so. Grab it while it is still available.
Link: New Yahoo! Mail
Starting a Yahoo! Business For Dummies
Related Posts:

Portable Defrag Tool
Do you ever need a portable file defragmentation tool? Now you can bring one in your thumb drive. It is called Defraggler. The main feature of Defraggler is that it is compact and portable. Another important feature of Defraggler is that it can also defrag individual files. Last but not least, this Vista support tool is brought to you by Piriform for free.
Link: http://www.defraggler.com
Windows Vista: Top 100 Simplified Tips & Tricks
Random Posts:

LaTeX: Frequent Use Packages
This is a list of frequently use packages:
(Usage: Insert \usepackage{package} before \begin{document})
fullpage: Use 1 inch margins
anysize: Set margins
multicol: Use n columns
graphicx: For displaying images
\includegraphics[width=3cm]{filename}
\includegraphics[width=0.50\textwidth]{filename}
url: To insert URL
hyperref: To handle cross-referencing commands in LaTeX to produce hypertext links in the document
The LaTeX Companion (Tools and Techniques for Computer Typesetting)
Related Posts:

One Day LaTeX Workshop
Venue: Makmal Komputer 3, UiTM Perlis
Organizer: URDC UiTM Perlis
Date: 17 June 2008 (8:30 am - 4:30 pm)
Random Posts:
