This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.CodeMirror-code { | |
font-size: 15px; | |
} | |
.scripts { | |
contain: strict; | |
display: block !important; | |
} | |
.tab-installed .script { | |
display: flex; | |
align-items: center; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************************************************* CODEMIRROR */ | |
/* Based on Sublime Text's Monokai theme */ | |
.cm-s-eclipse.CodeMirror { | |
color: #8a8a8a; | |
background: #222; | |
} | |
.cm-s-eclipse div.CodeMirror-selected { | |
background: #49483e; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright (c) 2013 Pieroxy <pieroxy@pieroxy.net> | |
// This work is free. You can redistribute it and/or modify it | |
// under the terms of the WTFPL, Version 2 | |
// For more information see LICENSE.txt or http://www.wtfpl.net/ | |
// | |
// For more information, the home page: | |
// http://pieroxy.net/blog/pages/lz-string/testing.html | |
// | |
// LZ-based compression algorithm, version 1.4.4 | |
var LZString = (function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <windows.h> | |
#include <shlwapi.h> | |
#include <strsafe.h> | |
#pragma optimize("gsy", on) | |
#pragma comment(linker, "/ENTRY:start") | |
#pragma comment(linker, "/NODEFAULTLIB:no") | |
void reuseRunningInstance(HWND hST) { | |
int argc; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!python3 | |
import sys, re, bisect, collections, argparse | |
def run(): | |
parser = HelpfulParser() | |
parser.add_argument('qpfile', type=argparse.FileType('r'), | |
help='the source qp file') | |
parser.add_argument('timecodesfile', type=argparse.FileType('r'), | |
help='the source timecodes v1 file') | |
parser.add_argument('chaptersfile', type=argparse.FileType('w'), nargs='?', default=sys.stdout, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export script_name = 'Delete keyframe' | |
export script_description = 'Delete keyframe from a loaded "keyframe format v1" file' | |
aegisub.register_macro script_name, script_description, (subs) -> | |
local kf_file | |
error 'Load video first.' if not aegisub.frame_from_ms 0 | |
info_section_scanned = false | |
for line in *subs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#IfWinActive,ahk_class wxWindowNR,sashWindow | |
!`::ControlClick,wxWindowNR12 | |
#IfWinActive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function fixdupfield( clip c, int "thr" ) | |
{ | |
thr = default(thr,4) | |
s = c.separatefields() | |
m = mt_lutxy(s.selecteven, s.selectodd, "x y - abs "+string(thr)+" - 255 *") | |
\ .removegrain(4,-1).mt_expand.mt_inpand.mt_inpand.removegrain(4,-1) | |
conditionalfilter(m,c.nnedi3,c,"YPlaneMax","==","0") | |
mergechroma(c) | |
} |