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
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM3D1+y6twf2Z3wBvIUD9i3bhIOiRQLu1REzAKGKQPwP keroloswilliam@Keroloss-MBP-2 |
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 python3.7 | |
import argparse | |
import boto3 | |
cli_parser = argparse.ArgumentParser(description="") | |
cli_parser.add_argument('--region_name', type=str, default="eu-west-1") | |
cli_parser.add_argument('--profile_name', type=str, default='default') | |
cmdargs = cli_parser.parse_args() |
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 main | |
import ( | |
"log" | |
"fmt" | |
"github.com/aws/aws-sdk-go/aws" | |
"github.com/aws/aws-sdk-go/aws/session" | |
"github.com/logrusorgru/aurora" | |
) | |
// this is used for colorizing the output |
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 main | |
import ( | |
"os/exec" | |
"fmt" | |
) | |
func main() { | |
if someBin, err := exec.LookPath("ls"); err != nil { | |
fmt.Println("couldn't find the ls bin in the path") | |
}else if err == nil { | |
actualBin := exec.Command(someBin, "-lah") |
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
version: '2' | |
services: | |
jenkins: | |
image: 'bitnami/jenkins:latest' | |
labels: | |
kompose.service.type: nodeport | |
ports: | |
- '8080' | |
- '8443' | |
- '50000' |