This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.vshank77.neonto.application; | |
| import static com.google.common.base.Preconditions.checkNotNull; | |
| import java.util.List; | |
| import javax.servlet.ServletException; | |
| import org.apache.catalina.Context; | |
| import org.apache.catalina.LifecycleEvent; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| !/bin/sh | |
| git tag -d <tagId> | |
| git push origin :refs/tags/<tagId> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use_locks 0 | |
| ask_auth 1 | |
| if_match_bug 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <dependency> | |
| <groupId>org.polyglotted</groupId> | |
| <artifactId>webapp-launcher</artifactId> | |
| <version>1.0.1</version> | |
| </dependency> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
| <profiles version="12"> | |
| <profile kind="CodeFormatterProfile" name="vshank77" version="12"> | |
| <setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags" value="insert"/> | |
| <setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@formatter:off"/> | |
| <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation" value="insert"/> | |
| <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters" value="do not insert"/> | |
| <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration" value="insert"/> | |
| <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments" value="insert"/> | |
| <setting id="org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration" value="end_of_line"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.regex.Matcher; | |
| import java.util.regex.Pattern; | |
| public class SemVersion implements java.io.Serializable { | |
| private static final long serialVersionUID = 1L; | |
| private final static SemVersion UNKNOWN_VERSION = new SemVersion(0, 0, 0, null); | |
| private static final Pattern SEMVER_PATTERN = Pattern.compile("(\\d)\\.(\\d)\\.(\\d)([A-Za-z0-9\\.\\+-]*)?$"); | |
| private final int majorVersion; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| type: map | |
| desc: Graphonomy Datasource Schema | |
| mapping: | |
| "datasource": | |
| type: map | |
| required: true | |
| mapping: | |
| "definition": | |
| type: map |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| protected Class<?> getEntityClass() { | |
| ParameterizedType ptype = (ParameterizedType) getClass().getGenericSuperclass(); | |
| return (Class<?>) ptype.getActualTypeArguments()[0]; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var http = require("http"), | |
| url = require("url"), | |
| path = require("path"), | |
| fs = require("fs"), | |
| port = process.argv[2] || 8888, | |
| mime; | |
| try { | |
| mime = require("mime"); | |
| } catch(err) {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private static void compare(List<String> list1, List<String> list2) { | |
| Collections.sort(list1); | |
| Collections.sort(list2); | |
| System.out.println(list1.size()); | |
| System.out.println(list2.size()); | |
| List<String> listEx1 = Lists.newArrayList(); | |
| List<String> listEx2 = Lists.newArrayList(); | |
| Iterator<String> it1 = list1.iterator(); | |
| Iterator<String> it2 = list2.iterator(); |