Skip to content

Instantly share code, notes, and snippets.

Avatar

Rob Hallam bertiebaggio

View GitHub Profile
@bertiebaggio
bertiebaggio / preview.user.js
Last active Apr 15, 2021 — forked from ItsCinnabar/preview.user.js
Element youtube preview fix
View preview.user.js
// ==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 Apr 10, 2020
Traefik v2 labels example for FoundryVTT in Docker
View docker-compose-add.yml
# 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"
View windbg_analyze.txt
0:027> !analyze -v
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************
*** WARNING: Unable to verify checksum for python27.dll
KEY_VALUES_STRING: 1
View 2019-07-01 18-11-48.txt
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 Oct 31, 2017
pdfpages' \includepdf addtotoc 'something wrong with entries' (and log)
View addtotoc-mwe
------------------------------------
mwe.tex
------------------------------------
\documentclass{article}
\usepackage{pdfpages}
\begin{document}
\includepdf[addtotoc={2,section,1,Clerk-in 1,clerk1}]{./scans/clerkA1.jpg}