spring:
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 logger | |
import ( | |
"go.uber.org/zap" | |
"go.uber.org/zap/zapcore" | |
) | |
var delegate *zap.SugaredLogger | |
func init() { |
$ docker-compose -f ./docker-compose.yaml up -d
$ docker logs -f [container_name]
마지막 실행 된 Command의 exit status 가져오기
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
``` | |
#!/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 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
``` | |
#!/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 |
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.Objects; | |
import javax.servlet.http.HttpServletRequest; | |
import javax.servlet.http.HttpServletResponse; | |
import javax.servlet.http.HttpSession; | |
import org.springframework.web.context.request.RequestAttributes; | |
import org.springframework.web.context.request.RequestContextHolder; | |
import org.springframework.web.context.request.ServletRequestAttributes; | |
/** | |
* Servlet helper |
Suppose created pull request develop from forked > develop
And then we can find url such as https://bitbucket.org/zacscoding/pull-req-test/develop
if we hover develop branch on the top. And then
fetch pull request
NewerOlder