spring:
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 logger | |
import ( | |
"go.uber.org/zap" | |
"go.uber.org/zap/zapcore" | |
) | |
var delegate *zap.SugaredLogger | |
func init() { |
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 ch.qos.logback.classic.Level; | |
import ch.qos.logback.classic.Logger; | |
import org.slf4j.LoggerFactory; | |
/** | |
* @author zacconding | |
* @Date 2018-05-02 | |
* @GitHub : https://github.com/zacscoding | |
*/ |
$ docker-compose -f ./docker-compose.yaml up -d
$ docker logs -f [container_name]
마지막 실행 된 Command의 exit status 가져오기
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 random; | |
import java.util.Random; | |
/** | |
* Random extraction from items | |
* | |
* @author zacconding | |
* @Date 2018-12-05 | |
* @GitHub : https://github.com/zacscoding |
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 | |
SCRIPT_PATH=$( cd "$(dirname "$0")" ; pwd -P ) | |
WORKING_DIR=$( cd "${SCRIPT_PATH}/../" ; pwd -P ) | |
VERSION="1.0" | |
JAR="MY-JAR-${VERSION}.jar" | |
SERVER_PID_FILE="${WORKING_DIR}/server.pid" |
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 | |
SCRIPTPATH=$( cd "$(dirname "$0")" ; pwd -P ) | |
WORKING_DIR=$( cd "${SCRIPTPATH}/../" ; pwd -P ) | |
VERSION="1.0" | |
JAR="MY-jar-"${VERSION}".jar" | |
# check server pid |
NewerOlder