Tag Archives: Example

String to Byte Array in Java

To convert string to byte array in java you can use “getBytes” function. For example: “your string”.getBytes() String to Byte Array in Java See image below: That is how to convert string to byte array in java. In this example i’m using: IntelliJ IDEA Spring Boot Maven Other convert topics

IntelliJ IDEA – Find and Replace Text

Find and replace text on intellij idea by using (ctrl+R) or (ctrl+shift+R) for windows. Find and replace If you want to find and replace word on a file just use (Ctrl+R). But if you need to replace word in all file, you can use (Ctrl+Shift+R) shortcut.   For example search and replace in all file, see image below:… Read More »

IntelliJ IDEA – Auto Complete Code

Auto complete code is the most common used feature in intellij idea. You can try this auto complete with (ctrl+space) for windows and (^Space) for mac. Auto Complete Code See the image below: Super completion with (Control-Shift-Space), the completion is based on type, not name. For more goodness: Help -> Default Keymap Reference Related System.out.println Shortcut Restart and… Read More »

Create Git Repository on Github.com

This is how to create git repository and save your project on github.com. 1.Sign up on github 2.Add new repository 3.Select the owner of repository and fill repository name 4.Fill the description field but this is optional 5.Select public repository type for free use 6.Then click “Create repository” button For example see this image below: 7.Go to your project… Read More »