Skip to content

Instantly share code, notes, and snippets.

@agentlame
agentlame / comskip.ini
Created November 12, 2018 14:55
Default comskip file for Plex Media Server
; See comskip.txt in the distribution zip file for many settable parameters, read manual.html, tuning.html and debugwindow.html for how to tune and debug comskip
detect_method=43 ; 1=black frame, 2=logo, 4=scene change, 8=fuzzy logic, 16=closed captions, 32=aspect ration, 64=silence, 128=cutscenes, 255=all
validate_silence=1 ; Default, set to 0 to force using this clues if selected above.
validate_uniform=1 ; Default, set to 0 to force using this clues (like pure white frames) if blackframe is selected above.
validate_scenechange=1 ; Default, set to 0 to force using this clues if selected above.
verbose=10 ; show a lot of extra info, level 5 is also OK, set to 0 to disable
max_brightness=60 ; frame not black if any pixels checked are greater than this (scale 0 to 255)
test_brightness=40 ; frame not pure black if any pixels checked are greater than this, will check average brightness (scale 0 to 255)
max_avg_brightness=25 ; maximum average brightness for
<TaskerData sr="" dvi="1" tv="5.1m">
<Profile sr="prof16" ve="2">
<cdate>1517125544189</cdate>
<clp>true</clp>
<edate>1517784679219</edate>
<id>16</id>
<mid0>15</mid0>
<nme>Airdroid</nme>
<Event sr="con0" ve="2">
<code>1520257414</code>
@agentlame
agentlame / plexlareredit.user.js
Last active March 15, 2018 14:16
Larger edit window in Plex
// ==UserScript==
// @name Larger edit window in Plex
// @namespace https://www.reddit.com/r/PleX/comments/84fr62/_/dvp5xmc/
// @version 0.2
// @description Same as the name.
// @author /u/CuedUp
// @match *://app.plex.tv/desktop*
// @grant none
// ==/UserScript==
function nukecomments() {
// Adapted from:
// ==UserScript==
// @name Reddit Mod Nuke Userscript
// @version 6.283.185.307
// @include htt*://*.reddit.com/*
// @author djimbob (dr jimbob)
// @downloadURL https://github.com/agentlame/Reddit-Mod-Nuke-Userscript/raw/master/modnuke.user.js
// @description This userscript helps reddit moderators delete threads.
@agentlame
agentlame / flyingsnoo.user.js
Created October 25, 2014 12:37
Flying Snoo for reddit by @LowSociety -- You'll need Tampermonkey (Chrome) or Greasemonkey (Firefox) then click 'raw' to install it. It only works at the bottom of user pages, but that can be easily changed. Bonus: this is the version where you can kill Snoo. >:)
// ==UserScript==
// @name Flying Snoo
// @namespace http://reddit.com/user/LowSociety
// @version 1.0.2
// @description snoo + fly
// @match *://*.reddit.com/*
// @copyright 2014+, LowSociety
// ==/UserScript==
// ==UserScript==
// @name Reddit Mod Nuke Userscript
// @version 3.141.592.653
// @include htt*://*.reddit.com/*
// @author djimbob (dr jimbob)
// @description This userscript helps reddit moderators delete threads.
// ==/UserScript==
delete_function = function(thread_root) {
var elmnts = document.getElementsByClassName('id-'+thread_root)[0].querySelectorAll('form input[value="removed"]~span.option.error a.yes,a[onclick^="return big_mod_action($(this), -1)"]');
function removePopup() {
popup.remove();
$body.css('overflow', 'auto');
return;
}
if (reasonlength < 1) return removePopup();
// ==UserScript==
// @name Reset Toolbox
// @namespace reddit.com/r/toolbox
// @description enter something useful
// @include http://*.reddit.com/r/tb_reset/comments/26jwfh/click_here_to_reset_all_your_toolbox_settings/
// @version 1.0
// ==/UserScript==
(function() {
Object.keys(localStorage)
@agentlame
agentlame / modtools.user.js
Last active August 29, 2015 14:01
modtools patch
// ==UserScript==
// @name reddit.com - Mod tools
// @namespace v5.2.1
// @include http://www.reddit.com/*
// @run-at document-start
// ==/UserScript==
function modtools() {
var notEnabled = [''];
@agentlame
agentlame / flowwit.user.js
Created May 14, 2014 22:11
flowwit for toolbox 2.1
// ==UserScript==
// @name reddit.com - flowwit
// @namespace v3.1 (Toolbox)
// @include http://www.reddit.com*
// ==/UserScript==
function main(){
// Bail if this is the last/only page of the listing.
if( !$('.nextprev a[rel*=next]').length ) return;