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.

How to setup a small and powerful computer with Ubuntu 19.04 Desktop and Odroid H2

After implementing some easy and effective ways to make money with my website, I was able to earn some budget for a developer’s machine.

So what is a single board computer that is small and powerful?

After doing some research, I set my eyes on the Odroid H2.

Once I had received all the hardware components, I proceeded with setting up Ubuntu 19.04 Desktop on my Odroid H2.

In case you need a reference, this is how you can setup Ubuntu 19.04 Desktop on an Odroid H2.

CSS styles for styling image alignment in your WordPress pages and posts

When you create your own WordPress theme, one of the things of provide for is the ability to style image alignments.

By default, the WordPress Editor will include one of the predefined CSS classes when we add images to a post or page.

Therefore, by providing the CSS styles for each of these classes, we will be able to style the image alignment of our WordPress pages and posts.

Given these points, let us look at the CSS styles for styling image alignment in our WordPress pages and posts.

How to make applications on your Windows 10 laptop use the camera and microphone of your webcam

One of the demo stations in my office needs to run applications that receive video and voice from the user. Since we have several Windows 10 laptop lying around, we decided to use one to run the applications.

Given that the Windows 10 laptop is to be hidden in a cabinet, I need to use an external webcam with microphone.

However, the integrated camera and microphone can be chosen by the applications that I run on that laptop.

So how can we make applications on a Windows 10 laptop to use the camera and microphone of your webcam?

This post shows how I made applications on my Windows 10 laptop use the camera and microphone of my Logitech C525 HD Webcam.

How to use NSSM to setup Jupyter Notebook as a Windows Service running its own Python 3 virtual environment

When you take Andrew Ng’s Deep Learning Coursera course, you can get a better understanding of deep learning. In addition, you will get many Jupyter Notebook documents that you can reference while building models that can solve interesting problems.

When you want to readily access those documents, you can setup Jupyter Notebook as a Windows Service on your Windows machine.

As I had mentioned in how to use NSSM to run a Python 3 application as a Windows Service in its own Python 3 virtual environment, NSSM is a very helpful tool for us to create Windows Services.

Since we can install Jupyter Notebook via pip, we can run Jupyter Notebook from its own virtual environment. In addition to that, since we can create a Python 3 virtual environment in Windows 10, we can setup Jupyter Notebook as a Windows Service running its own Python 3 virtual environment.

Given these points, let us look at how we can use NSSM to setup Jupyter Notebook as a Windows Service running its own Python 3 virtual environment.

How to use NSSM to run a Python 3 application as a Windows Service in its own Python 3 virtual environment

If you want to run a Python 3 application as a Windows Service, then you are going to love NSSM. Since NSSM handles the life cycle of a Windows Service for our Python 3 application, we can keep it platform agnostic.

Previously, we saw how we can create a Python 3 virtual environment in Windows 10. Given that, let’s see how we can use NSSM to run a Python 3 application as a Windows Service in its own Python 3 virtual environment.

How to write a C# program to communicate with an ESP32 development board via Bluetooth Serial

Coupled with Bluetooth Serial and GPIO pins, ESP32 can augment a Windows machine with the ability to read from sensors.

So with an ESP32 development board, you can turn your old Windows machine into an IOT gateway that can sense its operating environment.

Given these points, let us look at how we can write a C# program to communicate with an ESP32 development board via Bluetooth Serial.

How to connect to an ESP32 development board via Bluetooth on your Mac

When you are trying to build a ESP32 project that uses Bluetooth to receive from or send data to another device on Mac, you may want to use your Mac to connect to your ESP32 board to test Bluetooth connectivity.

In this case, you will need to first connect your Mac with the ESP32 development board via Bluetooth.

So how can you do that?

In case you need it, this is how to connect to an ESP32 development board via Bluetooth on your Mac.