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
Having a script executed when a USB device is inserted can be quite helpful. I, for example, have an export script that syncs files to a flash drive without any interaction (except putting the drive in, of course). Here's how you do it: Adding The Rule In /etc/udev/rules.d/ we add a rules-file.
Backups are crucial. I hope we agree on that one. When I started this website, one of the major things that occupied my mind was "How do I make sure, all the work I put into this project is safe from an attack, system failure or me accidentaly clicking 'Delete All! Now!'?" Sadly, knowing,
When running a professional website, one of the major things that you want to do, is making it as fast as possible! Fast loading times lead to more user engagement, satisfied viewers/customers and higher conversion rates. In addition, provided you deliver good content, the faster your page loads, the higher it's ranked in the
The number of times I lost access to my MySQL-Database because I forgot the password is probably rather embarrassing. In uncounted web-searches I came up with several solutions to reset it. Some of them worked but were utterly difficult and some plainly didn't work at all. To save you the hassle of finding the
Making your website secure has been one of the major tasks in web developement since... ever. And it's only gotten more relevant over time. Google has even begun tagging http-Sites as "Not secure" as of July 2018. And for good reason: encrypting traffic to and from your site using SSL is one big step