Skip to content

Instantly share code, notes, and snippets.

@mry
mry / docker-compose.yml
Created July 28, 2017 22:07
docker-compose file for Let's Encrypt on a Synology
version: '2'
services:
proxy:
image: jwilder/nginx-proxy
container_name: nginx-proxy
ports:
- '30080:80'
- '4343:443'
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
@mry
mry / docker-compose.yml
Created June 5, 2017 16:56
LetsEncrypt Dockerized service for automatically maintaining certificates using nginx
version: '2'
services:
nginx-proxy:
image: jwilder/nginx-proxy
container_name: nginx-proxy
logging:
driver: splunk
options:
splunk-url: https://10.0.1.29:8088
splunk-token: 43D65CB7-4AE8-4ABD-B402-C345781009D4
@mry
mry / clientchat.sh
Created July 12, 2016 18:27 — forked from redwallhp/clientchat.sh
Minecraft client chat log search
#!/usr/bin/env bash
# Minecraft folder
cd /Users/your_system_username/Library/Application\ Support/minecraft
function scan_logs {
@mry
mry / example.meta.js
Last active February 9, 2016 19:45
This is an example showing Gist capability and how to auto update
// ==UserScript==
// @name EXAMPLE SCRIPT
// @version 0.5
// @description This is an example showing Gist capability and how to auto update
// @author ballparts
// @include http://*.koalabeast.com*
// @include http://*.jukejuice.com*
// @include http://*.newcompte.fr*
// @grant none
// @updateURL https://gist.github.com/mry/94d0ab355b20a725a1f7/raw/example.meta.js
@mry
mry / AzureAutoSettings.cs
Created February 5, 2016 09:32 — forked from davidebbo/AzureAutoSettings.cs
AzureAutoSettings
using System;
using System.Collections;
using System.Configuration;
using System.Reflection;
using System.Web;
[assembly: PreApplicationStartMethod(typeof(EnvSettings.SettingsProcessor), "Start")]
namespace EnvSettings
{