Skip to content

Instantly share code, notes, and snippets.

@ash0x1b
ash0x1b / dev.sh
Created July 19, 2017 07:55 — forked from rosswd/dev.sh
Dev setup guide for Raspberry Pi. Python, Virtualenv, Git and Terminal.
# Change the Terminal Font
sudo vi /etc/default/console-setup
# set FONTFACE="Terminus"
# set FONTSIZE="16x32"
# Useful apt commands
sudo apt-get install -s git # simulate
apt-cache show git # package info
apt-cache show git | grep '^Size' # size only
apt-get install [package] --no-install-recommends --show-progress # don't install recommended packages
@ash0x1b
ash0x1b / enable-docker.sh
Created August 10, 2022 17:13 — forked from tprelog/enable-docker.sh
Use docker-compose on TrueNAS SCALE without Kubernetes
#!/usr/bin/env bash
#
# Enable docker and docker-compose on TrueNAS SCALE (no Kubernetes)
#
# This script is a hack! Use it at your own risk!!
# Using this script to enable Docker is NOT SUPPORTED by ix-systems!
# You CANNOT use SCALE Apps while using this script!
#
# 1 Create a dedicated Docker dataset in one of your zpools