This file contains hidden or 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
from socket import * | |
import threading | |
import sys | |
import os | |
import time | |
from datetime import datetime | |
import readline | |
class Colors: | |
HEADER = '\033[95m' |
This file contains hidden or 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
root@tdarr-ubuntu-22-unprivileged:/mnt/media-and-fetching/media/isolated-test# time qsvencc --device auto --codec av1 --avhw --la-icq 25 --output-depth 10 --fixed-func --va --quality best --la-depth 80 --la-window-size 0 --la-quality auto --tune perceptual --scenario-info archive --extbrc --i-adapt --b-adapt --bframes 10 --b-pyramid --adapt-ltr --adapt-cqm --ref 8 --gop-len 350 --gop-ref-dist 16 --trellis auto --level auto --profile auto --colorrange auto --colormatrix auto --colorprim auto --transfer auto --chromaloc auto --max-cll copy --master-display copy --video-metadata copy --audio-copy --chapter-copy --sub-copy --metadata copy --gpu-copy --output-thread -1 --log-level app=debug --avoid-idle-clock off -i input.mkv -o outp | |
ut.mkv 2>&1 | tee output.log | |
-------------------------------------------------------------------------------- | |
output.mkv | |
-------------------------------------------------------------------------------- | |
QSVEncC 7.68 (x64) | |
OS Ubuntu 22.04.4 LTS (6.8.8-3-pve) x64 | |
CPU Info 12th |
This file contains hidden or 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
root@tdarr-ubuntu-22-privileged:/mnt/media-and-fetching/media/isolated-test# time qsvencc --device auto --codec av1 --avhw --la-icq 25 --output-depth 10 --fixed-func --va --quality best --la-depth 80 --la-window-size 0 --la-quality auto --tune perceptual --scenario-info archive --extbrc --i-adapt --b-adapt --bframes 10 --b-pyramid --adapt-ltr --adapt-cqm --ref 8 --gop-len 350 --gop-ref-dist 16 --trellis auto --level auto --profile auto --colorrange auto --colormatrix auto --colorprim auto --transfer auto --chromaloc auto --max-cll copy --master-display copy --video-metadata copy --audio-copy --chapter-copy --sub-copy --metadata copy --gpu-copy --output-thread -1 --log-level app=debug -i input.mkv -o output.mkv 2>&1 | tee output.log | |
-------------------------------------------------------------------------------- | |
output.mkv | |
-------------------------------------------------------------------------------- | |
QSVEncC 7.68 (x64) | |
OS Ubuntu 22.04.4 LTS (6.8.8-3-pve) x64 | |
CPU Info 12th Gen Intel Core i5-12600K |
This file contains hidden or 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
{ | |
"name": "AV1", | |
"description": "AV1", | |
"tags": "", | |
"flowPlugins": [ | |
{ | |
"name": "Replace Original File", | |
"sourceRepo": "Community", | |
"pluginName": "replaceOriginalFile", | |
"version": "1.0.0", |
This file contains hidden or 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
import argparse | |
import os | |
import re | |
def merge_ranges(ranges): | |
ranges = sorted(set(ranges)) | |
merged = [ranges[0]] | |
for start, end in ranges[1:]: | |
if start - 1 <= merged[-1][1]: |
This file contains hidden or 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 <iostream> | |
#include <vector> | |
// FFmpeg | |
extern "C" { | |
#include <libavcodec/avcodec.h> | |
#include <libavformat/avformat.h> | |
#include <libavutil/avutil.h> | |
#include <libavutil/pixdesc.h> | |
#include <libswscale/swscale.h> | |
} |
This file contains hidden or 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
print(r" ,#####, ") | |
print(r" #_ _# ") | |
print(r" |a` `a| ") | |
print(r" | u | reb i miss u") | |
print(r" \ \ = / / ") | |
print(r" \ )___( / ") | |
print(r" \-| |-/ ") | |
print(r" | | ") | |
print(r" |___| ") | |
print(r" / \ ") |
This file contains hidden or 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
import curses | |
# Define the ASCII art for the heart shapes | |
left_heart = [ | |
" __________ " , | |
" / \\", | |
"| __ __ |", | |
"| / \\ / \\ |", | |
"| \\__/ \\__/ |", | |
" \\ /", |
This file contains hidden or 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
// global variables | |
const int DELAY = 1000; // 1 second | |
// Switch | |
const int SWITCH_INPUT_PIN = 2; | |
const int SWITCH_OUTPUT_PIN = 3; | |
// Breaklight | |
const int BREAKLIGHT_INPUT_PIN = 4; |
This file contains hidden or 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
#! /usr/bin/env bash | |
# hello message for my love | |
echo "Hello, my love!" | |
echo "Hi cute girl, I love you reb <3" | |
echo "I am going to install a few things for you :)" | |
echo "I hope you like it :)" | |
echo "" | |
echo "Okay, so first we are going to install a thing called vim-plug" | |
echo "This allows you to install plugins easily into vim !!!" |
NewerOlder