Skip to content

Instantly share code, notes, and snippets.

@Juravenator
Juravenator / bash.sh
Last active August 3, 2021 07:45
Some bash examples, including how to start a script
#!/usr/bin/env bash
set -o errexit -o nounset -o pipefail
IFS=$'\n\t\v'
cd `dirname "${BASH_SOURCE[0]:-$0}"`
echo test >/dev/null 2>&1 # these
echo test &>/dev/null # all
&>/dev/null echo test # do the same
# echo to stderr
@FreddieOliveira
FreddieOliveira / docker.md
Last active May 12, 2026 06:48
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary