Select Page

Blog

Learn about common code editors, systems, and programming languages and with Programmer Hat’s blog. Join 100,000+ software engineers honing their software engineering craft, breaking into a Silicon Valley career, and monetize a skillset that has a steep learning curve.

Table of Contents

 

How to get started with “EZ Trustpilot Integration”

NOTE: if you're looking for customer support, please email hello@programmerhat.com, do NOT leave a comment in this post! One of the purposes of this app is to automatically send a follow-up email asking the customer for a review on Trustpilot. How to add Trustpilot...

Git Checkout -b

Introduction Git, the widely used version control system, offers a range of powerful commands to manage code repositories efficiently. Among these commands is "git checkout -b," which simplifies the process of creating and switching branches. Understanding how to...

GitHub Sucks

GitHub Sucks

GitHub, which is widespread, used code hosting platform which is used by millions of developers around the world, while some strongly disagree with this statement. Below are some of the reasons why people might think GitHub sucks: Skill acquisition One of the...

Git overwrite branch with another branch

Git overwrite branch with another branch

Overwriting a branch could be dangerous if you have other changes on that branch that you want to keep. So always make sure you have a backup of your work before proceeding. There are various approaches using which we can overwrite a branch and depending upon the...

GitKraken Alternative

GitKraken Alternative

GitKraken is a user-friendly Git client with a graphical user interface (GUI) that simplifies the management of Git repositories on Windows, Mac, and Linux. It offers a variety of tools for managing Git repositories, such as a graphical representation of the...

Gitea vs GitLab

Gitea vs GitLab

Gitea and GitLab are both popular Git hosting solutions that offer similar features for managing code repositories. While GitLab is a more established platform with a wider range of features, Gitea has gained popularity among developers looking for a lightweight,...

How to solve “Already up-to-date” in Git

How to solve “Already up-to-date” in Git

Intro To be quite frank, I wasn’t even aware this issue existed until I started writing this article, so it made me wonder how is it possible I never encountered it before, given I have used git for almost 10 years at this point. Well, from what I managed to gather,...

How to match last character(s) using regex

How to match last character(s) using regex

Intro Sometimes we are interested in the way something ends, whether it’s a single word or an entire line. Regex offer quite a convenient way of achieving this, so let’s look at a few examples and learn how 🙂 Regex to match the last character of the line Matching the...

How to match currencies using regex

How to match currencies using regex

Match currencies If looking at/through receipts or invoices is annoying for you, but it’s frequently a part of your routine, regex can help tremendously by highlighting/extracting the most important stuff, figures.Let’s show some examples, shall we? For this example,...

How to match everything between using regex

How to match everything between using regex

Match everything between two words  Quite often we are trying to find if there is something (specific) or anything between a certain strings/words/characters. Let's use a simple shopping list as an example: "Fruits to buy: apples, bananas, kiwis, lemons,...

How to match everything after using regex

How to match everything after using regex

Everything after the word There is often a case when we need to match a certain text/string, but with regards to its appearance, like before or after some other string/word/pattern. We can target the word we want to use as a position reference, and match everything...

What is Linpus Lite Linux?

What is Linpus Lite Linux?

Linpus Lite is a Linux Distribution with full support for the Unicode of Asian Languages like Chinese and Japanese. Learn more about it in this article!

What does Ctrl + Z do in Linux?

What does Ctrl + Z do in Linux?

Running a terminal program but a sudden realization makes you want to run something else, while your current process is in the background? Ctrl + Z has got you covered!

failed to load ldlinux.c32

failed to load ldlinux.c32

It is not that uncommon for people to see this “Failed to load ldlinux.c32″ message. So brew your coffee and fix it like a boss in minutes!

Vim Mode in Xcode

Vim Mode in Xcode

The XCode code editor is an essential piece of software for developing great applications on Mac. But every great editor needs a great form of text manipulation. Xcode has just the thing you need!

Using “w” commands in Vim

Using “w” commands in Vim

If you have successfully passed the misery of quitting Vim using :q!, it’s time you know some other ways you can quit as well as everything else you can do using “w” in Vim.

Using “e” commands in Vim

Using “e” commands in Vim

Vim has a plethora of different text manipulation commands which are assigned to different characters. In this article, we’ll see all the possible use cases of the letter “e” in Vim.

Delete Blank Lines in Vim like a Pro

Delete Blank Lines in Vim like a Pro

Oftentimes while coding, we tend to create a lot of empty lines than span our files unnecessarily. In this article, we’ll learn how to delete empty lines in Vim using methods based on different scenarios.

Edit Multiple Lines in Vim

Edit Multiple Lines in Vim

Vim does not integrate multi-line editing as an obvious feature. But there are ways you can achieve it with or without use of plugins.

Vim Navigation Cheat Sheet

Vim Navigation Cheat Sheet

There are a plethora of good resources on the web which provide extensive cheat sheets for Vim. This article focuses exclusively on Vim Navigation.

Navigate in Vim using HJKL

Navigate in Vim using HJKL

Tired of moving your hand from letter keys to the arrow keys all the time? Well there’s a better way for you to navigate, if you use Vim!

How to fix “rpm command not found” error?

How to fix “rpm command not found” error?

If you have ever run into this message when you’re trying to install some package, there are some steps you could follow in order to diagnose the issue properly. First let’s get down to the basics so we are on the same page. in your system!  -bourne again shell:...