CSV files (short for Comma-Seperated Values) are a great way to exchange tabular data in a plain text file. This is what it might look like: The first row of this file is called the header, telling us what each column is about. The rest of the rows are just data. What do
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
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.
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.
When working on my reverse engineering of 2048 for browsers I wanted it to be playable on mobile devices as well. Problem was, that while you could perfectly use your keyboard to control the tile movement on a desktop, this was not possible on smartphones! Digging through the web I found some partially working
This is the last post of the series "Hello Progressive Web App". Table of Contents Introduction Manifest Service Worker Caching Strategies Debugging Last but not least I want to share with you some tricks and places you need to know when debugging your Progressive Web App. First and foremost I recommend using the
This is the last part of the series "Hello Progressive Web App". Table of Contents Introduction Manifest Service Worker Caching Strategies Debugging There are a bunch of caching strategies out there. Here are two of them that I found particularly useful: Cache Then Network Then Cache What this does is it
This is part 3 of the series "Hello Progressive Web App". Table of Contents Introduction Manifest Service Worker Caching Strategies Debugging A service worker is a type of web worker. Its job is to intercept network requests, cache files, retrieve those files from cache and deliver push messages. A great introduction to this