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...
FAQ for “EZ Add Breadcrumb”: How to add breadcrumbs to Shopify
NOTE: if you're looking for customer support, please email hello@programmerhat.com, do NOT leave a comment in this post! Usually, people can just add the Breadcrumb block in the theme editor, and it would work. But sometimes, that default configuration doesn't work....
“EZ Bulk Edit Descriptions”: how to bulk edit product descriptions in Shopify
These demo videos use the Shopify app: Bulk Edit Product Descriptions in Shopify I'm in the process of adding a lot more videos. Stay tuned! And by the way, if you have a question that you would like me to demonstrate, then send an email to hello@programmerhat.com!...
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, 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
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 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 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
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
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
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
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
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...
How to find strings that contain regex
Learn how to search for regex patterns in a string in a couple of different languages.
Replace anything with newlines in Sublime Text
Learn how to replace ‘\n’ or anything else into new lines in the Sublime Text code editor!
How to show hidden characters in Sublime Text
Learn how to view hidden characters in the Sublime Text code editor!
How to fix ‘subl: command not found’
Unable to run the subl command for Sublime Text in your system? Why not fix it already!
Fix ‘Git must be installed and in your PATH!’ in Homebrew
Why do I see the ‘Git must be installed and in your PATH!’ error message when using homebrew, and how do I fix it?
Why you should consider deleting git branches
Know the reasons for which you may wish to delete branches in your git repository!
Why do git conflicts occur?
What are the reasons for getting ‘conflict’ errors when merging in git?
Why is ‘git add .’ not working?
Learn how to fix the ‘git add .’ not working problem in your git repository.
How to view the word count in Sublime Text
Don’t know where to find the word count in Sublime Text? This article has got you covered!
Compare text in Sublime Text
Learn how to diff in the Sublime Text Editor!
Is Sublime Text code editor free?
Can you download and use the Sublime Text code editor entirely for free, or does it come at a cost?
‘gedit: command not found’ in Linux
This article will help you fix the ‘gedit: command not found’ error message in your Linux machine.
‘Failed to start load kernel modules’ in Linux
Are you seeing the ‘Failed to start load kernel modules’ when trying to boot into your system? Your search for the fix ends here!
Format lines with ‘gq’ in Vim
Learn how to reformat lines with the gq keybinding in Vim!
How to fix ‘ip: command not found’ in Linux
Failing to run the ip command in your Linux machine? Fix it within minutes!
Fix ‘mongo: command not found’ in Linux
Are you unable to run the mongo command in your Linux machine? This article has your solution!
How to fix apt-get not found in Docker Image
Facing an “apt-get not found” error message when running your Dockerfile? You might be using the wrong command!
“sudo: command not found” in Docker
Unable to run any commands using sudo inside Docker? You might wanna know why!
How to install Git in Alpine Linux
Can’t install git in Alpine Linux? Your solution is right here!
git pull “Already up-to-date” in Linux
Are you seeing the ‘git pull already up to date’ message even though it’s not? There are a couple of things you should know!
‘pg_ctl: command not found’ in Linux
Is the pg_ctl command not working on your Linux computer? You might want to fix it real soon!
How to fix ‘valgrind: command not found’ in Linux
You need to run the valgrind command, but are unable to do so? Why not fix it already!
‘aclocal: command not found’ in Linux
Unable to run the aclocal command in your Linux machine? You need to fix it right this instant!
How to fix ‘snap: command not found’ in Linux
Unable to install your favourite programs using snap? Why not fix it already!
‘npx: command not found’ in Linux
Unable to run programs using npx? We’ve got you covered!
Fix ‘emacs: command not found’ in Linux
Unable to run emacs on your Linux computer? There’s nothing you need to worry about!
Fix “git did not exit cleanly (exit code 1)”
Getting the “git did not exit cleanly” error message when using git commands in TortoiseGit? We’ve got you covered!
Are you using Vim Retab right?
Are you sure that you’re using the Vim retab command the right way achieve what you need? You might want to think twice!
Fix ‘a2enmod: command not found’ in Linux
Unable to execute the a2enmod script in Linux? Don’t lose hope just yet!
‘no package epel-release available’ in Linux
Unable to install the epel-release package in your RedHat Linux machine? Know why right here!
Fix ‘goimports: command not found’ in Linux
Getting an error with goimports while trying to compile a program using make? Your system is probably missing out on something!
Fix ‘setenv: command not found’ in Linux
Are you trying to run the setenv command in your Linux’s terminal but are unable to? Fix it right now!
ngrok: command not found’ in Linux
Unable to run the ngrok command in your Linux machine? Why not fix it already!
How to fix ‘jq: command not found’
Unable to execute the jq command in your Linux machine? Let me tell you why!
All things git diff (on specific files)
Learn about all the different scenarios where you could use the git diff command on specific files, right here in this article!
Fix ‘Cannot be resolved to branch’ in Git
Unable to push code in remote branch due to “Cannot resolved to branch” error message? The fix is easier than you might have thought!
How to undo a git cherry-pick
Learn how to undo a git cherry-pick command if you just realized that you don’t want it.
‘heroku’ does not appear to be a git repository
Trying to push code to Heroku but it does not seem like a git repository? You might be missing something out!
When to use ‘git rebase –skip’ and why?
what is the use of the ‘–skip’ flag in the git rebase command, you ask? Well, we’re here to answer.
you are not allowed to push code to protected branches on this project
Unable to push code to your repository even though you have developer access? Come find out why, and how to fix it!
git: ‘lfs’ is not a git command. See ‘help’
Unable to run the git lfs command in system? You might be doing it wrong!
How to undo ‘git commit –amend’
Just used the “git commit –amend” command and are now unable to revert? We have good news for you!
All things checkout in Git
Learn about all the things you can do with the git checkout command in this article!
What does –unset-upstream flag do in git?
Caught sight of the –unset-upstream flag when using git status, but don’t know what it means? We have your answer!
Gitignore .idea directory in your git repository
Unsure whether to add the .idea folder in the .gitignore file? Know what to do right here!
How to fix ‘Response for preflight is invalid (redirect)’ in Linux
Are you facing the ‘response for preflight is invalid (redirect)’ error message when trying to a CORS request from a server? It’s about time you fixed it!
‘Failed to start jenkins continuous integration server’ in Linux
Unable to start the jenkins continuation server due to an error message? We are here to help!
‘Failed to start MySQL Community Server’ in Linux
Unable to start the mysql community server? Here are all the fixes you can try out!
‘Failed to start the Apache HTTP Server’ in Linux
Unable to run your web server due to apache http server not starting? Fix it in minutes!
‘Failed to start snappy daemon’ in Linux
Are you tired of seeing the “failed to start snappy daemon” error message? Give yourself a bit of relief!
‘Failed to start raise network interfaces’ in Linux
Unable to start your system, or the booting is delayed due to ‘failed to run raise network interfaces’ in your Linux machine? There are a couple of things you should know, before you can fix it!
Fix ‘unmount: command not found’ in Linux
Are you facing troubles unmounting a filesystem in your Linux system? You’re probably doing it wrong!
Fix ‘eslint: command not found’ in Linux
Unable to fix errors in your code due to “eslint: command not found”? Know how to fix it right here!
‘subscription-manager: command not found’ in Linux
Unable to run the subscription-manager command in your Linux Machine? You probably don’t have it installed!
‘rpmbuild: command not found’ in Linux
Unable to run the rpmbuild command in your CentOS or Fedora Linux system? We have your fix!
How to fix ‘ntpdate: command not found’ in Linux
Getting the wrong time due to failure of executing the ntpdate command? We’re here to help!
Fix ‘sshpass: command not found’ in Linux
Need the sshpass command but it was not found? Why not give it a try by installing it!
‘ps: command not found’ in Linux
Can’t execute the ps command in your Linux terminal? Fix you before you think it!
Is there an Ableton for Linux?
Is it possible for you to run the ableton live suite inside a Linux machine? Why not find it out!
Fixing ‘protoc: command not found’ in Linux
Are you constantly seeing this “protoc: command not found” error message? It shouldn’t be too hard as long as you can follow along!
nc: command not found in Linux
Unable to read and write network connections using netcat in your Linux Machine? This article should help you fix that!
Fix ‘tracert command not found’ in Windows
Unable to run the tracert utility in your Windows Machine? You may want to check your path or look for some alternatives!
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!
Using Ctrl + D in Linux and Bash
Ctrl + D is a pretty useful keyboard shortcut commonly used in Linux and the Bash Shell. Know how to make the best out of it yourself!
What does Ctrl + Alt + F1 do in Linux?
Wondering what will happen if you press Ctrl + Alt + F1 in your Linux system? It’s time to dig deep into the world of virtual terminals!
Ctrl + C not working in the Linux Terminal
Ctrl + C not working in your terminal, and you’re unable to terminate programs on demand? Worry not because we’ve got other ways to achieve that!
How to fix “autoreconf: command not found” in Linux
The autoreconf command in an important one linux for building packages. If you need it but are unable to execute it, this article will guide you how!
unzip: command not found in Linux
The unzip command in linux is quite useful for tinkering with zip files. If you are unable to run it, just install it already!
Fix “traceroute: command not found” in Linux
Unable to run the traceroute command in Linux? Waste no time and fix it already!
Using Ctrl + C in a Linux Terminal
Bored of looking at a looping message that turns out to be of no use? You might consider using Ctrl + C in your Linux terminal.
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 canberra-gtk-module
Don’t let the “failed to load canberra-gtk-module” error make you pull your hair. It is probably much easier to fix it than you might expect!
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!
bourne again shell: vim: command not found
It’s okay for you to realize you don’t have Vim installed. But it is not okay to get this error the next time after after you know the fix!
How to navigate in Vim Insert Mode
If you’re just starting out on Vim, this small guide should help navigate in Insert Mode without dropping a sweat!
Backspace key not working in Vim?
Frustrated trying to delete stuff with the backspace key in Vim, but no luck at all? Why not fix it before you start breaking your keyboard!
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!
nnoremap in Vim | What it is and how it works
Vim can be mapped to do just about anything you want. What’s even cooler is the fact that you can assign the same mapping for different tasks in Vim at the same time!
Vim Intelligence | Nope, it’s ‘Intellisense’
Vim has built in auto-completion features. But intellisense is more than just completion, which Vim does not have by default. Thinking of switching Vim for this? You’d be a fool to do that!
Ctrl + Z in Vim | or so it seems
You cannot use Ctrl + Z to undo in Vim, unless you map a key binding. But wait, there’s more…
Command and Jump with Ctrl + O in Vim
Ctrl + O will not open files in Vim. But it’ll do more than you may ask for!
How to Freeze Vim | Or rather unfreeze it
Can’t leave off the habit of pressing Ctrl + S to save a file after switching to Vim? You should know that Vim becomes very sad and freezes itself to punish you!
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
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
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
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: Warning: Output not to terminal
Unable to close Vim when receiving this message? Need a quick fix? Why are you waiting then? Fix it already!
Vim vs Gvim | Which one should you use?
Vim comes in a few different flavours, one of which is GVim. Should you use it instead of the regular Vim?
Vim vs VS Code | The Ultimate face-off
You’ve probably witnessed the long-fought debate of the best Code Editor. But do you really know who’s Boss?
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
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!
Vim ZZ and Vim zz | Do you know the difference?
Most people happen to use Shift + ZZ to quit vim. Do you know the other use, though? I bet you don’t!
Using Vim as a Hex Editor
Wanna use your favourite editor, Vim to view binary files as Hex? You’ve come to the right place!
Canberra-Gtk-Module | What is it and do you really need it?
You’ve come across this random error, ‘failed to load canberra-gtk-module’, but don’t understand a thing. it’s time to know what it is and how to fix it!
How to fix “Jar: Command not found” in Linux
Learn how to fix the ‘jar: command not found’ error in your linux machine, even if you’re sure your PATH variable is set right.
What on Earth is ^M in Vim?
Learn what the Vim ^M fuss is all about and know how to get rid of it.
Solving the “executing grub-install /dev/sda failed” error
If you have seen this error, you were probably installing a GNU/Linux variant (eg. Ubuntu) when the installation process was suddenly interrupted. I know how frustrating it could be when you’re trying to install an operating system and suddenly you have hard disk...
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:...
HOW TO FIX “NO INCOMING CONNECTION” AT BOTTOM OF DELUGE DESKTOP ON LINUX
What is Deluge? What is Torrenting? Is Torrenting bad? P2P networking had always been a part of the internet, all the way from Usenet back in 1979, the internet had evolved a lot since then, and Peer to Peer networking, or more specifically, torrenting, had grown...