Skip to content

Instantly share code, notes, and snippets.

View flajann2's full-sized avatar
🎯
I love Haskell. I love C++. I love Elm. I love...

Fred Mitchell flajann2

🎯
I love Haskell. I love C++. I love Elm. I love...
View GitHub Profile
@micrub
micrub / xmonad-default-key-bindings.md
Last active October 25, 2024 18:39
Xmonad default key bindings

xmonad default key bindings

Action key bindings

Key binding Action
mod - shift - slash Run xmessage with a summary of the default keybindings (useful for beginners)
mod - shift - return Launch terminal
mod - p Launch dmenu
mod - shift - p Launch gmrun
@stryku
stryku / CMakeSL.md
Last active June 19, 2020 06:21
CMakeSL (CMake Scripting Language) - An attempt to introduce a new scripting language for CMake

CMakeSL (CMake Scripting Language) - An attempt to introduce a new scripting language for CMake

Agenda

  • Abstract
  • Video
  • Why
  • How
  • Current status
  • Future plans
  • How to
@ianfinch
ianfinch / rpi4-usb.sh
Last active February 3, 2025 23:44
Raspberry Pi 4 USB Gadget
#!/bin/bash
# Set up a Raspberry Pi 4 as a USB-C Ethernet Gadget
# Based on:
# - https://www.hardill.me.uk/wordpress/2019/11/02/pi4-usb-c-gadget/
# - https://pastebin.com/VtAusEmf
if ! $(grep -q dtoverlay=dwc2 /boot/config.txt) ; then
echo "Add the line dtoverlay=dwc2 to /boot/config.txt"
exit
fi