Skip to content

Instantly share code, notes, and snippets.

@omltcat
omltcat / caddy_labels.md
Last active December 4, 2025 11:17
Caddy with Docker Labels: Easy config for wildcard certs and Authelia

What is this?

One great feature of caddy-docker-proxy is that you can quickly define config rules with Docker Compose labels in each containers on the fly like Traefik, instead of at a centralized place. With this feature, we can define everything in compose files, and don't ever need to mess with a config file (Caddyfile or JSON).

Taking advantage of snippets, I created this docker-compose.yaml example so that you can quickly define routing rules and add authetication like Authelia with just 3 lines of labels below each docker container you use.

With this example, should not ever need to manually edit Caddyfile config.

When you add a new container, you just need to do this:

networks:
@Tschrock
Tschrock / PicartoAPI.md
Last active August 16, 2024 16:12
Documentation for Picarto.tv's API endpoints

The Picarto API

This is unofficial documentation for Picarto.tv's service APIs. I'm not responsible for anything you do with this information; it is provided as is with no guarantees.

==== UPDATE 4/16/2017 ====

It looks like there is an official well-documented api now: https://docs.picarto.tv/api/ Please use that instead!

==========================

@TheAppleFreak
TheAppleFreak / export.txt
Last active November 6, 2017 03:59
Stitches spritesheet
{"settings":{"layout":"compact","prefix":"","padding":"8","uri":false,"stylesheet":"less"},"canvas":{"sprites":{"0":{"name":"amd","src":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMkAAAAwCAYAAAC7W17UAAAMBklEQVR4Xu2dCYxlRRWGbXfFXSOiwQVEQQURlR0cFlERBMQF2RyJiiwZE2PAhUVAUSAaExUFUWcQAkriGgUXhmFxFHFfUMBlVIS4K+64jN/X3jd5/fq9W6fq3tfzbvNOUumeuadOnXNu/beqTp2qnrnTlKYeGLMH1q5duxlNXEF5xJibGov4mbFInQqdemDAA10GyhQk0+68YB7oKlAagwTDD8TLr8/w9O/g3XtmZuY/GXXCrOhzHcwpu06g/cvCQgsZ0eUUqj43UX01uiwbxYOMfXl2cqEKg9X+xn/8k3Ib5VbKGspNlOvQ4ZaW2qgV00WgpDpT0m8YfQ1MOyUZ5zIcyEv5WGadEDv6/DcAkj/Dsys6fCsktIAJPV5BtXMDVS9Fj71rQPIynn0wIKcpy88R8BnKxykrx/URU8muAaURSDB2C2y+vuDtXMNL2KWgXrJKECTK8cu5PXr8Iik0kwEdnkOVT1HuGqg6KSDpV/Vn/OO9FvzjqNM6dQkoTUHyLrx3bKEH7aDXFtYdWS0DJMr4HmVn9PhTW3rQ/pOQ5eh6/6DMSQRJT/Vf84tTvXPxkSN0q9QVoBSDBAPvhcd+SXlgoecuwvEHF9ZtCyTKuZTyPHT5d1Nd8MnDkfEVysYZsiYZJD0zvswvh+Kjn2TYFWLtAlCagKTpXNlOuSmOdy7cGmWOJL12z0MP1xDFRLv3pfLVlCdnCukCSDTp95T98JOjZKs06UBpAhK/mNs19NaZOP34hjLmVC8EiTJeiy5vL9GFNu9CPRe8RqJyqSsg0a6/Uxx1v5hrZIq/Asoq+ByNJ4qKQ
@geelen
geelen / gulpfile.js
Last active October 11, 2017 11:47 — forked from superhighfives/gulpfile.js
Harp with BrowserSync! Woo!
var gulp = require('gulp');
var browserSync = require('browser-sync');
var reload = browserSync.reload;
var harp = require('harp');
/**
* Serve the Harp Site from the src directory
*/
gulp.task('serve', function () {
harp.server(__dirname + '/src', {
anonymous
anonymous / gist:7306338
Created November 4, 2013 17:39
TEST Outfit emblem for BF4. No text, 19 layers.
emblem.emblem.load({
"objects": [
{
"asset": "Circle",
"left": 160,
"top": 160,
"angle": 0,
"width": 304,
"height": 304,
"opacity": 1,