Skip to content

Instantly share code, notes, and snippets.

View flozz's full-sized avatar

Fabien LOISON flozz

View GitHub Profile
@flozz
flozz / gtk_themes_helpers.py
Created June 27, 2021 13:21
Helpers to deal with GTK 3 themes in Python / PyGObject
"""
This module contains helpers to deal with GTK 3 themes in Python / PyGObject.
Dependencies
------------
* Python 3
* PyGObject
* GLib, Gio and GTK with introspection files
@flozz
flozz / greasemonkey_notion_lock_page_fr.js
Last active July 30, 2025 14:04
Lock all visited pages on Notion.io
// ==UserScript==
// @name Notion - Lock pages (FR)
// @include *://www.notion.so/*/*
// @version 2
// @grant none
// ==/UserScript==
// I am bored that nobody lock pages on Notion. Edition mode interferes with my
// VIM plugin and I accidentally modify pages instead of navigating...
//
@flozz
flozz / ftl-checker.py
Last active June 6, 2025 09:06
Quick and dirty Fluent (FTL) checker
#!/usr/bin/env python3
"""
ftl-checker.py - Quick and dirty Fluent (FTL) checker.
DEPENDENCIES:
pip install fluent-compiler
USAGE: