JerseyClientConfiguration clientConfig = ...;
String clientName = "PaymentAPIClient";
String baseUrl = "http://the-host/the-path";
JerseyClientBuilder clientBuilder = new JerseyClientBuilder(environment)
.using(clientConfig)
.withProvider(new CorrelationIdClientRequestFilter())
.withProvider(new LoggingFeature(
$root/config
- checkstyle.xml
- suppression.ml
plugins {
Assume role and pull/push image to ECR
export http_proxy=<PROXY>
export https_proxy=<PROXY>
export no_proxy=localhost,127.0.0.1
export AWS_DEFAULT_REGION=ap-southeast-2
Distribute S3 content through CloudFront
- private S3 bucket
- cloudfront: readonly
- cross account role: read-write
- local role: read-write
- ref : https://dev.classmethod.jp/cloud/aws/basic-auth-s3-cloudfront-lambda/
Parameters:
~/.gitconfig
[alias]
lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
lg = !"git lg1"
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
#!/bin/bash | |
CUSTOM_BASH_DIR=~/my_bash | |
function aws-encrypt() { | |
$CUSTOM_BASH_DIR/./aws-encrypt.sh "$@" | |
} | |
function aws-decrypt() { | |
$CUSTOM_BASH_DIR/./aws-decrypt.sh "$@" |
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
# bash/zsh completion support for core Git. | |
# | |
# Copyright (C) 2006,2007 Shawn O. Pearce <[email protected]> | |
# Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/). | |
# Distributed under the GNU General Public License, version 2.0. | |
# | |
# The contained completion routines provide support for completing: | |
# | |
# *) local and remote branch names | |
# *) local and remote tag names |