- Some must-have scripts
/script install buffers.pl buffer_autoclose.py iset.pl go.py colorize_nicks.py
#!/usr/bin/perl | |
# midam: Message-Id git am | |
# Author: Emily Shaffer (@nasamuffin) | |
# | |
# Applies patches based on a Message-Id. | |
# If the Message-Id provided is a cover letter ([PATCH 0/]), apply all | |
# messages with In-Reply-To: <ID> instead. | |
use autodie; |
#!/usr/bin/env python | |
# -*- coding: utf-8 vi:noet | |
# Dump a clear-text version of an SSH key from gpg-agent | |
__author__ = "Jérôme Carretero <cJ-tub@zougloub.eu>" | |
__licence__ = "MIT" | |
import sys, io, subprocess, re, ctypes | |
libgcrypt = ctypes.CDLL("libgcrypt.so") |
-- requires subliminal, version 1.0 or newer | |
-- default keybinding: b | |
-- add the following to your input.conf to change the default keybinding: | |
-- keyname script_binding auto_load_subs | |
local utils = require 'mp.utils' | |
function load_sub_fn() | |
subl = "/usr/local/bin/subliminal" -- use 'which subliminal' to find the path | |
mp.msg.info("Searching subtitle") | |
mp.osd_message("Searching subtitle") | |
t = {} |