Skip to content

Instantly share code, notes, and snippets.

View englishm's full-sized avatar
🦀
Media over QUIC enthusiast, Rustacean

Mike English englishm

🦀
Media over QUIC enthusiast, Rustacean
View GitHub Profile
@blatayue
blatayue / README.md
Last active August 5, 2024 06:42
Superbird MIDI Gadget

Superbird MIDI Gadget

Modifications I made to the scripts in /scripts/in the superbird-kiosk-app (v1.8.0) to create a MIDI USB gadget, the RNDIS gadget is also still enabled

Replace corresponding scripts to have your Car Thing send MIDI NoteOn/NoteOff events on hardware button presses

@tuetenk0pp
tuetenk0pp / media-workflow-jellyfin.md
Last active February 22, 2024 06:16
Media Workflow for Jellyfin
@emmakat
emmakat / SSH2FA.markdown
Last active November 17, 2023 09:45 — forked from lizthegrey/attributes.rb
Hardening SSH access to Github with TouchID

This is a fork of @lizthegrey excellent gist on securing SSH with 2FA but modified to focus on the first steps one can take toward securing ssh access to Github (or other version control systems) with Apple touch ID button. Designed to prevent key theft from the systems we connect to with 2FA, while maintaining ease of use. From the project "If your Mac has a Secure Enclave, it also has support for strong access controls like Touch ID, or authentication with Apple Watch. You can configure your key so that they require Touch ID (or Watch) authentication before they're accessed. If you store your keys in the Secure Enclave, it's impossible to export them, by design."

Mac client setup

Use TouchID to authenticate logins to GitHub! Since sekey is no longer maintained, let's use secretive instead.

Install the binary:

# typed: true
# frozen_string_literal: true
require('dev')
require('fileutils')
module Dev
module Helpers
class APFSVolume
extend(T::Sig)
@CHTJonas
CHTJonas / UniFi Tunnelbroker.md
Last active April 26, 2022 00:49
Tunnelbroker config for UniFi Security Gateway

UniFi Tunnelbroker Configuration

This GitHub Gist details the manual configuration needed on a UniFi controller to enable IPv6 tunneling with Hurricane Electric's Tunnelbroker service.

Setup

This is what works for me personally. Stuff you'll need to do to adapt this to your ends:

  • Replace "local-ip" with your USG's public IPv4 address.
  • Replace "remote-ip" with the address of your Tunnelbroker tunnel server.
  • Replace "address" with the IPv6 address that your are allocated.
@anthonydiiorio
anthonydiiorio / sats.sh
Last active November 25, 2019 20:02
Satellite Grid Extractor
#!/bin/bash
ADIF=VE2HEW.adi
SATS=sats.adi
ADIFCONF=sats-confirmed.adi
ADIFUNCONF=sats-unconfirmed.adi
WORKED=ve2hew-unconfirmed.log
CONFIRMED=ve2hew-confirmed.log
head -n 7 $ADIF | tee $SATS $ADIFCONF $ADIFUNCONF >/dev/null
grep '<PROP_MODE:3>SAT' $ADIF > $SATS
@psychemedia
psychemedia / Dockerfile
Last active October 1, 2022 22:16
Example of setting up a Docker image containing a suite of applications on a related theme for use over the command line: audiogrep, videogreop and youtube_dl.
#Based on https://github.com/kevinhughes27/audiogrep-docker
# DOCKER-VERSION 1.4.0
FROM ubuntu:14.04
RUN apt-get update
RUN apt-get install -y software-properties-common
# FFMPEG
#The repository needs updating from the original
#Note that ffmpeg not standardly available for Ubuntu 14.04: http://www.faqforge.com/linux/how-to-install-ffmpeg-on-ubuntu-14-04/
@darach
darach / fony.sh
Last active February 15, 2021 20:36
Example showing how to compile pony executables via LLVM and clang from LLVM IR produced by 'ponyc -rir ...'
#!/bin/sh
LLVM_HOME=/usr/local/Cellar/llvm/3.6.2/bin
PONY_HOME=/path/to/pony/repo
PONY_LIBS=${PONY_HOME}/build/debug
TARGET_ARCH=x86-64
OUT_LL="$1.ll"
OUT_BC="$1.bc"
OUT_S="$1.s"
anonymous
anonymous / ifcfg-eno16777728
Created September 24, 2015 15:35
TYPE="Ethernet"
BOOTPROTO="dhcp"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="no"
IPV6INIT="yes"
IPV6_AUTOCONF="yes"
IPV6_DEFROUTE="yes"
IPV6_FAILURE_FATAL="no"
NAME="eno16777728"
DEVICE="eno16777728"
@maryrosecook
maryrosecook / ...
Last active September 13, 2018 18:17
Reminders to myself to help me get better at programming. I don't always manage to do these things, but I try. Please feel free to add your own reminders to yourself in the comments below!
We couldn’t find that file to show.