Categories

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

Using Python to replace spaces with underscores in filenames.

Python can be used on Window, Linux and Mac. It just a simple install.

download code

#!/usr/bin/python import string import os import re # task: # loop thur input directory # look for .pdf # replace space with underscore # rename/move to output directory inputDir = “./” # Current directory outputDir = “./new_location” for filename […]

Microsoft Certified Professional Developer (MCPD)

How to earn your MCPD certification on Visual Studio 2008

Each MCPD certification on Visual Studio 2008 requires that you pass two to four Microsoft Certified Technology Specialist (MCTS) prerequisite exams and one Professional Series exam, as shown in the following table. When you pass all the exams in a specific MCPD path, you earn […]

Sony PRS505SC Over Amazon’s Kindle

Sony PRS505/SC Reader Digital Bookby ComputerTV

Displaying Child Page Links in A Template

[…]

Linux and Apache commands

Here are some commands that we use at the Gazette on our Linux web server. It is running Red Hat Enterprise Linux 5.2.

Reload Apache Conf file /etc/init.d/httpd reload

Restart Apache apachectl -k graceful (didn’t work on Rackspace)

Restart Apache from ssh /etc/rc.d/init.d/httpd restart

Modify Apache conf file vi /etc/httpd/conf/httpd.conf

vi commands i enter edit […]

Friday the 13th 404 Error

Friday the 13th after work panic call. Three sites had 404 error pages on their homepages. A quick Google search for this WordPress post

PROBLEM: My wordpress homepage (www.satvatovecommunity.com) displays the “Page not found (404)” error. This error is there no matter what I set my homepage to display (either latest posts or any static […]

Deprecated innerHTML

This is a JavaScript example of how to use the createTextNode instead of the deprecated innerHTML. There is also an example of how to use the removeChild function if the node you want to add to has child nodes.

function redmatchJobCount() { var redmatchJobCount = “”; // create this: 309 var textObj1 = document.createTextNode(redmatchJobCount); var […]