Skip to content

Instantly share code, notes, and snippets.

View davestephens's full-sized avatar
💾
Where's the 5 1/4 inch emoji?

David Stephens davestephens

💾
Where's the 5 1/4 inch emoji?
View GitHub Profile
@davestephens
davestephens / ansible-role-test.sh
Last active September 17, 2017 20:53 — forked from geerlingguy/ansible-role-test.sh
Ansible Role Test Shim Script
#!/bin/bash
#
# Ansible role test shim.
#
# Usage: [OPTIONS] ./tests/test.sh
# - distro: a supported Docker distro version (default = "centos7")
# - playbook: a playbook in the tests directory (default = "test.yml")
# - cleanup: whether to remove the Docker container (default = true)
# - container_id: the --name to set for the container (default = timestamp)
# - test_idempotence: whether to test playbook's idempotence (default = true)
@davestephens
davestephens / Ubuntu-on-Dell-Insprion-7560.md
Last active August 20, 2017 21:46
Ubuntu on Dell Inspiron 7560

This is a collection of my notes about ironing out weird quirks with this laptop and Ubuntu. When I first got it, I think it was one of only two or three Kaby Lake Laptops available and there were loads of annoyances, thankfully things are now a lot better!

Trackpad

The trackpad was initially detected as the wrong thing. I found the solution here, specifically the bit about blacklisting the designware driver:

Add /etc/modprobe.d/synaptics.conf with this line:

@davestephens
davestephens / influxdb.nuspec
Created June 12, 2017 07:26
Deploying Linux packages with Octopus Deploy
<?xml version="1.0"?>
<package xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<id>InfluxDb</id>
<version>1.2.4</version>
<authors>InfluxData</authors>
<owners>InfluxData</owners>
<projectUrl>https://www.influxdata.com/</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>https://www.influxdata.com/</description>
@davestephens
davestephens / mis
Last active November 25, 2019 01:39
Mystic BBS init.d and monit configuration for Raspberry Pi
#!/bin/sh
### BEGIN INIT INFO
# Provides: mis
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Should-Start: $all
# Should-Stop: $all
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6