Compare commits

..

No commits in common. "6df4a1e5069b092c53d3d5278fcf3122c3b310eb" and "f70bc8b9cd193020bcf867b901617c6c742d496f" have entirely different histories.

3 changed files with 12 additions and 36 deletions

27
aliases
View File

@ -365,7 +365,7 @@ function my_transcribe_video() {
# catches most words. Small and medium can do better word detection at
# times, but suffer from bad punctuation. Medium is particularly bad and
# not adding commas and periods.
transcribe-video "$file" "$output" tiny base
transcribe-video "$file" "$output" base tiny
}
function my_transcribe_video_all_models() {
@ -517,11 +517,9 @@ download_youtube_playlist_list() {
}
download_youtube_uploads_list() {
local include_descriptions="$1"
local url="$2"
local output_name="$3"
shift 3
local url="$1"
local output_name="$2"
shift 2
local opts="$@"
if [[ $url == "" || $output_name == "" ]]; then
@ -529,16 +527,9 @@ download_youtube_uploads_list() {
return
fi
local cmd=""
if [[ $include_descriptions == "1" ]]; then
printf "${BOLD}Downloading Youtube uploads list with descriptions\n\n${NORMAL}"
cmd="yt-dlp.exe --ignore-errors -O \"@@@ %(video_autonumber)s-%(upload_date>%Y-%m-%d)s--%(title)s--%(id)s\" --skip-download --get-description $opts $url"
else
printf "${BOLD}Downloading Youtube uploads list\n\n${NORMAL}"
cmd="yt-dlp.exe --ignore-errors -O \"%(video_autonumber)s-%(upload_date>%Y-%m-%d)s--%(title)s--%(id)s\" --skip-download $opts $url"
fi
local cmd="yt-dlp.exe --ignore-errors -O \"%(video_autonumber)s-%(upload_date>%Y-%m-%d)s--%(title)s--%(id)s\" --skip-download $opts $url"
eval $cmd 1>"${output_name}.txt" # Need to eval in order to preserve the quotes wrapping the filename format string.
printf "${BOLD}Finished downloading the upload list\n${NORMAL}"
@ -927,8 +918,7 @@ download_from_m3u8() {
#-------------------------------------------------
# YouTube Vid DL
#-------------------------------------------------
alias yt-list='download_youtube_uploads_list 0 '
alias yt-list-desc='download_youtube_uploads_list 1 '
alias yt-list='download_youtube_uploads_list '
alias yt='download_youtube_vid "" $SHORTNAME_OFF $TRANSCRIBE_OFF'
alias yt-shortname='download_youtube_vid "" $SHORTNAME_ON $TRANSCRIBE_OFF'
@ -1136,7 +1126,7 @@ alias gaup='git add --update -p'
alias gb='git branch -v'
alias gbb='git bisect bad'
alias gbd='git branch -D'
alias gbdr='git branch -Dr' # Delete a remote tracking branch; useful when the remote no longer exists and branch pruning isn't removing the lingering tracking branches.
alias gbdr='git branch -Dr'
alias gbg='git bisect good'
alias gbl='git branch --all'
alias gblm='git blame -wMC'
@ -1237,11 +1227,10 @@ alias gsp3='git stash pop stash@{3}'
alias gsp4='git stash pop stash@{4}'
alias gsp5='git stash pop stash@{6}'
alias gsp6='git stash pop stash@{7}'
alias gt='git tag' # Unsigned
alias gt='git tag -s' # Signed
alias gta='git tag -a'
alias gtd='git tag -d'
alias gtl='git tag -l'
alias gts='git tag -s' # Signed
alias gx='git reset --hard'
alias gxx='git reset --hard HEAD~1'
alias gxom='git reset --hard origin/master'

View File

@ -1,4 +0,0 @@
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager]
"DisableWpbtExecution"=dword:00000001

View File

@ -1,15 +1,6 @@
# Windows Setup
* Make a system restore point after a fresh install.
* Disable Windows Platform Binary Table
* This is a system Windows made for hardware vendors to inject firmware to the OS drive, running it at boot time.
It's a huge security hole! Vendors can do things like download software, auto update the mobo firmware, etc.
In 2023, Gigabyte was caught using this to download exe's from their server over an http connection! (keep in mind
that they're corporate systems have been hacked multiple times in the last year). Anyway, this feature is fucking
dumb and you can be sure that all mobo vendors are using this stupid shit. I don't blame them though since Microsoft
built this for them. There's no way to stop this from happening other than to disable the platform entirely.
* Run `disable-windows-platform-binary-table.reg` and reboot.
* Make a system restore point after a fresh install
* Change PC name and reboot
* Open settings -> System -> About -> Rename this PC