The other day, I encountered an issue involving three directories, and two of them contained a subdirectory with the same name (target).
My goal is to delete the target subdirectories in all places with a single command, and here’s the solution I found.
Using the terminal to delete multiple directories. There is an useful command called find, this command is used to traverse nested directories and evaluate an expression for each element.
Let’s continue our exploration of the wonders of local development with containers.
This time, we’ll delve into the world of Haskell programming. Instead of burdening your local environment with the entire toolchain, we’ll opt for a more streamlined approach: creating a dev container. This example will illustrate how effortlessly you can integrate new tools and programming languages without causing any disruptions to your local system.
What is Haskell Haskell, a pure functional programming language, though not as commonly used in the industry, is a powerful language whose fundamentals can significantly enhance your programming skills.
Hey there! Today, let’s dive back into the world of LeetCode problems with Swift.
After successfully conquering the Two Sum problem, we’re geared up to take on the next challenge: Two Sum II.
To make things interesting, let’s explore this problem using a two pointers technique. Ready to tackle it together?
Problem We are given an array of numbers sorted in non-decreasing order (this means each element is greater or equal to the preceding one) and a target value.
Hello devs,
I’ve recently been exploring the synergy between Docker and VSCode for local development. The concept of consolidating code and dependencies into containers has caught my attention. This approach not only establishes a clean slate for each project but also promotes a stateless system, a goal that aligns seamlessly with my coding environment.
To explore these ideas further, let’s create a small project: containerizing an installation of Hugo. This way, we can run our own dev blog anywhere without worrying about configuration and compatibility issues.
Today, I’d like to share a simple trick for comparing the states of files using both the terminal and VSCode.
Comparing files Typically, when we need to check for differences between two files, we can use git diff if the files are within a Git repository or simply diff if the files are local.
However, these commands lack a user-friendly interface for comparing files, which is where VSCode’s file comparison feature comes in handy.