Skip to content

Instantly share code, notes, and snippets.

@ljb
ljb / README.md
Last active March 6, 2025 18:26 — forked from PotatoesMaster/fdfmdaemon.py
Using vifm to opening a file directly from the Firefox download manager

Description

A simple daemon implementing freedesktop.org's file manager interface. This interface is used by Firefox download manager to select a downloaded file in the file manager (since Firefox 28).

Paths

The vifm.service file should be put in the ~/.local/share/dbus-1/services directory.

The vifm-service.py file can be put anywhere as long as the same path is used in vifm.service`.

@vogler
vogler / sound.stories.instagram.tamper.js
Last active January 7, 2024 16:26
Tampermonkey: Instagram: enable sound in stories
// ==UserScript==
// @name Instagram: unmute stories
// @namespace https://gist.github.com/vogler
// @downloadURL https://gist.github.com/vogler/275939bf98efa9ccfd204c0145e1e658/raw/sound.stories.instagram.tamper.js
// @version 0.8
// @description Clicks the button to enable sound in stories. I want to have sound by default, but there's no option. Clicking it manually everytime is annoying and you can't even click it before you reach a story with sound.
// @author Ralf Vogler
// @match https://www.instagram.com/*
// only needed for https://www.instagram.com/stories/*, but that would only execute it on reload, not if clicked on a story from the start page (router just changes the URL)
// @grant none