Skip to content

Instantly share code, notes, and snippets.

View thoughtsunificator's full-sized avatar
🧙‍♂️
Working on a new project

Romain Lebesle thoughtsunificator

🧙‍♂️
Working on a new project
View GitHub Profile
This is unaceptable.
@thoughtsunificator
thoughtsunificator / script.user.js
Last active February 5, 2025 01:54
[userscript] Please not discourse again
// ==UserScript==
// @name Please not discourse again
// @namespace Violentmonkey Scripts
// @match *://*/*
// @grant none
// @version 1.0
// @author -
// @description 2/5/2025, 2:35:16 AM
// ==/UserScript==
@thoughtsunificator
thoughtsunificator / script.user.js
Created February 5, 2025 01:38
[userscript] Duckduckgo Search Results Filter
// ==UserScript==
// @license MIT
// @copyright Copyright (c) 2019, Romain Lebesle <[email protected]> (https://thoughtsunificator.me)
// @namespace https://thoughtsunificator.me
// @name Duckduckgo Search Results Filter
// @author Romain Lebesle <[email protected]> (https://thoughtsunificator.me)
// @homepageURL https://thoughtsunificator.me/
// @supportURL https://thoughtsunificator.me/
// @version 1.3
// @description Duckduckgo Blacklist Results
@thoughtsunificator
thoughtsunificator / script.user.js
Created February 5, 2025 01:37
[userscript] Block ads on Youtube
// ==UserScript==
// @license MIT
// @copyright Copyright (c) 2019, Romain Lebesle <[email protected]> (https://thoughtsunificator.me)
// @namespace https://thoughtsunificator.me
// @name Block ads on Youtube
// @author Romain Lebesle <[email protected]> (https://thoughtsunificator.me)
// @supportURL https://thoughtsunificator.me/
// @version 1.2
// @description Block ads on Youtube
// @run-at document-start
@thoughtsunificator
thoughtsunificator / script.user.js
Created February 5, 2025 01:37
[userscript] Google Search Results Filter
// ==UserScript==
// @license MIT
// @copyright Copyright (c) 2019, Romain Lebesle <[email protected]> (https://thoughtsunificator.me)
// @namespace https://thoughtsunificator.me
// @name Google Search Results Filter
// @author Romain Lebesle <[email protected]> (https://thoughtsunificator.me)
// @homepageURL https://thoughtsunificator.me/
// @supportURL https://thoughtsunificator.me/
// @version 1.0
// @description Google Blacklist Results
@thoughtsunificator
thoughtsunificator / Dockerfile
Created January 10, 2025 07:33
Plex unspoil sports videos
# 3.21.1
FROM alpine@sha256:b97e2a89d0b9e4011bb88c02ddf01c544b8c781acf1f4d559e7c8f12f1047ac3
RUN apk add --update \
python3=3.12.8-r1 \
py3-pip=24.3.1-r0 \
&& rm -rf /var/cache/apk/*
RUN pip install --break-system-packages plexapi==4.16.1 websocket-client==1.8.0
@thoughtsunificator
thoughtsunificator / Dockerfile
Last active January 24, 2025 19:02
Samba 4.20 as a containerized server
# 3.21.1
FROM alpine@sha256:b97e2a89d0b9e4011bb88c02ddf01c544b8c781acf1f4d559e7c8f12f1047ac3
ARG SAMBA_USER=cloud
ARG SAMBA_PASSWORD="r7YOFnt/m49lROpYiGSAqJhkJAgoymV0F8Rnq1aZOCI="
RUN apk add --update \
samba-common-tools=4.20.6-r1 \
samba-client=4.20.6-r1 \
samba-server=4.20.6-r1 \
@thoughtsunificator
thoughtsunificator / disable-print-preview-chrome.sh
Last active January 1, 2025 22:50
Disable print preview chrome / Enable system dialog for printing
mkdir -p /etc/opt/chrome/policies/managed
cat > /etc/opt/chrome/policies/managed/disable-print-preview.json <<EOF
{
"DisablePrintPreview": true
}
EOF
@thoughtsunificator
thoughtsunificator / userChrome.css
Last active August 6, 2024 22:41
Firefox userChrome to autohide Sideberry panel
/* Based on https://gist.github.com/BrianGilbert/1ad7e3931406f485a86a35aefb0aa1b1 */
#main-window:has(#mainPopupSet:hover) #sidebar-box,
#main-window:has(#appcontent:hover) #sidebar-box {
width: 0!important;
min-width: 0!important;
}
@thoughtsunificator
thoughtsunificator / main.js
Created February 18, 2024 22:03
Allow installing of unsigned web extensions in Firefox
let { XPIDatabase } = ChromeUtils.import('resource://gre/modules/addons/XPIDatabase.jsm', {});
XPIDatabase.isDisabledLegacy = (addon) => false;
XPIDatabase.mustSign = (aType) => false;