I write about

    Getting started with Nodemcu in Arduino IDE

    On this blog I will introduce and demonstrate how to use NodeMCU in Arduino IDE What is NodeMCU or ESP8266 ? The ESP8266 is a low-cost Wi-Fi chip with full TCP/IP stack and MCU (Micro Controller Unit) capability produced by Espressif Systems. Whereas NodeMCU is an open source firmware and development kit that helps us to create IoT platform. It includes firmware which runs on the ESP8266 WiFi SoC from Espressif... [Read More]

    Sublime Text useful python snippets

    For the past few months, I have been trying to move from using Geany to using Sublime Text as my primary text editor. I find myself repeating some repetitive operations dozen times a day when coding in python, such as import IPython;IPython.embed() and etc. So here are some of my Sublime Text snippets to enhance my productivity, and simplify my life. Sublime Text 3 makes it super easy to create... [Read More]

    System V init script(start-stop-daemon)

    I've been looking for efficient ways to start at boot my NodeJS dependent applications, with inspiration from https://gist.github.com/alobato/1968852, I modified it to my own needs. Link might interest you as well: http://big-elephants.com/2013-01/writing-your-own-init-scripts/ https://www.cyberciti.biz/tips/linux-write-sys-v-init-script-to-start-stop-service.html Copy template to /etc/init.d and rename it to something meaningful. Then edit the script and enter that name after Provides:(between ### BEGIN INIT INFO and ### END INIT INFO). [sourcecode language="bash"] #!/bin/bash # Inspired by https://gist.github.com/alobato/1968852 # Needs... [Read More]

    Installing latest Node.js on Raspberry Pi B+

    So, I've been battling with updating my node.js via apt-get, for some apparent reason seems like they've discontinued updates or maybe I've been doing it wrong all along - who knows. But I found a way to bypass apt-get and go back to the basics. Note: This assumes that the latest release is node-v7.4.0, else you can go to https://nodejs.org/dist/latest and get the required build. This assumes the Raspberry Pi... [Read More]

    Bachelor's project demo

    https://www.youtube.com/playlist?list=PL_VWrf_GRsBxr38XZuRrFHBBI3EpLQJ29 So after completing my diploma, and it becoming redundant in the working industry. I had to set my eyes on a Bachelor's degree. Trust me it was not easy, in the sense of being a part-time student, full-time employee, a father, a fiance and being stuck on some island for 15 months then when you come back you're residing in Cape Town and the university in Pretoria. I think... [Read More]

    Ubuntu media server WakeOnLan

    I have always been conservative when it comes to saving electricity in my household not because I want to but because 1 kWh costs me R1.87, hence I had to think of a better solution rather than running my server 24 hours per day with an average load wattage of 532W, if one does the maths it costs me roughly R23.87 per day when always on. So not cool, hence why I... [Read More]

    Move files by date into different directory using CLI

    A while back I was unfortunate in such a way that my HDD that I primarily use as photo archive started having mechanical issues, and before It died on my arms I had the opportunity to backup most of my pictures, however most of them were truncated and had to be discarded and the ones I could recover their filenames where overwritten with random filenames and ascii codes. For over... [Read More]
    Tags: Bash linux ubuntu