Skip to content

Instantly share code, notes, and snippets.

@gwillem
gwillem / ansible-bootstrap-ubuntu-16.04.yml
Created June 16, 2016 21:59
Get Ansible to work on bare Ubuntu 16.04 without python 2.7
# Add this snippet to the top of your playbook.
# It will install python2 if missing (but checks first so no expensive repeated apt updates)
# gwillem@gmail.com
- hosts: all
gather_facts: False
tasks:
- name: install python 2
raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal)
@ralgh
ralgh / gist:4532090
Last active April 13, 2026 07:56
Starting this as a collection of useful data-uri strings.
<!DOCTYPE html>
<html lang="en">
<head>
<title>Tiny data-uri image strings</title>
<style>
.image-sample{
border: 1px solid;
}
</style>
</head>