Skip to content

Instantly share code, notes, and snippets.

View SandeepGamot's full-sized avatar
🎯
Focusing

Sandeep Gamot SandeepGamot

🎯
Focusing
View GitHub Profile
@SandeepGamot
SandeepGamot / AllmanIndent.xml
Created October 1, 2018 10:30
Allman Indent for IntelliJ IDEA and Jetbrains IDEs. Download this file and "import style from settings->code styles->import"
<code_scheme name="Allman">
<XML>
<option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" />
</XML>
<codeStyleSettings language="JAVA"> <!-- ENTER YOU LANGUAGE HERE -->
<option name="BLANK_LINES_AFTER_CLASS_HEADER" value="1" />
<option name="BRACE_STYLE" value="2" />
<option name="CATCH_ON_NEW_LINE" value="true" />
<option name="CLASS_BRACE_STYLE" value="2" />
<option name="FINALLY_ON_NEW_LINE" value="true" />
@SandeepGamot
SandeepGamot / StringHash.java
Last active September 21, 2017 17:53
This is a Code Snippet to reverse elements of an Array of any data type. This code snippet is applied to a custom hashing algorithm.
// free for commercial and personal use.
// User can modify and redistribute,include author credits.
// @author: Sandeep Gamot
// Github/Sandeep Gamot
import java.util.Scanner;
import java.lang.StringBuffer;