Skip to content

Instantly share code, notes, and snippets.

View pblop's full-sized avatar
:shipit:
hehhheheh

pblop

:shipit:
hehhheheh
  • Spain
  • 02:27 (UTC +02:00)
View GitHub Profile
// ==UserScript==
// @name RollTogether Helper
// @namespace http://pabl.eu/
// @version 1.2
// @description try to take over the world!
// @author @pblop
// @match https://www.crunchyroll.com/es/watch/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=crunchyroll.com
// @grant none
// ==/UserScript==
@pblop
pblop / project.docker-compose.yml
Created November 14, 2022 00:38 — forked from hranicka/project.docker-compose.yml
Traefik & multiple docker-compose projects
version: '3'
services:
nginx:
labels:
- "traefik.enable=true"
- "traefik.http.routers.provys-transformer.rule=Host(`www.example.com`)"
- "traefik.http.routers.provys-transformer.tls=true"
networks:
- traefik
@pblop
pblop / sharepoint_id.js
Last active December 10, 2024 11:31
Little snippet to generate a "siteid" for rclone when adding a sharepoint drive as a remote
const pageContext = _spPageContextInfo
const portalName = new URL(pageContext.webAbsoluteUrl).host
const siteId = pageContext.siteId.replace('{', '').replace('}', '')
const webId = pageContext.webId.replace('{', '').replace('}', '')
const resultId = `${portalName},${siteId},${webId}`
window.prompt(`Copy this id and use it in rclone`, resultId)