Skip to content

Instantly share code, notes, and snippets.

View mjeveritt's full-sized avatar

Michael Everitt mjeveritt

View GitHub Profile
@mjeveritt
mjeveritt / armhf-migrate.bash
Created October 16, 2018 22:58 — forked from chewi/armhf-migrate.bash
Migrates a Gentoo ARM system from the old style tuple (CHOST) to the new style tuple ending in hf.
#!/bin/bash
# Abort if things go wrong. Very important!
set -ex
# Fetch the old CHOST from make.conf or profile.
OLD_CHOST=$(portageq envvar CHOST)
# The new CHOST needs to end in hf. The vendor part doesn't really
# matter as long as it's not softfloat or softfp but the convention is
@mjeveritt
mjeveritt / docker-compose.yml
Last active January 10, 2020 21:12 — forked from stepankuzmin/docker-compose.yml
Docker Compose + Joomla + PostgreSQL + Nginx
version: '3.7'
services:
nginx:
image: nginx:alpine
restart: always
ports:
- 8080:80
volumes:
- ./joomla:/var/www/html