Skip to content

Instantly share code, notes, and snippets.

@lucabelluccini
lucabelluccini / nexus-7-2012-wifi-fix.md
Last active February 11, 2024 17:55
Nexus 7 2012 (ASUS, Grouper/Tilapia) might not be able to connect to wifi due to IGTK / Protected Management Frames
@lucabelluccini
lucabelluccini / rpi4.boot-from-sd-rootfs-on-usb.md
Last active October 13, 2023 12:38
Raspberry Pi 4 - Boot from SD, Rootfs on USB

Raspberry 4B - Boot from SD and rootfs on USB

Update

RPi4 now supports booting directly from USB. First update to get an eeprom which supports USB Boot, then configure the bootloader to boot from USB.

Original guide

  1. Download Raspbian from the official site
@lucabelluccini
lucabelluccini / podcasts.txt
Created April 30, 2017 21:32
Programming podcasts
http://www.computer.org/web/computingnow/computing-conversations
http://herdingcode.com/
http://theagilerevolution.com/
http://www.se-radio.net/
http://changelog.fm/
http://cppcast.com/
http://javascriptjabber.com/
http://feeds.feedburner.com/Turing-Incomplete
http://giantrobots.fm/
http://beingtheworst.com/
@lucabelluccini
lucabelluccini / keybase.md
Created March 17, 2020 09:29
Keybase Elastic

Keybase proof

I hereby claim:

  • I am lucabelluccini on github.
  • I am lucabelastic (https://keybase.io/lucabelastic) on keybase.
  • I have a public key ASCW6JTsTJgz36mapRlFiYIErJ_juzwp2UksovbFkern8wo

To claim this, I am signing this object:

Docker on RPi

  • To install docker, just run curl -sSL https://get.docker.com | sh and add the user via sudo usermod -aG docker <user> or sudo setfacl -m user:$USER:rw /var/run/docker.sock
  • At least on 2017-12, on Raspbian Stretch, add to the file /boot/cmdline.txt the kernel parameter cgroup_memory=1 and cgroup_enable=memory
  • At least on 2017-12, on Raspbian Stretch, run sudo sysctl -w net.ipv4.ip_forward=1 to let docker port forward
  • Most common images can be found via docker search arm32v6 or docker search rpi
  • For Docker compose: sudo apt install -y python-pip and sudo pip install docker-compose

Useful links

@lucabelluccini
lucabelluccini / Dockerfile
Created March 4, 2020 00:41
Gstreamer latest cross architecture
FROM lopsided/archlinux
RUN yes | pacman -Sy gstreamer gst-libav gst-plugins-bad gst-plugins-base gst-plugins-good gst-plugins-ugly gst-python git python python-pip python-setuptools
RUN cd /home/ && \
git clone https://github.com/centricular/gstwebrtc-demos && \
cd gstwebrtc-demos && \
python3 -m pip install --user websockets
@lucabelluccini
lucabelluccini / RssAggregatorSelfhosted.md
Last active February 4, 2020 23:48
RSS Aggregators alternatives (open source)

RSS Aggregators (self-hosted)

RSS Aggregators (local)