Skip to content

Instantly share code, notes, and snippets.

@javathought
javathought / .gitlab-ci.yml
Created March 8, 2019 16:36 — forked from daicham/.gitlab-ci.yml
A sample of .gitlab-ci.yml for a gradle project
image: java:8-jdk
stages:
- build
- test
- deploy
before_script:
# - echo `pwd` # debug
# - echo "$CI_BUILD_NAME, $CI_BUILD_REF_NAME $CI_BUILD_STAGE" # debug
@javathought
javathought / .mavenrc
Created March 14, 2019 01:14
Maven Conf on Windows for emoji ...
LANG=en_US.UTF-8
@javathought
javathought / .editorconfig
Created June 21, 2019 14:44
editorconfig
root = true
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
[*.xml]
indent_size = 2
@javathought
javathought / DateManager.java
Created June 27, 2019 14:08
DateManager / freezing for test
package gca.caps.gb.commun.services;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
public class DateManager {
public static final DateTimeFormatter FORMATTER_LOG = DateTimeFormatter.ofPattern("dd/MM/yyyy - HH:mm");
private static final DateManager instance = new DateManager();