How do you iterate over a dictionary in Python?

Suppose you have a piggy bank containing a lot of coins and you want to count them. You store your coins in a dictionary. Once you finish adding them in the dictionary, you want to know how much you have of each denomination. How do you do it? To see this example in real life … Read more

What is the best laser printer for home use?

You may be asking yourself…why do I need a laser printer? It’s going to be very expensive. I usually buy an inkjet printer. I see laser printers at the office. They are big and bulky. I just need something to print occasionally. It’s not like I’m going to be printing everyday. Sure, they are all … Read more

Wireless Issues with Motorola SBG6580 Cable Modem

If your Internet Service Provider (ISP) is Time Warner Cable (TWC), you have the option to either lease the cable modem or buy your own. If you buy your own modem, you can save $5.99 per month in monthly fees. However, you need to buy a modem that is approved by TWC. There are many … Read more

Send a Test Mail Using Telnet

Send a Test Mail Using Telnet

When you are having a problem sending a mail message, the first thing you want to do is test the SMTP (Simple Mail Transfer Protocol) connectivity. By default, SMTP listens on port 25. By using telnet, you can connect to port 25 on the mail server and test whether or not you can send a message. This step is done on your own workstation. If you are having a problem sending mail from a web form, run this step from the server that is storing the web form.

OSI Model Layer

The Open Systems Interconnection model (OSI model) by developed by the International Organization for Standardization (ISO) in 1984. OSI reference model is a way of sub-diving network communication and grouping them into logical layers. On each layer, an instance provides the services the instances to the layer above it and requests services to the layer below it.

Disable SSLv2 and Weak Ciphers

Disable SSLv2 and Weak Ciphers

Are you still using Secure Socket Layer (SSL) version 2 on your web server? If so, you need to read this article. It can save your life. Okay, maybe not that dramatic but it will show you how to disable SSLv2. Why? There are vulnerabilities in this version. If you don’t disable it, your web server might get compromised. This vulnerability exists whether you are running Apache or IIS. The steps to disable it are fairly trivial. So go ahead and tr

Free Stuff

Free Stuff

Are there free stuff on the web? Sure, there are plenty of them. Many sites offer free content. They cover their costs from ads placed throughout their site. Which sites that are free actually provide good content? Here is a collection of free sites I have found.

Backup All SQL Server Databases

If you do Microsoft SQL Server Administration, you know how easy it is to back up your databases using the Enterprise Manager. Using the GUI comes with a price though. You sacrifice the ability to script what you are doing to other servers. What if you have other servers you want to backup all your SQL Server databases? How would you do it in the most effective way?

Where is the Windows Vista Send To Menu?

Where in the world is the Send To menu? Yes, you have guessed it. It has moved again. To get it back, the process is different but once you get it, you can use the same process as before. Do the right-click for the Send To

Location of the Outlook PST Files

If you use Microsoft Outlook 2003, you may be wondering how to back up your email. This situation can come up if you are getting a new computer and you want to move your files to your new computer. This situation also applies if you want to archive your email for safe keeping. If you … Read more

Useful Regular Expressions

From the words of Peter Parker “With great power comes great responsibility” so too is the power of regular expression. It is concise, flexible and powerful. At the same time, it can do complex matching of text such as characters, words and patterns of characters.