selinap.com

To leave furtively and stealthily.

Archive for April, 2008

Easy Multiplication I

Wednesday, April 16th, 2008

This technique of multiplication will do the multiplication from right to left. Let’s look at an example. 23 x 12 = 276

(more…)

View Microsoft Office 2007 Files

Wednesday, April 16th, 2008

To view or print a Microsoft Office 2007 file, on a PC without Microsoft Office 2007, just download the viewer from Microsoft. The viewer will allow you to view and print those files, and can even open password protected Word, Excel or PowerPoint files. However, you cannot edit those files.

(more…)

Add all the natural numbers below 1000 that are multiples of 3 or 5

Tuesday, April 15th, 2008

Problem #1 of Project Euler

Add all the natural numbers below 1000 that are multiples of 3 or 5.

(more…)

How to embed source code in a blog

Tuesday, April 15th, 2008

To embed source code inside blogger blog, like in the picture above, I use a css box like below:

(more…)

Password protect Word 2007

Tuesday, April 15th, 2008

To password protect a Microsoft Word 2007 file,

(more…)

Python: Conditional Statement with lambda

Tuesday, April 15th, 2008

Suppose that we have a conditional statement:

In Python, we can write it in three ways:

(more…)

Python: Parse Apache log to sqlite database

Tuesday, April 15th, 2008

This Python script was written for a friend in Australia, for part of his Ph.D project. The script will parse the Apache server log into sqlite3 database.

(more…)

Python: py2exe setup file example

Tuesday, April 15th, 2008

py2exe is a Python package that can convert Python scripts into executable Windows programs. This is an example of py2exe setup file.

(more…)

Check your blog load time

Tuesday, April 15th, 2008

This tool could be used to determine a blog load time.

(more…)

Python: Initialize list and tuple values

Tuesday, April 15th, 2008

This tutorial will show how to give a Python list an initial value.

To initialize list myTuple values to 0, with 10 items:

(more…)


© Copyright 2008 - 2009 selinap.com
Entries (RSS) and Comments (RSS).