Skip to content

Instantly share code, notes, and snippets.

View andras-tim's full-sized avatar
💭
I may be slow to respond.

Andras Tim andras-tim

💭
I may be slow to respond.
View GitHub Profile
@andras-tim
andras-tim / user-data-gpt-bios-btrfs.yaml
Last active August 28, 2020 03:35 — forked from wpbrown/user-data.yaml
ubuntu autoinstall with btrfs subvolumes
#cloud-config
# based on
# * https://ubuntu.com/server/docs/install/autoinstall-quickstart
# * https://curtin.readthedocs.io/en/latest/topics/storage.html
# * https://gist.github.com/wpbrown/b688a934339cb4228c3faf5b527fbe5b
autoinstall:
version: 1
@andras-tim
andras-tim / doci
Last active June 4, 2020 08:24 — forked from szz/doci
get the prefered interactive shell in a given docker conatiner
#!/bin/bash
set -eufo pipefail
SHELL_PREFERENCE=(
'bash'
'zsh'
'sh'
)
@andras-tim
andras-tim / install_ffmpeg_ubuntu.sh
Created August 9, 2016 14:14 — forked from xdamman/install_ffmpeg_ubuntu.sh
Install latest ffmpeg on ubuntu 12.04 or 14.04
#!/bin/bash
# Bash script to install latest version of ffmpeg and its dependencies on Ubuntu 12.04 or 14.04
# Inspired from https://gist.github.com/faleev/3435377
set -e
BASEDIR="$(mktemp -d '/tmp/ffmpeg_XXXXXX')"
echo "### TEMP DIR: ${BASEDIR} ###"