Skip to content

Instantly share code, notes, and snippets.

Avatar

Pratik Soni pratikabu

View GitHub Profile
View github-twitter-buttons.html
<html>
<head>
<!-- Place this tag in your head or just before your close body tag. -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
</head>
<body>
<!-- Place this tag where you want the button to render. -->
<a class="github-button" href="https://github.com/pratikabu/scrolltotop" title="Open Scroll To Top GitHub page.">GitHub</a>
<!-- Place this tag where you want the button to render. -->
@pratikabu
pratikabu / Add commit after 10000 lines
Created Apr 7, 2018
Use Notepad++ and select RegEx in search mode.
View Add commit after 10000 lines
Search Regex: ((.*\s*\n\s*){10000})
Replace line: $1commit;\n
@pratikabu
pratikabu / pratik-java-eclipse-formatter.xml
Created Dec 25, 2015
This is the java formatting configuration for Eclipse.
View pratik-java-eclipse-formatter.xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<profiles version="12">
<profile kind="CodeFormatterProfile" name="pratik-java-style" version="12">
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_ellipsis" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries" value="true"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters" value="insert"/>