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
#!/usr/bin/env python | |
import os, os.path, stat, sys, base64 | |
# TOTP lib inlined | |
import time, hmac, base64, hashlib, struct | |
def pack_counter(t): | |
return struct.pack(">Q", t) |
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
Linux Advanced Routing & Traffic Control HOWTO | |
"A very hands-on approach to iproute2, traffic shaping and a bit of netfilter." | |
https://berthub.eu/lartc/ |
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
List of tools to create Live USB systems | |
https://en.wikipedia.org/wiki/List_of_tools_to_create_Live_USB_systems | |
A collection of free single-purpose online tools for web developers... | |
https://tiny-helpers.dev/ | |
A list of free, self-hosted software in different categories | |
https://github.com/awesome-selfhosted/awesome-selfhosted | |
A list of AWESOME everything, like self-hosted (as above), just of anything |
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
rulesets for uorigin and umatrix to prevent 3rd party scripts access local ports | |
https://www.privacy-handbuch.de/handbuch_21g.htm | |
Lots of to do if you want to use Firefox with privacy aspects | |
https://wiki.archlinux.org/title/Firefox/Privacy |
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
https://github.com/lutris | |
https://github.com/CodingTrain |
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
#With the help of this script you can download parts from the Youtube Video that is live streamed, from start of the stream till the end | |
import urllib.request | |
import os | |
#E.G: "https://r4---sn-gqn-p5ns.googlevideo.com/videoplayback?expire=1603041842& ..... 2.20201016.02.00&sq=" | |
#The sound link should contain: &mime=audio in it. | |
#Here's an example from NASA LIVE: | |
#VIDEO: https://r5---sn-gqn-p5ns.googlevideo.com/videoplayback?expire=1603165657&ei=eQmOX8TeFtS07gO1xLWwDA&ip=79.115.11.159&id=DDU-rZs-Ic4.1&itag=137&aitags=133%2C134%2C135%2C136%2C137%2C160&source=yt_live_broadcast&requiressl=yes&mh=PU&mm=44%2C29&mn=sn-gqn-p5ns%2Csn-c0q7lnsl&ms=lva%2Crdu&mv=m&mvi=5&pl=20&initcwndbps=1350000&vprv=1&live=1&hang=1&noclen=1&mime=video%2Fmp4&gir=yes&mt=1603143920&fvip=5&keepalive=yes&fexp=23915654&c=WEB&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Clive%2Chang%2Cnoclen%2Cmime%2Cgir&sig=AOq0QJ8wRQIgQMnxy1Yk3HLTpqbOGmjZYH1CXCTNx6u6PgngAVGi4EQCIQDWyaye-u_KGyVQ0HRUsyKVaAzyXbmzDqOGVGpIyP7VtA%3D%3D&lspa |
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
#!/bin/sh | |
# ffmpeg combine seperate audio and video files into a single video | |
# copy the audio and video tracks | |
ffmpeg -i audio.aiff -i video.mov -acodec copy -vcodec copy -f mp4 avcombined.mp4 | |
# encode the audio as aac and copy the video track without encoding it. if its the h264 codec | |
ffmpeg -i audio.aiff -i video.mov -acodec libfaac -ac 2 -ar 48000 -ab 160k -vcodec copy -f mp4 avcombined.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
/* if android broke your video record because storage is full; use the untrunc fork from anthwlock https://github.com/anthwlock/untrunc */ | |
untrunc -sv you_need_a_working_video_as_reference_from_your_device.mp4 your_android_broken_video.mp4 | |
/* delete metadata, good before you publish something; does not work with pdf */ | |
exiftool -all= input.mp4 | |
ffmpeg -i input.mp4 -map 0 -map_metadata -1 -c copy output.mp4 | |
/** | |
* "best" mean video and audio in once file - sometimes it will smaler (because only subset are avaible as once) | |
* but it is much more accurate in sync; |
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
// Request settings from the extension's localStorage and kick things off | |
chrome.extension.sendRequest({type: "getprefs"}, function(response) | |
{ | |
cachedSettings = response; | |
init(); | |
}); |
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
@echo off | |
REM simple to update source packs once for all your installs; here it is in "C:\Minecraft\Source Packs" | |
mklink /j "C:\Users\<you>\AppData\Roaming\.minecraft\resourcepacks" "C:\Minecraft\Source Packs" | |
mklink /j "C:\Minecraft\Feed the Beast Launcher\Minecraft Installs\FTBUltimateReloaded\minecraft\resourcepacks" "C:\Minecraft\Source Packs" | |
mklink /j "C:\Minecraft\TechnicLauncher\Install\.technic\modpacks\tekkitmain\resourcepacks" "C:\Minecraft\Source Packs" | |
REM to delete the junction use follow e.g.: | |
REM rmdir "C:\Minecraft\TechnicLauncher\Install\.technic\modpacks\tekkitmain\resourcepacks" |
OlderNewer