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

Programming

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

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

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

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 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

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

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.