Skip to content

Instantly share code, notes, and snippets.

@RRvW
RRvW / tnetcommendsfix.user.js
Last active August 29, 2015 14:13
Tnet commends fixer
// ==UserScript==
// @name Tweakers comments fixer
// @namespace tnet.fixer
// @description Forces time ascending comments layout and hides all moderations
// @include *tweakers.net*
// @version 0.2.2-beta
// @grant none
// @downloadURL https://gist.github.com/RRvW/fd58841de9570ab1b545/raw/tnetcommendsfix.user.js
// ==/UserScript==
function addGlobalStyle(css) {
@RRvW
RRvW / convert_script.lua
Last active September 27, 2017 05:04
MPV webm/h264/gif convert script
-- README:
-- original version by Zehkul and others https://gist.github.com/Zehkul/25ea7ae77b30af959be0
-- convert script for mpv, just throw it into ~/.mpv/scripts/
-- needs: yad, libnotify and at least mpv 0.4
-- press alt + w to make a webm/gif/h264 clip
local msg = require 'mp.msg'
local opt = require 'mp.options'
local mputils = require 'mp.utils'