RegEx Basics Cheat Sheet
A comprehensive cheat sheet covering the basics of Regular Expressions (RegEx), including syntax, quantifiers, character classes, and practical examples.
Carsten Behrens helps people build websites and web applications, sharing practical insights and tutorials on modern web development.
36 articles from this blog
A comprehensive cheat sheet covering the basics of Regular Expressions (RegEx), including syntax, quantifiers, character classes, and practical examples.
A summary of John Ousterhout's book on managing software complexity through decomposition, encapsulation, and incremental design.
A tutorial on implementing form validation in Vue 3 using the Yup schema validation library.
A quick reference cheat sheet for essential Docker commands covering containers, images, running, and Dockerfile basics.
Explains the Dependency Inversion Principle (DIP) from SOLID, showing how to implement it in JavaScript/TypeScript to decouple high-level and low-level modules.
Explains why async/await doesn't work with JavaScript's forEach and provides the correct solution using Promise.all.
A beginner-friendly introduction to JSON Web Tokens (JWT), explaining their structure, use for stateless authentication, and basic flow.
A technical guide explaining how to use JavaScript and the Fetch API to add custom request headers (like JWTs) to an iframe's src request.
A guide to creating command aliases in Linux shells like zsh, bash, and Fish by editing configuration files.
A guide to adding directories to the PATH environment variable in zsh or bash on Linux to fix 'command not found' errors.
Explains the concept of business logic in software development, using examples like a BMI calculator to distinguish it from other code.
Learn how to use ES2020 optional chaining to simplify and improve the readability of nested property checks in JavaScript if statements.
A self-taught developer in Germany shares his journey and lessons learned while transitioning to a programming career while working full-time.
A guide to troubleshooting and fixing the 'nvm: command not found' error on Linux for bash, zsh, and fish shells.
Explores the historical origins of Object-Oriented Programming, tracing its roots from Sketchpad and Simula to Alan Kay's definition.
A technical guide explaining how to fix Webpack's dynamic import feature when it generates incorrect file paths, focusing on the publicPath configuration.
A technical guide explaining a modern, non-hacky method to prevent layout shifts when loading responsive images in web development.
A tutorial on using Jest to test class methods, including spying on instances and prototypes to verify method calls.
Explains what a CNAME record is in DNS, describing it as an alias that maps one domain name to another canonical domain.
A guide on programmatically dropping all collections in a MongoDB database using Mongoose, useful for resetting a database during testing.