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
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
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
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
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
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
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
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
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
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
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.
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.
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.
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.