Renaming all files in a directory with Bash

In the past when I’ve needed to automate a task, such as renaming thousands of files, I’ve tended to use the Python OS module. However, lately I’ve started to write Bash scripts to achieve these tasks, because of how quickly and easily it allows me to work within the Unix filesystem. Last week, one of …

Read More
First impression of Swift (Apple’s new programming language)

Swift is Apple’s new programming language, which promises to allow you to write iOS and OS X apps more easily than with Objective-C. Apple have released a free eBook titled “The Swift Programming Language” which provides an overview of the language. This is where I gained my main impressions on Swift. To give you a …

Read More
What I learned while learning C++

C++ is regarded by many as one of the most difficult programming languages to become proficient in. After spending the past couple of months learning and writing a lot of C++ I am positive that while I quite like the language, it is definitely not a good first language for someone just starting out. There’s …

Read More
C++ for beginners

In this tutorial, I’m going to provide an introduction to the basics of the programming language C++. I’ll describe how to compile your first program with the gcc compiler on Linux and Mac, although the code should also work on Windows using the Visual Studio compiler. If you’re new to programming, I’d probably recommend getting started …

Read More
Where to learn C++

C++ is the most recent language I’ve acquired, and while I certainly still have a lot to learn, I’ve gained a reasonable understanding from the following free resources online: LearnCpp.com – Learn C++ tutorialspoint – The C++ Programming Language cplusplus.com – C++ Language XoaX.net – C++ Video Tutorials Google Developers – C++ Class Cprogramming.com – Programming Tutorials – C, …

Read More
Best resources for learning OpenCV (Python and C++)

Here’s a list of some of the websites, books and videos (for both Python and C++), that I have found very useful while learning OpenCV. Python Using OpenCV with Python and ROS (Video) – Great introduction to computer vision and OpenCV. PyImageSearch – Website has a lot of great tutorials on many different applications of OpenCV. OpenCV-Python …

Read More
How to create random DNA sequences with Python

Python’s random module makes it extremely easy to generate random DNA bases. Now to generate a specific number of random bases, all we have to do is use Python’s range function:

Read More
Sublime Text OpenCV C++ Build System

If you want to compile and run a C++ program using OpenCV in Sublime Text, then copy and paste the code below into a build system file. If you’re not interested in explicitly using C++11 you can delete the “-std=c++0x” section.

Read More
Some interesting talks from PyCon 2014

Here are several talks from PyCon 2014 I thought looked rather interesting from a research perspective:    

Read More
Where to find R tutorials

Here’s a list of a few R tutorials (in addition to the one I wrote), which I’ve found (or look) rather useful: Google Developers R Tutorials Playlist of R tutorials on YoTtube A slightly Different Introduction to R Part I Part II Part III Part IV Part V

Read More