What is an inode?

If you come from the Windows world, you may not be familiar with the concept of inode. This is not something you are exposed to until you journey into the Unix world. Even if you use Unix, you may or may not encounter an inode. It depends on how much you care about the systems … Read more

How to Backup Your LastPass Password?

Although your passwords are backed up by LastPass, it’s always a good idea to have a backup copy, just in case. The problem with cloud solutions you may use is that they are dependent on the service provider backing up your data. What if something happens to your data? In the case of passwords, it’s … Read more

Automation with Bash Scripts

Are you able to automate with Bash scripts? Definitely! Is this something you want to do all the time? Of course not! It depends on the situation. What is it that you are automating? If you are a System Administrator, SRE or a frequent user of Linux, Bash scripts come in handy. There are things … Read more

Understanding Big O Notation

Looking from the outside, Big O is very scary. Why? O is not an abbreviation for a word, it’s a concept. It’s a concept used in mathematics. It’s a concept in computer science when we want to talk about algorithms. What is algorithms? Yeah, that is another scary concept on its own but we’re here … Read more

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

How to check if a Python list is empty?

Suppose you are writing a Python program and you want to check if a list is empty. How would you do it? This should be something that is very straightforward right? Or is it? The example could be a list of fruits that you are keeping track of. The list can be something like the … Read more

How do check if a directory exists in a Bash shell script?

If you write scripts in a Bash shell, you will eventually come across a need to check the existence of a directory. You may want to know if the directory exists before you start writing a file to it. You may want to know if a directory exists before automating some process that reads from … 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

How to Generate a Random Number in Bash

There are a number of reasons why you may want to generate a random number in a Bash shell. We are referring to a Bash shell rather than using a programming language such as C++, Java or Python. Maybe you want to pull a random line from a file. Maybe you want to generate a … 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

Un-hide the User Library Folder

Un-hide the User Library Folder

Why did Apple decide to hide the ~/Library folder in OS X Lion? Does it cause less problems for users if it is hidden. I think not. I think it creates more confusion. When I got my Lion, I could not find it on my Finder. Apparently, it’s an issue for other users too.

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.

How do I move my Adium settings?

Adium is a great instant messaging client for the Mac OS X. You can use it to connect to other services such as AIM, MSN, Jabber, and Yahoo. If you use many services, it is very convenient to use one client. Unfortunately, it lacks a feature to easily import and export your settings. If you are migrating your Adium client to another Mac, there is no way to do so very easily. However, there is still a way to do it and not lose your settings such as your contacts.

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.

Free Mac Software

Free Mac Software

Let’s face, having a Mac is cool but it will cost you. There are a lot of cool software out there but they are not free. It seems like there are more free software on Linux than on Macs. Does it mean we are stuck paying for software if we are on Macs? No, it doesn’t mean that. There are bags of gold out there (i.e., free Mac software). They are available for you to download but you just have to know where to look.