Skip to content

Instantly share code, notes, and snippets.

View getsec's full-sized avatar
💾
Reviewing PRs

getsec getsec

💾
Reviewing PRs
  • Winnipeg, MB
View GitHub Profile
@getsec
getsec / lol.png
Last active December 7, 2022 20:46
<img src=x onerror="console.log(42424242)">
@getsec
getsec / delete-config-everywhere.sh
Created March 9, 2022 18:51
Simple script to delete a bunch of AWS config items...
#!/bin/bash
profile=$1
all_regions=$(aws ec2 describe-regions --region us-west-1 --query 'Regions[*].RegionName' --output text)
for region in $all_regions; do
rules=$(aws configservice describe-config-rules --region $region --query 'ConfigRules[*].ConfigRuleName' --output text)
if [ ${#rules} -ge 1 ]; then
@getsec
getsec / settings.jsonc
Created November 22, 2021 16:32
vscode - formatted settings
{
// FILE SPECIFIC CONFIG
"[hcl]": {
"editor.defaultFormatter": "hashicorp.terraform",
"editor.formatOnSave": true
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[python]": {
@getsec
getsec / listOfHipHopMixes.json
Created June 24, 2020 13:23
This is a list of hip hop mixes from YouTube for YouTube DL / Discord.
[
"https://www.youtube.com/watch?v=lTRiuFIWV54",
"https://www.youtube.com/watch?v=wAPCSnAhhC8",
"https://www.youtube.com/watch?v=xjadNS2HBpM",
"https://youtu.be/GdzrrWA8e7A",
"https://youtu.be/AvhplYM46Fc",
"https://www.youtube.com/watch?v=tgI6PjEq0O8",
"https://www.youtube.com/watch?v=tQvNJDUhzBQ",
"https://www.youtube.com/watch?v=A9sOb_r6Hy0",
"https://www.youtube.com/watch?v=NxSDNogkKX0",