This file contains 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
Homebrew build logs for pebble/pebble-sdk/pebble-sdk on macOS 10.13.6 | |
Build date: 2018-08-20 10:54:17 |
This file contains 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
#!/usr/bin/env bash | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew tap buo/cask-upgrade | |
brew tap caskroom/fonts | |
brew tap caskroom/versions | |
brew tap homebrew/boneyard | |
brew tap homebrew/services |
This file contains 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
#!/usr/bin/env bash | |
JDK_TAG=8_jdk-dcevm_unlimited | |
DOCKER_IMAGE='anapsix/alpine-java:'$JDK_TAG | |
JDK_HOME=~/bin/$JDK_TAG | |
docker pull ${DOCKER_IMAGE} | |
update_jdk() { | |
echo 'update JDK version...' |
This file contains 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
FROM buildpack-deps:jessie-curl | |
ENV JAVA_DOWNLOAD http://download.oracle.com/otn-pub/java/jdk/7u79-b15/jdk-7u79-linux-x64.tar.gz | |
ENV JAVA_DIR_ROOT /usr/lib/jvm/ | |
ENV JAVA_HOME $JAVA_DIR_ROOT/jdk1.7.0_79 | |
RUN set -x \ | |
&& mkdir -p $JAVA_DIR_ROOT \ | |
&& wget -c -O $JAVA_DIR_ROOT/jdk.tar.gz --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" "$JAVA_DOWNLOAD" \ | |
&& cd $JAVA_DIR_ROOT \ |
This file contains 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
docker_gc(){ | |
docker rm -v $(docker ps --filter status=exited -q 2>/dev/null) 2>/dev/null | |
docker rmi $(docker images --filter dangling=true -q 2>/dev/null) 2>/dev/null | |
} |
This file contains 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"?> | |
<!DOCTYPE module PUBLIC | |
"-//Puppy Crawl//DTD Check Configuration 1.3//EN" | |
"http://www.puppycrawl.com/dtds/configuration_1_3.dtd"> | |
<module name="Checker"> | |
<property name="charset" value="UTF-8" /> | |
<property name="severity" value="error" /> | |
<!--Filters: http://checkstyle.sourceforge.net/config_filters.html --> | |
<module name="SuppressWarningsFilter" /> |
This file contains 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 demo; | |
import org.apache.commons.lang3.text.WordUtils; | |
import org.testng.Assert; | |
import org.testng.annotations.DataProvider; | |
import org.testng.annotations.Test; | |
public class CamelCaseTests { | |
@DataProvider(name = "data") | |
public static Object[][] data() { |
This file contains 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 org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import org.springframework.beans.BeansException; | |
import org.springframework.context.ApplicationContext; | |
import org.springframework.context.ApplicationContextAware; | |
import org.springframework.core.convert.ConversionService; | |
import org.springframework.stereotype.Component; | |
@Component | |
public class ApplicationContextProvider implements ApplicationContextAware { |
This file contains 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 org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import org.springframework.boot.autoconfigure.web.ServerPropertiesAutoConfiguration; | |
import org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainer; | |
import org.springframework.context.annotation.Configuration; | |
import java.io.IOException; | |
import java.net.ServerSocket; | |
@Configuration |
This file contains 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
<templateSet group="user"> | |
<template name="log" value="@SuppressWarnings("unused") private static final transient Logger LOG = LoggerFactory.getLogger($CLASS$.class.getName());" description="field LOG for Slf4J" toReformat="false" toShortenFQNames="true"> | |
<variable name="CLASS" expression="className()" defaultValue="" alwaysStopAt="true" /> | |
<context> | |
<option name="JAVA_CODE" value="false" /> | |
<option name="JAVA_STATEMENT" value="false" /> | |
<option name="JAVA_EXPRESSION" value="false" /> | |
<option name="JAVA_DECLARATION" value="true" /> | |
<option name="JAVA_COMMENT" value="false" /> | |
<option name="JAVA_STRING" value="false" /> |
NewerOlder