Skip to content

Instantly share code, notes, and snippets.

@metroid2010
metroid2010 / note_selector.ino
Created May 4, 2021 10:36
4-channel discrete note selector with PWM output for an analog sequencer
#define BUTTON_PRESSED LOW
#define BUTTON_NOT_PRESSED HIGH
//#define DEBUG 1 // uncomment to enable serial output
#ifdef DEBUG
#define _PL(a) Serial.println(a)
#define _PP(a) Serial.print(a)
#else
#define _PL(a)
@metroid2010
metroid2010 / docker-compose.yml
Last active April 28, 2020 11:52
ejemplo de docker-compose.yml para lanzar una instancia de qbittorrent
version: '2.4'
services:
qbittorrent:
image: linuxserver/qbittorrent
restart: unless-stopped
volumes:
- /home/$USER/downloads:/downloads # where the files will be downloaded
- /home/$USER/qbittorrent/config:/config # where the persistent configuration will be stored
environment:
#!/bin/bash
# Script to generate an EFI entry in arch
# so that there is no need for a boot manager,
# as kernel is directly launched from EFI boot process
# Tailored for and tested on a Thinkpad x220
# by metroid2010
# uncomment to disable the creation of a fallback entry
#NO_FALLBACK=1