Skip to content

Instantly share code, notes, and snippets.

View s3cpat's full-sized avatar

Pat s3cpat

  • Somewhere in PA
View GitHub Profile
### Keybase proof
I hereby claim:
* I am s3cpat on github.
* I am s3cpat (https://keybase.io/s3cpat) on keybase.
* I have a public key ASCEVj5BEllQbXM65N0He_tzYiZ-Fn8NnAv5jwpFkzDLcQo
To claim this, I am signing this object:
@s3cpat
s3cpat / gensums.sh
Created February 18, 2018 21:30
Quick bash script to generate checksums of a file passed as an argument
#!/bin/bash
# generate checksums for files passed as arguments
# $'\r' included to provide windows line breaks :)
infile=$1
out=$infile.sums.txt
echo "" > $out
@s3cpat
s3cpat / heart.py
Created July 31, 2018 12:10
secret!!
import binascii
z = '0x1F499'
o = '0x1F618'
def create_emoji_string(string):
s = string.replace("0b","")
out = ""
for chr in s:
if chr == '0':
@s3cpat
s3cpat / betterRainyMoodUBLOCK.txt
Created December 26, 2018 07:07
hide all the junk on rainymood
! 12/26/2018, 2:05:32 AM https://www.rainymood.com/
www.rainymood.com##.center-container > .center-block > p:nth-of-type(1)
! 12/26/2018, 2:05:40 AM https://www.rainymood.com/
www.rainymood.com##.center-container > .center-block > p:nth-of-type(1)
! 12/26/2018, 2:05:47 AM https://www.rainymood.com/
www.rainymood.com##.center-container > .center-block > p:nth-of-type(1)
! 12/26/2018, 2:05:52 AM https://www.rainymood.com/
@s3cpat
s3cpat / covidcraft_cloudformation.yml
Created March 20, 2020 13:52
Due to the COVID-19 pandemic, you must stay at home and play Minecraft.
AWSTemplateFormatVersion: '2010-09-09'
Description: 'Deploy Minecraft server running Spigot'
Parameters:
KeyName:
Description: Name of an existing EC2 KeyPair to enable SSH access to the instance
Type: AWS::EC2::KeyPair::KeyName
ConstraintDescription: must be the name of an existing EC2 KeyPair.
InstanceType:
Description: Minecraft Server EC2 instance type
Type: String