Tag: Debugging
Someone recently asked me how I approach debugging inline SVGs. Because it is part of the DOM, we can inspect any inline SVG in any browser DevTools. And because of that, we have the ability to scope things out and …
6 Common SVG Fails (and How to Fix Them) originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter.
...
đź“– tl;dr: Most code doesn’t require the amount of test isolation modern test runners apply by default. If you only opt into the amount of isolations you need, you can easily run 1000 tests in 1s. Recently, I tweeted that the whole test suite for Preact, a modern framework to build web apps, runs in approximately 1s. It’s composed of…
...
How well do you really know wp-config? There’s a surprising amount of power in those few lines of PHP! This article is a tour of some bits of wp-config that… Read more
The post The Developer’s Advanced Guide to the wp-config.php File appeared first on Delicious Brains.
...
Figma has always encouraged collaboration between developers and designers. It strives on an endless treasury of community-made plugins. Need 3D elements? There’s a plugin for that. Need abstract SVGs? There’s a plugin for that, too.
That said, the design part of Figma has …
Building Interactive Figma Widgets originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter.
...
Webhooks are a mechanism for receiving notifications about events from disparate systems without having to continuously poll them. Also called Reverse APIs, they can be thought of as providing “API… Read more
The post How to Test Webhooks From Public APIs in Local Development appeared first on Delicious Brains.
...
Python and R programmers can use Anaconda’s data science and machine learning platform. It is accessible on Linux, Windows, and OS X and is made to make the process of building and delivering projects simple, stable, and reproducible across systems.
...
This article describes how you can play around with these Chrome Developer Tools and test your API in case of failure or according to your requirements. Chrome DevTools is a set of web developer tools built directly into the Google Chrome browser.
The post How to Use Chrome Developer Tools for API Testing appeared first on Education Ecosystem Blog.
...
URL Shorteners are tools we use to make links shorter than they actually are. With a URL Shortener, you can transform a long link (maybe for a registration form or article) into a shorter version.
Behind the scenes, the long …
Why I Chose Angular to Build a URL Shortener originally published on CSS-Tricks. You should get the newsletter.
...
Exceptions in Python programs can occur for various causes, and if they aren’t handled properly, they can cause the program to crash, resulting in data loss or, worse, data corruption. As a Python programmer, you must consider various exception scenarios and incorporate error management into your code.
...
It would be great if we could break the debugging flow if a condition is (not) met. Can we? Of course!
...