Skip to main content

Posts

Why devs needn't fear CSS with the King of CSS himself Kevin Powell [Podcast #154]

Curriculum for the course Why devs needn't fear CSS with the King of CSS himself Kevin Powell [Podcast #154] On this week's episode of the podcast, freeCodeCamp founder Quincy Larson interviews Kevin Powell. He's a designer, a software engineer, and an expert in CSS. He's runs a CSS-focused YouTube channel with nearly a million subscribers. There's nothing sensational there – he literally just teaches people CSS. Support for this podcast comes from a grant from Wix Studio. Wix Studio provides developers tools to rapidly build websites with everything out-of-the-box, then extend, replace, and break boundaries with code. Learn more at https://wixstudio.com. Support also comes from the 11,043 kind folks who support freeCodeCamp through a monthly donation. Join these kind folks and help our mission by going to https://www.freecodecamp.org/donate CORRECTION: I (Quincy) say during the interview that the Uber found a way to access microphones on iOS without users...

AWS Solutions Architect Professional (SAP-C02) Certification Course – Pass the Exam!

Curriculum for the course AWS Solutions Architect Professional (SAP-C02) Certification Course – Pass the Exam! Prepare for the Solutions Architect Professional Certification and pass! This credential helps certified individuals showcase advanced knowledge and skills in providing complex solutions to complex problems, optimizing security, cost, and performance, and automating manual processes. This certification is a means for organizations to identify and develop talent with these critical skills for implementing cloud initiatives. ✏️ Developed by Andrew Brown of ExamPro. @ExamProChannel 🔗 https://www.exampro.co/sap-c02 ⭐️ Contents ⭐️ 00:00:00 Introduction 00:19:45 S3 19:27:06 AWS API 24:43:40 Amazon Virtual Private Cloud 33:21:34 AWS Lambda 36:02:33 CloudFront 36:37:04 SQS 37:38:00 SNS 38:18:55 RDS 39:30:12 Aurora 40:07:21 ELB 41:11:24 ASG 42:05:14 Athena 42:21:11 Kinesis 44:10:42 AWS ML Managed Services 46:59:58 Lightsail 47:16:15 EFS 47:41:10 EBS 48:45:57 FSx 48:57:08 Stora...

Learn JavaScript to Make Games + Kaplay Library Course

Curriculum for the course Learn JavaScript to Make Games + Kaplay Library Course In this crash course you'll learn how to code in JavaScript so that you can start making games with it. Then you will learn how to use the Kaplay library so Game Dev is even easier. Course created by @JSLegendDev Check out his written tutorials : https://jslegenddev.substack.com ⭐️ Links ⭐️ VSCode : https://code.visualstudio.com/ Node.js : https://nodejs.org The Modern JS Tutorial : https://javascript.info MDN Web docs for JS : https://developer.mozilla.org/en-US/docs/Web/JavaScript Kaplay docs : https://kaplayjs.com Kaplay installation guide : https://kaplayjs.com/guides/install Kaplayground : https://play.kaplayjs.com/ Kaplay Discord server : https://discord.com/invite/aQ6RuQm3TF ⭐️ Contents ⭐️ 0:00:00 Intro 0:00:46 Why learn JS to make games? 0:05:58 Environment Setup 0:14:58 Core concept #1 : variable and constants 0:28:29 Core concept #2 : conditional statements and boolean operations 0:3...

Write a RegEx to Match Open Tags Except XHTML Self-Contained Tags

RegEx Match Open Tags Except XHTML Self-Contained Tags Matching open HTML tags while excluding XHTML self-closing tags is a common task when working with HTML using regular expressions. In this post, we'll walk through how to construct a regex that matches open tags (like <div> ) but ignores self-contained tags (like <img /> or <br /> ). Understanding the Problem HTML open tags typically have the following structure: <tagname [attributes]> Self-closing tags in XHTML include a / before the closing > , like this: <tagname [attributes] /> The goal is to match only open tags that don't have the self-closing slash. The Regex Solution Here’s the regex pattern you can use: <([a-zA-Z][a-zA-Z0-9]*)\b[^>]*?(?<!/)> Explanation of the Regex <([a-zA-Z][a-zA-Z0-9]*) : Matches the opening < and captures the tag name. The tag name must start with a letter, followed by optional al...

What is a NullPointerException, and How Do I Fix It?

What is a NullPointerException, and How Do I Fix It? A NullPointerException (NPE) is one of the most common runtime errors in Java. It's frustrating, yet completely avoidable when you understand what causes it and how to handle it. What is a NullPointerException? A NullPointerException occurs when your code attempts to access or modify an object or variable that hasn't been initialized—meaning it points to null . Essentially, you're trying to use something that doesn't exist. Consider this simple example: // Example of NullPointerException String name = null; System.out.println(name.length()); // This will throw a NullPointerException In this case, the variable name is null , so calling length() on it results in an error. Common Causes of NullPointerException Accessing methods or properties of a null object. Forgetting to initialize a variable. Returning null from a method and not checking for it. Incorrect assu...

How to Make a Great R Reproducible Example?

How to Make a Great R Reproducible Example? Have you ever posted a question about R on forums like Stack Overflow and received the dreaded response: "Can you provide a reproducible example?"? Crafting a good reproducible example is the key to getting the help you need. In this guide, you'll learn how to create a concise, clear, and complete example that others can easily run and debug. What Is a Reproducible Example? A reproducible example (or reprex ) is a minimal, self-contained piece of code that replicates an issue or demonstrates a concept. It allows others to quickly understand your problem without additional context or guesswork. Pro Tip: Use the reprex package to make this process easier! Steps to Create a Great Reproducible Example 1. Isolate the Problem Start by identifying the smallest piece of code that reproduces your issue. Remove all unrelated elements like unused variables, extra functions, or unnecessary libraries. ...

ChatGPT prompt to write a good technical post

 Please consider the below context, I will give you the title in next chat   The blog post is aimed at developers or technically inclined readers and should provide clear, concise, and actionable insights related to the given title. The content must:   1. Be written in simple, conversational, human-like English: Avoid overly formal or technical jargon where unnecessary. Explain complex concepts in plain language that anyone with basic technical knowledge can understand.   2. Contain relevant code examples: Include well-commented code snippets that are directly related to the topic. These snippets should be short, easy to follow, and formatted appropriately in Markdown syntax for better readability.   3. Use markdown diagrams: Incorporate diagrams (created using Markdown or text-based diagram tools like Mermaid.js) where needed to explain processes, workflows, or architectures visually.   4. Stay concise (around 500 words): Focus on ...

What Does the yield Keyword Do in Python?

What Does the yield Keyword Do in Python? In Python, the yield keyword is used to create generators , a type of iterable that allows you to produce a sequence of values lazily—meaning one at a time, as they are requested. Unlike a regular function, which runs to completion and returns a single value, a generator function yields multiple values over time, preserving its state between calls. How yield Works When a function contains the yield keyword, it becomes a generator function. Instead of using return , which exits the function completely, yield pauses the function, saving its state, and produces a value. The next time the generator is called, execution resumes from where it left off. def count_up_to(n): count = 1 while count Output: 1 2 3 4 5 What Happens Here: Calling count_up_to(5) doesn’t run the function. Instead, it returns a generator object. Each time next() is called on the generator (implicit...

Spring AI Full Course with Projects – Build Smarter Spring Boot Applications

Curriculum for the course Spring AI Full Course with Projects – Build Smarter Spring Boot Applications Learn how to seamlessly integrate AI capabilities into your Spring Boot applications using Spring AI. With hands-on projects and practical examples, you'll go beyond theory to build real-world applications that harness the power of machine learning and natural language processing. ✏️ Course developed by Faisal from @EmbarkX For more check out best selling courses on Udemy by EmbarkX: https://link.embarkx.com/level-up What You'll Build: ● Project 1: Stock Photo Generator, QnA Bot, and Recipe Generator Combine AI creativity and productivity by generating high-quality images, building a Q&A chatbot, and creating a recipe generator powered by cutting-edge AI. ● Project 2: Audio Transcriber Develop an audio transcription tool that turns spoken words into written text, leveraging state-of-the-art AI technologies. ⭐️ Contents ⭐️ ⌨️ (0:00:00) Introduction ⌨️ (0:08:35) 1 W...

How to get a Developer Job – even in this economy – with James Q Quick [Podcast #153]

Curriculum for the course How to get a Developer Job – even in this economy – with James Q Quick [Podcast #153] On this week's episode of the podcast, freeCodeCamp founder Quincy Larson interviews James Q Quick. He's a developer, speaker, and teacher. James grew up in Memphis. He was an athlete who played violin, and knew nothing about computer science but chose it as his college major. Since then, he's not only worked as a dev at Microsoft, FedEx and many tech startups. And he's given more than 100 talks at conferences about technical topics. Support for this podcast comes from a grant from Wix Studio. Wix Studio provides developers tools to rapidly build websites with everything out-of-the-box, then extend, replace, and break boundaries with code. Learn more at https://wixstudio.com. Support also comes from the 11,043 kind folks who support freeCodeCamp through a monthly donation. Join these kind folks and help our mission by going to https://www.freecodecamp....