When double clicking a form’s submit button your form will be sent twice. With a tad of JavaScript this can be prevented from happening.
A rather geeky/technical weblog, est. 2001, by Bramus
namshi/cuzzle
The other day the namshi/cuzzle PHP pacakge came in really handy. This library let’s you dump a Guzzle request to a cURL command for debug and log purposes This way I could test some things on the CLI, and easily share these tests with all my colleagues, including those without PHP installed. use Namshi\Cuzzle\Formatter\CurlFormatter; use …
Continue reading “Convert Guzzle requests to curl commands with namshi/cuzzle“
Speaking of VPN connections: to easily manage and connect to (Open)VPN connections I use Viscosity. A first class OpenVPN client for Mac and Windows that lets you secure your network with ease & style. You can either manually configure your connections, or simply drop your .ovpn config files onto it. The app sits neatly out …
Continue reading “Viscosity – OpenVPN Client for Mac and Windows”
In a project we at vBridge are working on, we rely on a Virtual Private Network to link our connected devices, certain servers, and our webapp together. I had an issue where a specific server in the 10.55/24 range was nog being reachable. While debugging the issue — going deeper into the rabbit hole called …
New in Chromium 85 is support for the AV1 Image File Format (AVIF), which is pretty impressive: AVIF offers significant file size reduction for images compared with JPEG or WebP; ~50% savings compared to JPEG, and ~20% savings compared to WebP. 🦊 Using Firefox and can’t wait to use AVIF images? Set the image.avif.enabled flag …
Continue reading “How to embed AV1 Image File Format (AVIF) images”
aria-label and aria-labelledby
Léonie Watson (@LeonieWatson) explains the difference between aria-label and aria-labelledby: The aria-label and aria-labelledby attributes are both used to give an element it’s accessible name. The difference between aria-label and aria-labelledby is where they get that piece of text, and the clue is in the name. The aria-label attribute gives an element its label; an …
Continue reading “The difference between aria-label and aria-labelledby“
Have a static site but looking to add backendy stuff — such as subscribing to a newsletter — to it? Geoffrey Dhuyvetters from madewithlove walks us trough setting up a serverless function with Vercel (formerly known as Zeit): In this article I’ll walk you through the steps to create serverless functions with Vercel. These functions …
At Google Cloud Next ’20, Cloud Run Product Manager Steren Giannini (@steren) walked us through some of the new things that are coming to Google Cloud Run. Some highlights: VPC Peering Gradual Rollouts (with custom URLs per tagged release) New Load-Balancing Features (Multi Region, Cloud CDN, IAP) Easy Continuous Deployment Min instances (no cold starts) …
Back in June I was invited to speak at JSConf.be. This year’s edition focused on DevSecOps and Security. My talk “Going Serverless with Google Cloud Run” — which I have brought forward before at Full Stack Ghent and PHP-WVL — was a perfect match for it. Cloud Run is a fully managed compute platform by …
Continue reading “Going Serverless with Google Cloud Run (JSConf.be)”