Skip to content

Instantly share code, notes, and snippets.

View biodrone's full-sized avatar
💭
Pondering Python's Maximum Recursion Depth

Josh J biodrone

💭
Pondering Python's Maximum Recursion Depth
View GitHub Profile
@biodrone
biodrone / !Terraform for a Linode NodeBalancer with LetsEncrypt Certificate Generation.md
Last active December 30, 2021 22:53
Terraform for a Linode NodeBalancer with LetsEncrypt Certificate Generation

This assumes that you have:

  • an app exposed on port 80 internally
  • an app healthcheck on /healthz
  • updated the relevant variables in variables.auto.tfvars

Taken from work done on FealTY

@biodrone
biodrone / beeper.au3
Last active January 9, 2019 15:52
A funny little beeper that takes over people's computers and annoys them.
#cs ####################################################################################
Author: biodrone
Function: Takes over someone's computer and creates maximum annoyance.
#ce ####################################################################################
#include <GUIConstantsEx.au3>
$loop = 0
$x = 1
WinMinimizeAll() ; minimize all other windows

Keybase proof

I hereby claim:

  • I am biodrone on github.
  • I am joshjacobs (https://keybase.io/joshjacobs) on keybase.
  • I have a public key ASBvJB6DONqtwC-goi-Qvei4huvnsyxpRQS2GLqzvAK7bgo

To claim this, I am signing this object:

@biodrone
biodrone / DriveDetectionAutoIt.au3
Last active January 9, 2019 15:54
Easy Drive Detection in AutoIt
#cs ----------------------------------------------------------------------------
Author: biodrone
Function: Find a removeable drive based on a supplied label
#ce ----------------------------------------------------------------------------
$drive_arr = DriveGetDrive("REMOVABLE")
For $i = 0 to $drive_arr[0]
If DriveGetLabel($drive_arr[$i]) = "COPY" Then
$drive_letter = $drive_arr[$i]