Skip to content

Instantly share code, notes, and snippets.

View michaelbeaumont's full-sized avatar

Mike Beaumont michaelbeaumont

View GitHub Profile
@jamesog
jamesog / README.md
Last active January 24, 2024 23:17
YubiKey as an SSH CA
@timokroeger
timokroeger / async_embedded_experiments.rs
Created January 22, 2021 21:01
Experiments with async on embedded and critical sections
//! Experiments with async on embedded. This code runs on nRF52840-DK.
//!
//! On ARM Cortex-M cores interrupt requests can wake up the processor even when
//! interrupts are disabled by a critical section. The executor runs in a critical
//! section and puts the processor to sleep when no futures is ready.
//! A pending interrupt request wakes up the processor (without jumping to the ISR)
//! and the executor re-polls the futures for completion.
//!
//! Only supports a single task called `main_async` which can never be
//! interrupted (bus faults and other exceptions disregarded).
@tarcieri
tarcieri / acid_house.rb
Created March 20, 2020 18:16
Sonic Pi Acid House
use_bpm 128
live_loop :kick do
sample :bd_808, amp: 10
sleep 1
end
live_loop :snare do
sleep 1
sample :drum_snare_soft
@mhausenblas
mhausenblas / README.md
Last active September 25, 2021 17:00
Scripting EKS on ARM

EKS on Arm

The xarm-install-graviton2.sh script allows you to install and use Amazon EKS on Arm (xARM) with a single command. In essence, it automates the steps described in the docs.

Make sure you have aws, eksctl, kubectl, and jq installed, this will be checked on start-up and the script will fail if these deps are not present. So far tested with bash on macOS.

$ chmod +x xarm-install-graviton2.sh
$ ./xarm-install-graviton2.sh