Skip to content

Instantly share code, notes, and snippets.

View Helithumper's full-sized avatar
🐶
Something with APIs

Peyton Duncan Helithumper

🐶
Something with APIs
View GitHub Profile

Keybase proof

I hereby claim:

  • I am helithumper on github.
  • I am helithumper (https://keybase.io/helithumper) on keybase.
  • I have a public key ASC-4FtjUD9-N8okrmsb98ulVsmuKYXikkLocac9R8tJnwo

To claim this, I am signing this object:

@Helithumper
Helithumper / backup_script.sh
Created March 1, 2020 18:29
Restic Backup for Syncthing Directory
#!/bin/bash
# The B2 Key is an Application Key with R/W access to the bucket you are backing up to
# While the B2_KEY_NAME isn't neccessary, it is nice to keep around for documentation purposes
B2_ACCOUNT_ID=ACCOUNT_TOKEN_ID
B2_ACCOUNT_KEY=ACCOUNT_KEY_ID
B2_KEY_NAME=NAME_OF_KEY
# Information for Restic's internals.
# - Create a bucket and put it's name at "BUCKET_NAME"
@Helithumper
Helithumper / README.md
Created September 21, 2019 19:07
CTF VM Provisioning guide

VM Provisioning Guide

Install Ubuntu

Honestly, it would be redundant for me to put the guide here, so follow this guide: https://tutorials.ubuntu.com/tutorial/tutorial-install-ubuntu-desktop#0. It is built for installing natively on a machine with a USB drive, but if you ignore the beginning steps and start at step #5 then you'll be good.

Install tools

There are a few ways to do this, but here are the steps which you need to complete

1.) Run sudo apt-get update && sudo apt-get upgrade -y in your terminal in order to update any existing programs installed on the vm

@Helithumper
Helithumper / ecr_deploy.sh
Created March 31, 2019 15:04
ECR Deployment Script from SunshineCTF 2019
#!/bin/bash
# Peyton Duncan | Spring 2019
# Script to deploy CTF challenges to AWS.
# 1.) Login to AWS Cli
# 2.) Tag build
# 3.) Push Build
# 4.) Tell ECS to get a new version from ECR
$(aws ecr get-login --no-include-email --region us-east-1 >/dev/null)
ECR_LINK=REDACTED.dkr.ecr.us-east-1.amazonaws.com
@Helithumper
Helithumper / .gitlab-ci.yml
Created December 26, 2018 17:01 — forked from jlis/.gitlab-ci.yml
AWS ECS and ECR deployment via Docker and Gitlab CI
image: docker:latest
variables:
REPOSITORY_URL: <AWS ACCOUNT ID>.dkr.ecr.eu-central-1.amazonaws.com/<ECS REPOSITORY NAME>
REGION: eu-central-1
TASK_DEFINTION_NAME: <TASK DEFINITION NAME>
CLUSTER_NAME: <CLUSTER NAME>
SERVICE_NAME: <SERVICE NAME>
services: