Skip to content

Instantly share code, notes, and snippets.

View tremaineeto's full-sized avatar

Tremaine Eto tremaineeto

View GitHub Profile
@tremaineeto
tremaineeto / default-spring-boot-banner.txt
Created May 30, 2019 19:18
Default Spring Boot banner
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: v${spring-boot.version}
_ _ _______ _____ _ _ _ _____ ______ ______ /
|_____| |______ | | | | | | | | | |_____/ | | \ /
| | |______ |_____ |_____ |_____| |__|__| |_____| | \_ |_____ |_____/ .
${AnsiBackground.BLUE} ___ _ _ _
|_ _( )_ __ ___ _ _ _ __ __| | ___ _ ____ ____ _| |_ ___ _ __
| ||/| '_ ` _ \ | | | | '_ \ / _` |/ _ \ '__\ \ /\ / / _` | __/ _ \ '__|
| | | | | | | | | |_| | | | | (_| | __/ | \ V V / (_| | || __/ |
|___| |_| |_| |_| \__,_|_| |_|\__,_|\___|_| \_/\_/ \__,_|\__\___|_|
apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: hello-world-example
namespace: medium
spec:
concurrencyPolicy: Allow
failedJobsHistoryLimit: 1
jobTemplate:
spec:
package main
import (
"fmt"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/credentials"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/dynamodb"
"github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute"
"os"
__
|/ | o / /
|___| ___ ___ ___ ___ ___ ___ ___ ___ (___ ( ___ ___
| )| )| )| )|___)| ) \ )| )| )| | )| )| |___)|___
|__/ |__/|| / | / |__ | \/ |__/|| | |__/||__/ | |__ __/
-----
pom.xml variables
-----
@tremaineeto
tremaineeto / ssh_example
Created July 30, 2020 00:53
SSH into example IP with example port
$ ssh -p 8080 10.82.16.435
@tremaineeto
tremaineeto / bash_alias_example
Created July 30, 2020 00:55
Example of a Bash alias to enter an IP
$ enter_ip
@tremaineeto
tremaineeto / alias_enter_ip
Created July 30, 2020 00:56
Example of a Bash alias to SSH into an IP with a port
$ alias enter_ip="ssh -p 8080 10.82.16.435"
@tremaineeto
tremaineeto / examples_text_editors_bash_aliases
Created July 30, 2020 00:57
Examples of commands to open up your Bash alias files
$ nano ~/.bash_profile
$ vim ~/.bashrc
$ emacs ~/.bash_profile