Unlike IntelliJ Idea, the NetBeans IDE does not have a direct option in the settings window to set the preferred line height of the editor. If you want to adjust the editor line height in NetBeans, you can still do it by adding an entry to a preferences file.
Git: How to Rename a Git Branch Locally and Remotely
If you made an error while typing the branch name or decided to change the branch name after pushing it to the remote repository, there is a method to rename the branch both locally and remotely.
Git: Move a Folder From One Repository to Another Without Losing Git History
Git commit history is extremely useful. It serves as additional documentation of code with context. This article presents a step-by-step guide to move a folder from one Git repository to another with full revision history intact.
How to Change the Console Font of IntelliJ IDEA
IntelliJ is one of the popular IDEs for application development in many programming languages. It has a community edition with most of the essential features and also offers a licensed edition. With plenty of plugins available, IntelliJ is the default choice for software development in many organizations.
How to Find the Size of a File or Folder on Mac and Linux
Often you may need to find out how much disk space a file or folder (files inside the folder) occupies. This helps you to understand disk usage, remove unwanted files and optimize disk usage.
In vi Editor How to Open Files Starting with + (Plus) or – (Hyphen) in Name
Using vi editor if you want to create a new file or open an existing file having a name starting with + (plus) or – (hyphen), you’ll get an error.
Git Cheatsheet – Frequently Used Git Commands
A cheatsheet is a crisp set of notes, or commands used as a quick reference. Git is the most popular modern version control system (open-source and free). The below table contains the list of most frequently used Git commands.
Perforce (P4) Cheatsheet – Frequently Used P4 Commands
A cheatsheet is a crisp set of notes, or commands used for quick reference. The below table contains the list of most frequently used p4 (Perforce) commands. We present the commands with the syntax and the purpose of use.
Evolution of Web Browsers
Whether you are using a desktop, a laptop, a tablet, or a mobile device, the web browser plays a pivotal role in exploring the web and using interactive web applications.
View Files in Tree Structure for Mac, Linux and Windows
Tree command recursively lists files and folders in a tree structure. This provides an excellent overview of what a folder contains. On Windows tree command is available by default. However, there is no default tree command available on Linux and Mac. In this article, I’ll share steps to use tree command on Mac, Linux, and Windows.
Update Cached Credentials in Git Repository
If you have cached your git credentials for a repository or globally, a couple of scenarios might arise: 1. Cached credentials need to be updated for a single repository or globally 2. Cached credentials need to be removed for a single repository or globally.
vim Syntax Highlighting
The syntax highlighting feature of text editors mark keywords, operators, numbers, string, etc. differently according to the programming language constructs. For developers, modern IDEs offer syntax highlighting.
vi Show Line Numbers
Knowing the commonly used vi editor commands is absolute bliss. You can get your work done much faster with frequently used commands. In this article, I’ll share the commands to show line numbers in the vi editor temporarily for a single session, and permanently as well.
vi goto line
Knowing the commonly used vi editor commands is absolute bliss. You can get your work done much faster with frequently used commands. The command to go to a specific line is one of those frequently used commands.
Work With vi Editor Like a Pro
People working in system engineering in Linux and Mac still prefer vi. In this article, I’ll highlight 20 commands when practiced, will enable you to use the vi editor like a pro.
Launch Visual Studio Code from Command Line
Visual Studio Code is an increasingly popular tool for developing software applications. It is comparable to Atom, Sublime Text etc. To launch any tool from the command prompt, the path of the tool executable has to be present in PATH
Git – Refresh a File or Folder from the Remote Branch
When you have messed up a file or made temporary changes locally (e.g. for debugging) and you want to get rid of the local changes, there is an easy way out.
Git – Refresh Feature Branch from Master – Rebase Vs. Merge
While working on a feature branch, often you need to get the latest changes from master (contributed by other developers) to your feature branch to test your code with changes made by other developers.
Git – Working with Multiple GitHub Accounts
When you have messed up a file or made temporary changes locally (e.g. for debugging) and you want to get rid of the local changes, there is an easy way out.
How to Change Working Directory in Jupyter Notebook
This article shows how to change the working directory of Jupyter Notebook temporarily for a single session or permanently.
Git – Globally Ignore Certain File Types
ll show you the steps to use a global .gitignore file to apply the exclusion pattern to all your repositories. Create a new file named .gitignore-global (or any other name you like) at the user’s home directory or any other directory of your choice. Add all required exclusions to this file just like a normal.gitignore file.
Getting Started with Perforce Command Line
I have been working on a project that uses Perforce for source control. Perforce workflow is not much different from Git or any other source control system.
How To Cache Git Credentials
If you are using password-based authentication to authenticate yourself to the Git server, it might prompt you to enter your password every time you execute git commands. To avoid that you can configure Git to cache your credential.
Recursively Download Files Using wget
If you want to download multiple files recursively from a website wget is the way to go. The popular alternative tool curl does not support recursive download. Note that, links constructed dynamically using Javascript or any other way, won’t be
Change Author and Commit Message Before or After Push to Git
After committing a change, you realized that either the author is not appearing correctly or the commit message needs a change. There are two likely scenarios and in each scenario, we’ll explore how to change the commit metadata.