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
./ffmpeg \ | |
-i /h/Videos/tape.m2t \ | |
-c:v libx264 -profile:v main -preset:v medium -level 3.1 \ | |
-x264opts crf=15:keyint=24:bframes=0 -aspect 16:9 -f mp4 \ | |
-vf fieldmatch,decimate tape.mp4 |
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
module.exports = { | |
env: { | |
es2020: true, | |
node: true, | |
}, | |
root: true, | |
parser: '@typescript-eslint/parser', | |
parserOptions: { | |
'sourceType': 'module', | |
'tsconfigRootDir': __dirname, |
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
// Node.js implementation of PasswordDeriveBytes from .NET, | |
// which itself is a bastardization of PBKDF1. | |
// | |
// ONLY USE THIS FUNCTION FOR COMPATIBILITY PURPOSES. | |
// DO NOT USE THIS IN NEW CODE-- use crypto.pbkdf2 instead. | |
// | |
// See: | |
// * https://crypto.stackexchange.com/questions/22271/what-is-the-algorithm-behind-passwordderivebytes | |
// * https://referencesource.microsoft.com/#mscorlib/system/security/cryptography/passwordderivebytes.cs | |
function passwordDeriveBytes(password, salt, iterations, len, hashAlgorithm) { |
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
pipeline { | |
agent any | |
parameters { | |
string(name: 'COMMIT_ID', defaultValue: 'd732187cb9c46f7ddb0459f177e4465769e8d2d2', description: 'Who should I say hello to?') | |
} | |
stages { | |
stage('Test build') { | |
steps { | |
githubNotify status: 'PENDING', | |
description: 'Test description', |