Skip to content

Instantly share code, notes, and snippets.

@mcemce
mcemce / build-solus-docker-modules.sh
Last active March 12, 2018 00:27
Builds and loads kernel modules for Docker on Solus
#!/bin/bash
if [ $(whoami) != 'root' ]; then
echo "Must be root to run $0"
exit 1;
fi
echo "Assuming we're in root dir of Solus kernel source..."
git pull
@mcemce
mcemce / solus-docker-config-check.txt
Last active March 9, 2018 12:57
Output of Docker check-config.sh against Solus linux-current kernel
info: reading kernel config from /srv/solus-packages/linux-current/files/config ...
Generally Necessary:
- cgroup hierarchy: properly mounted [/sys/fs/cgroup]
- apparmor: enabled and tools installed
- CONFIG_NAMESPACES: enabled
- CONFIG_NET_NS: enabled
- CONFIG_PID_NS: enabled
- CONFIG_IPC_NS: enabled
- CONFIG_UTS_NS: enabled
@mcemce
mcemce / pull_directvapk.sh
Last active March 4, 2018 21:32
Pulls the DirecTVNow APK from an Amazon Fire TV and installs it on a Shield TV. Should work on other Android TVs as well.
#!/bin/bash
########################################################
# This version should work on both Mac and Linux
#
# 1. On Shield TV, enable developer mode, enable debug
# over USB, enable debug over Network, enable apps
# from unknown sources
# 2. Note, you may need to install the Amazon App Store
# on your Shield TV for this to work. Do so by