Skip to content

Instantly share code, notes, and snippets.

View bertiebaggio's full-sized avatar

Rob Hallam bertiebaggio

View GitHub Profile
@bertiebaggio
bertiebaggio / preview.user.js
Last active April 15, 2021 15:47 — forked from ItsCinnabar/preview.user.js
Element youtube preview fix
// ==UserScript==
// @name Element youtube preview
// @namespace http://tampermonkey.net/
// @version 0.2
// @description fix the embeds!!
// @author Cinnabar (bertieb for images)
// @match https://example.com/
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant GM.xmlHttpRequest
// @connect youtube.com
@bertiebaggio
bertiebaggio / docker-compose-add.yml
Created April 10, 2020 10:44
Traefik v2 labels example for FoundryVTT in Docker
# Traefik (https://docs.traefik.io/) v2 labels for Foundry VTT in Docker (https://github.com/bertiebaggio/foundryvtt-docker)
# add these to the foundryvtt serice and customise as desired
# Notes: - Be sure to set the Host currectly below
# - Remove '&& PathPrefix(`/foundry`)' if NOT serving from a subdirectory/path
# - If you keep the PathPrefix, you will need to edit Foundry's options.json and set eg "routePrefix": "foundry"
labels:
- "traefik.enable=true"
- "traefik.http.routers.foundryvtt.rule=Host(`rpg.example.com`) && PathPrefix(`/foundry`)"
- "traefik.http.services.foundryvtt.loadbalancer.server.port=30000"
@bertiebaggio
bertiebaggio / windbg_analyze.txt
Created July 3, 2019 11:48
Kodi 18.3 Crash Dump
0:027> !analyze -v
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************
*** WARNING: Unable to verify checksum for python27.dll
KEY_VALUES_STRING: 1
@bertiebaggio
bertiebaggio / 2019-07-01 18-11-48.txt
Last active July 1, 2019 20:14
Stream Glitching Logs
18:11:48.979: CPU Name: Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz
18:11:48.979: CPU Speed: 3299MHz
18:11:48.979: Physical Cores: 6, Logical Cores: 12
18:11:48.979: Physical Memory: 32696MB Total, 27879MB Free
18:11:48.979: Windows Version: 10.0 Build 17763 (revision: 557; 64-bit)
18:11:48.979: Running as administrator: false
18:11:48.979: Aero is Enabled (Aero is always on for windows 8 and above)
18:11:48.979: Windows 10 Gaming Features:
18:11:48.979: Game Bar: Off
18:11:48.979: Game DVR: Off
@bertiebaggio
bertiebaggio / addtotoc-mwe
Last active October 31, 2017 17:09
pdfpages' \includepdf addtotoc 'something wrong with entries' (and log)
------------------------------------
mwe.tex
------------------------------------
\documentclass{article}
\usepackage{pdfpages}
\begin{document}
\includepdf[addtotoc={2,section,1,Clerk-in 1,clerk1}]{./scans/clerkA1.jpg}