Quick References

As a constant learner, I get to touch upon many ideas in different areas. This category is for me to capture those ideas which I felt people may reference to get ahead of their tasks. Most of the time, I do come back to this section of my blog to remember what I had learnt in the past.

Installing Octave on my MacBook via Homebrew

Andrew Ng’s Machine Learning course on Coursera brought about the need for me to install Octave on my MacBook. Since I had only two days before I could submit my first Octave assignment without any penalty, I decided to use the simplest method to get Octave running on my MacBook.

This post documents the steps that I took to install Octave on my MacBook via Homebrew.

How to connect Raspberry Pi camera module to Raspberry Pi Zero W and the official case

Equipped with a wireless LAN and priced at only $10, I see the Raspberry Pi Zero W as a good candidate for a low cost CCTV that I can deploy at my house for surveillance purposes. With the arrival of my Raspberry Pi Zero W and the official case, I could free up the Raspberry Pi 3 that I had been using for home surveillance for other projects.

This post documents how I connect my Raspberry Pi camera module to my Raspberry Pi Zero W and the official case.

How I setup Codiad web IDE on my Raspberry Pi 3 with Ubuntu Server 15.10.3, Nginx and PHP

There are times when I get the urge to work on project source codes that reside on my Raspberry Pi 3 LEMP server while I am on the move. Setting up a web based IDE on my Raspberry Pi 3 is one way to enable me to code while I am on the move, so long as I have a device with a web browser that is connected to the internet. Since I had already setup a LEMP server to run WordPress on my Raspberry Pi 3 and that Codiad is written in PHP, Codiad is an ideal web based IDE that I can set up on my Raspberry Pi 3.

This post documents how I setup Codiad web IDE on my Raspberry Pi 3. To make this post complete, I had taken some of the steps mentioned in my other posts on Raspberry Pi and replicated it in this post.

Types of interfaces in product and process architectures

In the parlance of system architecture, an interface is a point of contact between interacting system elements and other subsystems or environment at the system boundaries. Interfaces can also be seen as contracts definitions between elements that are interacting with one another.

Interfaces between interacting system elements are known as internal interfaces while interfaces with other subsystems or environment at the system boundaries are considered as external interfaces.

This post documents the types of interfaces that we will typically find in product and process architectures. Note that the types are not mutually exclusive; an interface can be in the form of different types.

How to prepare the operating system to run your Raspberry Pi, with your Windows machine

Recently, I had been deploying several pieces of Raspberry Pi around my house for different purposes. In order to use Raspberry Pi as a TV Box, a CCTV, a LEMP server or any other appliances, we will need to prepare an operating system in a microSD card to run our Raspberry Pi.

I always use my Windows machine to prepare the operating system for all my Raspberry Pis, since I find that it is easiest to write an operating system for Raspberry Pi on a Windows machine. This post documents how I would prepare the operating system to run my Raspberry Pi with my Windows machine.

Setting up Nginx server on Windows 10

Recently, I got my wife an Asus ROG GL552VW-DH74 15-Inch Gaming laptop as a development machine (so that I can have a machine to use when I feel like gaming). Since the nginx server is one of my favorite servers for building web applications, it is something that I will always setup first when I get a new development machine.

I will set up my nginx server to listen on port 80 and serve as a reverse proxy to web applications listening on other port numbers. And since the ROG GL552VW-DH74 15-Inch Gaming laptop came with Windows 10, this post documents the steps that I went through to set up nginx server on Windows 10.

Understanding Graham Wallas’ four stages of creativity

When I am not sitting on my couch watching movies from my Raspberry Pi TV box, there is a good chance that I am in the midst of creating something new.

Whether it is coding a new functionality or writing a new blog post, I would inherently follow through four stages to bring about my creation. These four stages of creativity process became apparent to me through a lecture on how to manage creativity in an organisation.

According to Graham Wallas, the four stages of creativity :

  1. Preparation
  2. Incubation
  3. Illumination
  4. Verification

In this post, I document the Graham Wallas’ four stages of creativity so that I can be more productive during the creation of new things.