Articles

NodeJS modules

A JavaScript file can be imported as a module into another file using the <code>require</code> command. For example, he file myPackage.js can be imported as so:
TutorialsNode.js

SSH through an SSH blocking proxy

SSH through an SSH blocking proxy thumbnail
Most corporate networks have their outbound traffic go through a proxy server to prevent unauthorized access to external resources. It can happen that such proxy only allows HTTP and HTTPS traffic. As such, one cannot connect to an external host via SSH. One way to solve this problem is to use <a href="https://github.com/proxytunnel/proxytunnel" rel="noopener noreferrer nofollow">Proxytunnel</a>. This article follows <a href="https://egret.psychol.cam.ac.uk/techniques/firewall.html" rel="noopener noreferrer nofollow">this guide</a>.
SSHProxyTutorialsProxyTunnel

Nextcloud Apache2 configuration

Here is an example configuration file to use Nextcloud with an Apache2 server in Ubuntu. Here, it is assumed that nextcloud install is located in <code>/var/www/</code>
TutorialsApacheNextcloud

HDD preparation

Here are the steps to prepare a brand new hard drive and install a file system on it.
Linux

Using v-for or v-if on multiple elements

Items to which <code>v-if</code> or <code>v-for</code> apply can be grouped inside <code>&lt;template&gt;</code> tags. For example:
Tutorials

ESP32-CAM firmware

The ESP32 supports ov2640 cameras, which makes it an ideal platform for a DIY IP camera. For this purpose, I wrote a customized firmware for the ESP32 which provides the following features:
ProjectsESP32

Mosquitto

Mosquitto is an open source message broker that implements the MQTT protocol. It is lightweight and is suitable for use on all devices from low power single board computers to full servers.
IoTLinuxTutorialsMQTT

connect-history-api-fallback ignore certain routes

For example, if the route /file needs to be handled by express and not the single page application:
Node.js

Raspberry Pi based NAS

Raspberry Pi based NAS thumbnail
This is a simple Raspberry Pi based NAS. Tt features, as the name suggests, a Raspberry Pi as well as a 1TB 3.5'' HDD, interfaced with a USB to SATA converter.
3D printingProjects

Arduino 7-segment alarm clock

Arduino 7-segment alarm clock thumbnail
This is one of my earliest electronics project: An alarm clock built around an Arduino nano, a real-time clock (RTC) module and a 7-segment display.
ArduinoProjectsElectronics