Blogging is a great way to share your opinion and become an authority in a particular field. It is possible to make lot’s of money from a blog if this is done right. I have been running this blog for seven years now and in that time I have only produced about 60 or so…… Continue reading Why I failed as a blogger and what I am doing about it
The “FizzBuzz Test” is an interview question meant to filter out candidates that cannot program their way out of a paper bag. When I first read about this test on codinghorror, I assumed that it must be a very difficult challenge for it to filter out 99% of software development job candidates but it turns…… Continue reading My solution to the FizzBuzz challenge.
In Linux, a common file format is the tarball. A tarball is a compressed folder similar to a zip file. Most Linux distributions include a graphical archive manager that allows the user to extract and manage different types of archives. While GUI based packages are great, I prefer using the terminal to manipulate files. A…… Continue reading How to untar files in Linux/Ubuntu
Reading and writing to files using Python is easy to do. In this post, I will go over how to read and write to text files. First, create a file object by calling the open function. Python’s built-in open function is used to open test.txt file in read mode. This tells python what file to…… Continue reading How To Read and Write Files Using Python.
An invaluable tool that I use a lot is wget. wget is a free terminal utility for downloading files from the Internet. I do not have a reliable Internet connection and when I do get online, I am usually on a metered network. Not being able to connect to the Internet when I want to…… Continue reading How To Download Entire Websites Using wget.
The shelve is used to store Python objects to a file in a dictionary like format.shelve is used where using a relational database would create too much overhead or is unnecessary for example to persist data between program runs. Shelve is part of the Python Standard Library so getting it to work in your programs…… Continue reading Python: Storing Objects Using Shelve