Skip to content

Instantly share code, notes, and snippets.

View MrAndrewMal's full-sized avatar
🏠
Working from home

André MrAndrewMal

🏠
Working from home
View GitHub Profile
@solaris9000
solaris9000 / auto_fs_pi.txt
Created June 21, 2019 10:09
How to set up auto filesystem expansion for custom PI images
How to set up auto filesystem expansion for custom PI images
============================================================
Preamble
========
When a custom pi image is created, it is a good idea to expand the FS so that all the space on the SD card is used. This is done manaully using the raspi-config tool or raspi-config --expand-rootfs.
The official pi images expand the FS automatically so it would be nice to replicate this process for custom images.
The procedure below shows how to do this.
Procedure
@cinderblock
cinderblock / Setup Raspberry Pi OS Image Script.md
Last active September 27, 2021 00:19
Scripts to setup a Raspberry Pi OS image **before** flashing to SD card

There's a workaround that might be useful for some people - use the Shadowsocks app for Android TV. Because that app only accepts a JSON configuration file, you need to convert the Outline key to JSON.

  1. Take the following JSON file template:
    {
        "server":"YOUR-SERVER",
        "server_port":12345,
        "local_port":1080,
        "password":"YOUR-PASSWORD",
        "method":"chacha20-ietf-poly1305",