Skip to content

Instantly share code, notes, and snippets.

Avatar

Bryce Sheehan ctrl-freak

View GitHub Profile
@ctrl-freak
ctrl-freak / windows_software.md
Created May 12, 2022
Windows Desktop Software
View windows_software.md
Name License Source
7-Zip Open Source
Audacity Open Source
Audiveris Open Source
Autodesk Fusion 360 Free License
AutoIt Freeware
Battle.net Platform
Blender Open Source
@ctrl-freak
ctrl-freak / terraform_cloud_0.13upgrade.md
Created May 11, 2022
Terraform Cloud Replace Provider in Remote State for 0.13 Upgrade
View terraform_cloud_0.13upgrade.md

Background

When upgrading to Terraform 0.13 where runs driven by VCS and state is stored remotely (in this case Terraform Cloud)

I had an issue where a public Github module I was using included versions.tf which fails on older terraform versions.

I'd never used terraform locally, only connected the repository to Terraform Cloud.

The terraform 0.13upgrade is only in the 0.13 binaries, I had to download the old binary for my OS and run that specifically.

@ctrl-freak
ctrl-freak / marleyspoon_mealie.workflow.js
Created Apr 25, 2022
Reformat Marley Spoon API Recipe for insert to Mealie via n8n
View marleyspoon_mealie.workflow.js
var recipe = {};
recipe.name = item.name_with_subtitle;
recipe.recipe_yield = '4 Servings';
var ingredients = [];
item.ingredients.forEach((ingredient) => {
ingredients.push(ingredient.name_with_quantity);
});
item.assumed_ingredients.forEach((ingredient) => {
ingredients.push(ingredient.name);
@ctrl-freak
ctrl-freak / raspbian_openalpr.sh
Last active Jan 6, 2022
OpenALPR on Raspbian buster
View raspbian_openalpr.sh
## Prep SD card
# wpa_supplicant.conf
touch /boot/ssh
echo "enable_uart=1" >> /boot/config.txt
## Boot, ssh
uname -a
# Linux gatelpr 5.10.63+ #1496 Wed Dec 1 15:57:05 GMT 2021 armv6l GNU/Linux
@ctrl-freak
ctrl-freak / apk_zipalign_resign.md
Created Jul 24, 2020
Modifying Android APK and Resign on Windows
View apk_zipalign_resign.md
@ctrl-freak
ctrl-freak / rtl8188eus.sh
Created Jul 15, 2020
TP-Link TL-WN722N v2 Monitor Mode
View rtl8188eus.sh
# https://github.com/aircrack-ng/rtl8188eus
sudo apt update
sudo apt install bc
sudo rmmod r8188eu.ko
git clone https://github.com/aircrack-ng/rtl8188eus
cd rtl8188eus
sudo -i
echo "blacklist r8188eu.ko" > "/etc/modprobe.d/realtek.conf"
exit
@ctrl-freak
ctrl-freak / nethunter_grouper-talapia.md
Last active Jun 20, 2022
Install Kali Nethunter on Nexus 7 (2012) (grouper, talapia)
View nethunter_grouper-talapia.md

Unsupported

The Nexus 7 (2012) tablet is no longer supported by Offensive Security; I didn't have any luck with kernel/kali distributions, so attempted upgrading.

Problems

  • Installing Open GApps slows the device to a crawl, haven't been able to install an app without the device freezing (though may need to let it sort itself out for longer)
  • Attempted to avoid GApps by installing a browser from APK (via adb)
@ctrl-freak
ctrl-freak / oracle_n8n_postgres.sh
Last active Jan 13, 2022
Install n8n.io and PostgreSQL on Docker on Oracle Cloud Ubuntu, protected by Auth0
View oracle_n8n_postgres.sh
# This is a string of commands, not a developed script.
# Set a password to be used for the PostgreSQL authentication
POSTGRES_USER='n8n'
POSTGRES_PASSWORD=''
# Create Instance
# Attach Block Storage
# Add a public IP to the NIC
# Edit the Instance > Virtual Cloud Network > Security Lists > Default Security Lists
@ctrl-freak
ctrl-freak / gist:d0cef2cc0d88cb3ed64bd6fc0d08fb0d
Created Aug 30, 2019
Disable Adobe Reader XI Protected Mode at Startup Keyboard Shortcuts
View gist:d0cef2cc0d88cb3ed64bd6fc0d08fb0d
Alt+E,N
Home,S,S,S
Alt+M,Y
Preferences
Security (Enhanced)
Enable Protected Mode at startup
http://www.efferen.nl/2012/03/solved-adobe-reader-x-hangs-after-opening-a-pdf-file/
https://www.adobe.com/devnet-docs/acrobatetk/tools/VirtualizationGuide/citrix.html
@ctrl-freak
ctrl-freak / homelab.txt
Last active Dec 23, 2020
Homelab Software
View homelab.txt
Greenplum (Massively Parallel Postgres for Analytics)
https://greenplum.org/download/
Vagrant (Development Environments Made Easy)
https://www.vagrantup.com/
Odoo (Open Source ERP and CRM)
https://www.odoo.com/
Apache Hadoop