based on the
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# diff all defaults | |
# version | |
# Betaflight / STM32F7X2 (S7X2) 4.5.0 Jun 28 2024 / 10:31:50 (c155f5830) MSP API: 1.46 | |
# config rev: 617fd37 | |
# start the command batch | |
batch start | |
# reset configuration to default settings |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -ex | |
# | |
# This script is used to prepare an Ubuntu Image for Cloning | |
# | |
# curl -sSL https://gist.githubusercontent.com/patrickglass/ee7b817703723e05dedea8ef13d9a160/raw/271bb9ed277e1f66c866ab334f86bf9d5f12dd23/prepare-image.sh | sudo bash | |
# | |
set -x | |
set -e | |
# Script must be run as root |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/python3 | |
import os | |
import csv | |
import time | |
import requests | |
class RadarrAPI: | |
def __init__(self, url="http://localhost:7878", apikey=os.getenv("RADARR_API_KEY")) -> None: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os | |
import click | |
import boto3 | |
CREDS_FILE = '~/.aws-sts-creds' | |
@click.command() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" let Vundle manage Vundle | |
Plugin 'VundleVim/Vundle.vim' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import re | |
import click | |
import requests | |
import digitalocean | |
@click.command() | |
@click.argument('domain_name') | |
@click.argument('record_name') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am patrickglass on github. | |
* I am patrickglass (https://keybase.io/patrickglass) on keybase. | |
* I have a public key whose fingerprint is 9494 0613 AFC3 26BD 2747 B7C7 5835 DB6E 3AF5 4055 | |
To claim this, I am signing this object: |