Skip to content

Instantly share code, notes, and snippets.

@bt5e
bt5e / gist:7507535
Last active November 2, 2024 07:43
Markdown subscript and superscript

Testing subscript and superscript

Testing subscript subscript level 2

Testing superscript superscript level 2

@bt5e
bt5e / docker-compose.yml
Created November 30, 2015 02:42
docker compose elasticsearch & kibana
elasticsearch:
image: elasticsearch
ports:
- "9200:9200"
kibana:
image: kibana
links:
- elasticsearch
ports:
- "5601:5601"
docker ps -a | grep 'weeks ago' | awk '{print $1}' | xargs --no-run-if-empty docker rm
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "bento/centos-7.4"
config.vm.provider "virtualbox" do |vb|
vb.memory = "1024"
end
end
@bt5e
bt5e / docker-pi-hole-run-dhcp.sh
Created April 27, 2019 01:42
pi hole docker run script to support DHCP
#!/bin/bash
# https://github.com/pi-hole/docker-pi-hole/blob/master/README.md
docker run -d \
--name pihole \
--net=host \
-e TZ="UTC" \
-e ServerIP=10.0.0.101 \
-v "$(pwd)/etc-pihole/:/etc/pihole/" \
#!/bin/bash
# https://hub.docker.com/r/linuxserver/smokeping
docker run -d \
--name=smokeping \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=UTC \
-p 8080:80 \