How to find all files containing specific text in linux?

Recently, while working on a project, I needed to search if an image I intended to delete was in use anywhere else in the code. There were lot’s of text files to go through and I needed a quick way to tell whether or not it was safe to delete said image. I learned how … 

 

How to install 3rd party python modules

Python follows a “batteries included” philosophy, which means that a lot of functionality you may need is built in to the language itself.Python developers have developed their own modules to extend Python’s capabilities even further. These third party modules are kept in the Python Package Index or PyPI which is similar to an app store … 

 

Why I failed as a blogger and what I am doing about it

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 … 

 

My solution to the FizzBuzz challenge.

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 … 

 

How to untar files in Linux/Ubuntu

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 … 

 

This week in Firefox: Testing Graphics

On Friday February 17 2017, the Firefox Beta community tested Firefox 52 Beta 7. The focus of this test day was on WebGL. WebGL is a JavaScript API for rendering¬† graphics in the browser without the use of plugins such as Flash or Silverlight. Graphics testing involves testing how Firefox renders websites that use WebGL … 

 

How To Read and Write Files Using Python.

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.

 

How To Download Entire Websites Using wget.

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 … 

 

Python: Storing Objects Using Shelve

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 … 

 

These weeks in Firefox: Testing WebRTC and Responsive Design Mode

On Friday 3 February Mozilla held a test day for Firefox 52 Beta 3. The new features under test were WebRTC components; DTMF and screen sharing. WebRTC is a collection of communication protocols and APIs that enable browsers to provide real time communication services such as desktop sharing, video calling, file sharing and more without …