ffmpeg cheatsheet
Docs (ffmpeg manual - Codecs - Filters) - Wiki
Combine files
See https://trac.ffmpeg.org/wiki/Concatenate
Trim to timestamps
To cut a video from 00:11:22 to 00:33:44:
ffmpeg -i INFILE -ss 00:11:22 -to 00:33:44 -c copy outfile
<?php | |
/** | |
* deploy.php by Hayden Schiff (oxguy3) | |
* Available at https://gist.github.com/oxguy3/70ea582d951d4b0f78edec282a2bebf9 | |
* | |
* No rights reserved. Dedicated to public domain via CC0 1.0 Universal. | |
* See https://creativecommons.org/publicdomain/zero/1.0/ for terms. | |
*/ | |
// random string of characters; must match the "Secret" defined in your GitHub webhook |
#!/usr/bin/env python3 | |
# | |
# MIT License | |
# | |
# Copyright 2020 Hayden Schiff | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
// ==UserScript== | |
// @name Dark Horse Downloader | |
// @namespace http://schiff.io/ | |
// @version 0.1 | |
// @description Download a DRM-free copy of your Dark Horse digital comics. | |
// @author Hayden Schiff (oxguy3) | |
// @match https://digital.darkhorse.com/read/* | |
// @match https://digital.darkhorse.com/bookshelf* | |
// @include https://*.cloudfront.net/* | |
// @grant GM_xmlhttpRequest |
Docs (ffmpeg manual - Codecs - Filters) - Wiki
See https://trac.ffmpeg.org/wiki/Concatenate
To cut a video from 00:11:22 to 00:33:44:
ffmpeg -i INFILE -ss 00:11:22 -to 00:33:44 -c copy outfile
#! /usr/bin/env python3 | |
from lxml import etree | |
import requests | |
import argparse | |
import csv | |
from pprint import pprint | |
import time | |
import urllib3 | |
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) |
[Adblock Plus 2.0] | |
! Title: oxguy3's adblocking filters | |
! Expires: 1 hour | |
! Homepage: https://gist.github.com/oxguy3/dda7958f7da766eed9fa | |
! Licence: http://www.wtfpl.net/txt/copying/ | |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | |
!! smooth scrolling | |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
// ==UserScript== | |
// @name RoughScroll | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Disables smooth scrolling on ALL websites | |
// @author Hayden Schiff (oxguy3) | |
// @match *://*/* | |
// @grant none | |
// ==/UserScript== | |
/* jshint -W097 */ |
Some of the best open directories I know of:
// ==UserScript== | |
// @name ArchiveTeam tracker log cleaner | |
// @namespace https://schiff.io/ | |
// @version 0.1 | |
// @description make the log for the AT tracker a little bit easier to read | |
// @author Hayden Schiff (oxguy3) | |
// @match http://tracker-test.ddns.net/* | |
// @match http://tracker.archiveteam.org/* | |
// @grant none | |
// ==/UserScript== |
#!/bin/bash | |
function run8451eir | |
{ | |
if [ -a ~/Library/LaunchAgents/local.8451login.plist ]; then | |
promptun="$(osascript -e 'Tell application "System Events" to display dialog "Looks like 84.51 EiR Utility is already installed; do you want to uninstall it?" default button 1 buttons {"Yes", "No"} with icon caution' 2>/dev/null)" | |
if [ "$promptun" = "button returned:Yes" ]; then | |
rm ~/Library/Application\ Support/8451login.sh | |
launchctl unload ~/Library/LaunchAgents/local.8451login.plist |