Skip to content

Instantly share code, notes, and snippets.

View CandleHater's full-sized avatar
🕯️
lit

candle CandleHater

🕯️
lit
View GitHub Profile

Keybase proof

I hereby claim:

  • I am candlehater on github.
  • I am candle (https://keybase.io/candle) on keybase.
  • I have a public key ASB7k0yvNwmgRCKwAnlQ7KeQezKCP_ss_m05jJe6Y2oL-Ao

To claim this, I am signing this object:

@CandleHater
CandleHater / raspberry-image-create.md
Last active February 9, 2020 23:24
Create an image from a SD card and compress it.

Config

Make sure to set the variables DEVICE and IMAGE_FILE according to your needs.

# check the disks
sudo fdisk -l

# example
IMAGE_FILE=/home/$USER/Desktop/pi-init-`date +%Y%m%d`.img
DEVICE=sdX
@CandleHater
CandleHater / raspberry-display-install.md
Last active February 8, 2020 12:06
Raspberry Display Installation & Wiring on Raspbian for Python3

LED Matrix, MAX7219 & RGB NeoPixels (WS2812/APA102)

Installation

# SPI
sudo raspi-config nonint do_spi 0

sudo reboot

@CandleHater
CandleHater / initial-setup.sh
Last active May 10, 2020 15:13
Initial setup on Debian (incl. Raspbian)
#!/bin/bash
# bash <(curl -s https://gist.githubusercontent.com/CandleHater/c36f8c205b31f70081d9e821bde36ebb/raw/initial-setup.sh)
# TODO
# - rename initial.sh + move gist to repo
# - bootloader configs https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2711_bootloader_config.md
# - split up parts to several bash scripts and create repository
# apt packages
### Keybase proof
I hereby claim:
* I am candlehater on github.
* I am candle (https://keybase.io/candle) on keybase.
* I have a public key ASBC51jApuX0Hud9tloIZvhiTO_3_tNaS5pMF32JEocsuwo
To claim this, I am signing this object: