Post image

Docker and node.js - caching node_modules efficiently

In order to avoid a full module install every time you touch the "package.json" file follow this guide. In the end docker will only build your package install layer when you really modified some of your package dependencies. I assume you use npm as package manager, I don't know if this works with yarn too.

Post image

Python3 cheatsheet

I rarely use python, when I do, I always forget about the basics. Here you can find a list of the stuff I need to remind myself time and time again.

Post image

Visual Studio Code ssh remote debugging node.js on Ubuntu

I will show you how to setup ssh remote debugging on Windows 10 for node.js hosted on an Ubuntu server using VS code. It's not too complicated.

Post image

My first JavaScript/HTML steps

JavaScript was originally created to manipulate HTML, the code a website is built of, that's what we are going to do now.

Post image

Learn programming, it's easy

How to get started in becoming a programmer. Let's write your first code.

Post image

Nginx: use "cached compression"

How to enable Nginx to use a cached compressed version of a file, if it exists, instead of calculating the compressed version on each request. I will show you how you can prepare the compressed files on linux.

Post image

Your favourite linux cheat sheet

Contains common commands you'll probably need when working with a linux terminal.

Post image

Manage web application start and restart on Ubuntu with systemd

I will show you how to let your application start on server startup and restart on failure.

Post image

Config Nginx to serve over https using certbot on Ubuntu

How to install and configure nginx and certbot to server your static files and act as reverse proxy on Ubuntu. Nginx is a high performance load balancer, web server and reverse proxy. Certbot uses free let's encrypt certificates and auto-renews them.

Post image

Config a fresh Ubuntu server

Basic configuration you should apply to a new Ubuntu server installation in order to keep your server safe.

Post image

Setting up deno.land using Visual Studio Code

This blogpost shows you how to get started with deno (A secure runtime for JavaScript and TypeScript) using Visual Studio Code. I will show you how to configure VS code in order to leverage code-autocompletion and allow debugging. Furthermore I will explain how to import libs from npm and github, and how to organize your deno project in general.