How to use Let’s Encrypt with Docker and Cloudflare

I wrote about Let's Encrypt SSL certificates before on this blog but I recently discovered an even better way of doing things! Requirements Apart from actually having a domain that you could issue a certificate for, all you need for this to work is a (free) Cloudflare account to manage your DNS records

By |2021-08-09T14:17:48+02:00August 9th, 2021|Comments Off on How to use Let’s Encrypt with Docker and Cloudflare

How to set up your own VPN using WireGuard

Setting up your own private VPN got so much easier with the rise of WireGuard. Let me show you how it's done! Why do I need a self hosted VPN? I'm sure there are numerous reasons why you would set up a VPN yourself. In my particular case, I wanted to be

By |2021-08-09T13:10:09+02:00August 9th, 2021|Comments Off on How to set up your own VPN using WireGuard

How to use Tailwind CSS with Angular 10 (Update)

This is an update to my previous article on how to set up TailwindCSS with Angular 10. Apparently, packages since got updates, which change some of the steps required. Also I'll show you a hassle-free one-line-solution that takes care of all the configuration. Amazing content coming up! The easy way First let

By |2021-01-23T23:41:58+01:00October 25th, 2020|1 Comment

How To Read Files With JavaScript And FileReader

Analysing files in PHP is easy. But what if you want to access the content of a file without the overhead of sending it to a server first (e.g. for displaying a thumbnail before uploading an image)? JavaScript provides a neat little API to achieve just that. It's called FileReader. Let's find out what

By |2021-01-23T23:41:58+01:00October 29th, 2018|0 Comments

How To Build A Live Chat With WebSockets

WebSockets are a fascinating technology, a TCP-based network protocol that allows for asynchronous bi-directional communication. The client starts a connection, sends a request and gets a response - just like HTTP. But much unlike HTTP this connection is kept alive! This has many advantages, like Faster responses (no re-establishing connections) Less trafic (no overhead

By |2021-01-23T23:41:58+01:00October 17th, 2018|0 Comments

How To Take A Screenshot With JavaScript

Wouldn't it be great if you could allow users to create screenshots of your website?! Apart from being a fun exercise this feature could come in handy when you're providing some kind of visual editor. After users customized their individual product, you could show them an image of what they created on checkout.

By |2021-01-23T23:41:58+01:00October 9th, 2018|0 Comments
Go to Top