Skip to content
Software Engineering

Software Engineering

Software Engineering

Menu

  • Home
  • Spaces
  • Blog
  • Design
    • Design Pattern
    • Design Principle
    • Microservice
  • Programming
    • Concepts
    • Java
    • Spring
    • Database
  • Tools
    • Cheatsheet
    • IDE
    • vi Editor
    • Git
    • Perforce
    • Troubleshooting
  • Log In

Author: fiveelements

How to Change Editor Line Height in NetBeans IDE?

How to Change Editor Line Height in NetBeans IDE?

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.

fiveelements August 11, 2023August 11, 2023 Tools No Comments Read more

Git: How to Rename a Git Branch Locally and Remotely

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.

fiveelements June 17, 2023June 17, 2023 Tools, Troubleshooting No Comments Read more

Git: Move a Folder From One Repository to Another Without Losing Git History

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.

fiveelements May 22, 2023May 23, 2023 Programming, Tools No Comments Read more

How to Change the Console Font of IntelliJ IDEA

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.

fiveelements January 14, 2023 Tools No Comments Read more

How to Find the Size of a File or Folder on Mac and Linux

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.

fiveelements January 13, 2023August 28, 2023 Tools No Comments Read more

In vi Editor How to Open Files Starting with + (Plus) or – (Hyphen) in Name

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.

fiveelements December 14, 2022December 15, 2022 Tools, Troubleshooting No Comments Read more

Git Cheatsheet – Frequently Used Git Commands

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.

fiveelements December 5, 2022December 12, 2022 Tools No Comments Read more

Perforce (P4) Cheatsheet – Frequently Used P4 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.

fiveelements December 4, 2022December 8, 2022 Tools No Comments Read more

Evolution of Web Browsers

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.

fiveelements August 31, 2022August 31, 2022 Tools No Comments Read more

Difference between Procedure, Function, and Method

Difference between Procedure, Function, and Method

To most programmers, procedure, function, and procedure are the same thing. It is a callable, reusable code block that optionally takes some input, performs one or more operations, and optionally returns some output.

fiveelements August 25, 2022August 25, 2022 Programming No Comments Read more

Difference between Argument and Parameter

Difference between Argument and Parameter

Programmers use the terms argument and parameter interchangeably. When someone says argument or parameter, they mean the same thing. However, there is a difference.

fiveelements August 24, 2022August 25, 2022 Programming No Comments Read more

How to Enforce JTextField to Allow Only Numeric Input Data of Limited Length?

How to Enforce JTextField to Allow Only Numeric Input Data of Limited Length?

The JTextField component in javax.swing package is a general-purpose text field that accepts any input character. Often applications need to restrict the text field to accept only a certain type of inputs. One such use case is – the text field only allows numbers without decimal points (integers) and also it must restrict the length of characters.

fiveelements August 24, 2022 Programming No Comments Read more

View Files in Tree Structure for Mac, Linux and Windows

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.

fiveelements February 20, 2022January 13, 2023 Tools 1 Comment Read more

Update Cached Credentials in Git Repository

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.

fiveelements February 18, 2022January 3, 2023 Tools No Comments Read more

vim Syntax Highlighting

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.

fiveelements January 25, 2022August 18, 2022 Programming, Tools No Comments Read more

vi Show Line Numbers

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.

fiveelements January 25, 2022April 19, 2022 Programming, Tools 1 Comment Read more

vi goto line

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.

fiveelements January 24, 2022April 19, 2022 Programming, Tools No Comments Read more

Work With vi Editor Like a Pro

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.

fiveelements June 14, 2021March 17, 2022 Programming, Tools 3 Comments Read more

Launch Visual Studio Code from Command Line

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

fiveelements March 4, 2021January 25, 2022 Tools No Comments Read more

Git – Refresh a File or Folder from the Remote Branch

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.

fiveelements January 8, 2021February 16, 2023 Tools No Comments Read more

Git – Refresh Feature Branch from Master – Rebase Vs. Merge

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.

fiveelements January 9, 2020August 11, 2023 Tools 1 Comment Read more

Git – Working with Multiple GitHub Accounts

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.

fiveelements January 9, 2020October 12, 2022 Tools No Comments Read more

A Full-Fledged Java-Based HTTP Client

A Full-Fledged Java-Based HTTP Client

We are going to write a mini-browser that can establish a connection with any website (URL) over HTTP protocol and then send requests & receive response messages. For example, you may hit https://google.com and receive the HTML content or hit a REST API endpoint and receive JSON content.

fiveelements January 2, 2020March 2, 2022 Programming No Comments Read more

How to Change Working Directory in Jupyter Notebook

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.

fiveelements August 22, 2019January 31, 2023 Tools No Comments Read more

How to use the Java Instrumentation API to determine object size?

How to use the Java Instrumentation API to determine object size?

In Java 1.5 Instrumentation API was introduced to enable byte-code modification (instrumentation) of classes and to get runtime insights. This is very helpful to tool developers. In this article, we’ll see how Instrumentation API can be leveraged to determine approximate object size at runtime.

fiveelements August 22, 2019February 24, 2022 Programming No Comments Read more

Git – Globally Ignore Certain File Types

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.

fiveelements July 25, 2019February 18, 2022 Tools 1 Comment Read more

Getting Started with Perforce Command Line

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.

fiveelements July 15, 2019November 30, 2022 Tools No Comments Read more

How To Cache Git Credentials

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.

fiveelements July 15, 2019January 3, 2023 Tools 1 Comment Read more

Recursively Download Files Using wget

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

fiveelements July 15, 2019January 25, 2022 Tools No Comments Read more

Change Author and Commit Message Before or After Push to Git

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.

fiveelements July 8, 2019January 3, 2023 Tools No Comments Read more

MongoDB Spring Example

MongoDB Spring Example

1. Context In this article, we have seen steps of creating a SpringBoot based imaginary TV program guide app that connects to PostgreSQL using JPA. The same code works for any relational database available in the market. We have to

fiveelements June 30, 2019February 6, 2022 Programming No Comments Read more

Spring Boot app connecting to PostgreSQL using JPA

Spring Boot app connecting to PostgreSQL using JPA

We are going to create a spring boot app that connects to the PostgreSQL database using JPA. Let us build an imaginary TV program guide web app that lists and allows us to search TV channels, programs, etc.

fiveelements June 30, 2019October 11, 2022 Programming No Comments Read more

Could not locate a PPD file for package XYZ while installing a Perl package

Could not locate a PPD file for package XYZ while installing a Perl package

While installing a Perl package are you getting an error like ‘Could not locate a PPD file for package XYZ’? To solve this problem use cpan instead of ppm. If the package is known, you can directly execute the install

fiveelements June 30, 2019January 25, 2022 Troubleshooting No Comments Read more

Articles

  • How to Change Editor Line Height in NetBeans IDE?
  • Git: How to Rename a Git Branch Locally and Remotely
  • Git: Move a Folder From One Repository to Another Without Losing Git History
  • How to Change the Console Font of IntelliJ IDEA
  • How to Find the Size of a File or Folder on Mac and Linux

Categories

  • Programming
  • Tools
  • Troubleshooting

Topics

App Cheatsheet Checkout Coding Command Line Database Git HTTP IDE Installation IntelliJ Java JPA Jupyter Notebook Linux Mac MongoDB NetBeans NoSQL Perforce Perl Productivity Programming Concepts Python Refresh Settings Shortcut Keys Spring SpringBoot Swing Terminal Timeline Tools Top vi Commands Top vim Commands Troubleshooting vi Commands VI Editor vim Commands VIM Editor Visual Studio Code Web WebApp Windows
Copyright © 2025 Software Engineering. All rights reserved. Theme Spacious by ThemeGrill. Powered by: WordPress.