Compare commits

...

2 Commits

Author SHA1 Message Date
3d5b394e23 Update aliases 2024-09-15 22:02:55 -04:00
6136c20390 Update Windows readme 2024-09-15 22:02:43 -04:00
3 changed files with 15 additions and 4 deletions

View File

@ -1071,6 +1071,7 @@ alias yt-list-desc='download_youtube_uploads_list 1 '
alias yt='download_youtube_vid "" $SHORTNAME_OFF $TRANSCRIBE_OFF' alias yt='download_youtube_vid "" $SHORTNAME_OFF $TRANSCRIBE_OFF'
alias yt-shortname='download_youtube_vid "" $SHORTNAME_ON $TRANSCRIBE_OFF' alias yt-shortname='download_youtube_vid "" $SHORTNAME_ON $TRANSCRIBE_OFF'
alias yt-1440='download_youtube_vid "620+140" $SHORTNAME_OFF $TRANSCRIBE_OFF' alias yt-1440='download_youtube_vid "620+140" $SHORTNAME_OFF $TRANSCRIBE_OFF'
alias yt-1440p60='download_youtube_vid "400+140" $SHORTNAME_OFF $TRANSCRIBE_OFF'
alias yt-1440-shortname='download_youtube_vid "620+140" $SHORTNAME_OFF $TRANSCRIBE_OFF' alias yt-1440-shortname='download_youtube_vid "620+140" $SHORTNAME_OFF $TRANSCRIBE_OFF'
alias yt-1080='download_youtube_vid "137+140" $SHORTNAME_OFF $TRANSCRIBE_OFF' alias yt-1080='download_youtube_vid "137+140" $SHORTNAME_OFF $TRANSCRIBE_OFF'
alias yt-1080-shortname='download_youtube_vid "137+140" $SHORTNAME_ON $TRANSCRIBE_OFF' alias yt-1080-shortname='download_youtube_vid "137+140" $SHORTNAME_ON $TRANSCRIBE_OFF'
@ -1215,6 +1216,8 @@ alias compress-video-hard='_compress_video_hard'
alias cv='compress-video' alias cv='compress-video'
alias cvh='compress-video-hard' alias cvh='compress-video-hard'
alias jv='join-video' alias jv='join-video'
alias av='analyze-volume'
alias aa='analyze-volume'
alias nv='normalize-volume' alias nv='normalize-volume'
alias na='normalize-volume' alias na='normalize-volume'
alias tv='trim-video' alias tv='trim-video'

4
.vimrc
View File

@ -923,6 +923,8 @@ noremap <leader>gm :call CtrlP_JaiSearch('modules')<cr> " Search in Jai modules
noremap <leader>gh :call CtrlP_JaiSearch('how_to')<cr> " Search in Jai how_to noremap <leader>gh :call CtrlP_JaiSearch('how_to')<cr> " Search in Jai how_to
noremap <leader>ge :call CtrlP_JaiSearch('examples')<cr> " Search in Jai examples noremap <leader>ge :call CtrlP_JaiSearch('examples')<cr> " Search in Jai examples
" @note we're using a modified version of ctrlp that removes duplicate tags
" when using multiple tag files. See https://github.com/sir-pinecone/ctrlp.vim/commit/5cceab
let g:ctrlp_map = '<leader>f' let g:ctrlp_map = '<leader>f'
let g:ctrlp_cmd = 'CtrlPTag' " Search tags by default. let g:ctrlp_cmd = 'CtrlPTag' " Search tags by default.
let g:ctrlp_by_filename = 1 " File search by filename as opposed to full path. let g:ctrlp_by_filename = 1 " File search by filename as opposed to full path.
@ -1055,7 +1057,7 @@ fu! IsPathContained(path1, path2) abort
let l:normalized_path1 = substitute(fnamemodify(a:path1, ':p'), '\', '/', 'g') let l:normalized_path1 = substitute(fnamemodify(a:path1, ':p'), '\', '/', 'g')
let l:normalized_path2 = substitute(fnamemodify(a:path2, ':p'), '\', '/', 'g') let l:normalized_path2 = substitute(fnamemodify(a:path2, ':p'), '\', '/', 'g')
" Ensure paths end with a directory separator " Ensure paths end with a directory separator.
if l:normalized_path1[-1:] != '/' if l:normalized_path1[-1:] != '/'
let l:normalized_path1 .= '/' let l:normalized_path1 .= '/'
endif endif

View File

@ -11,7 +11,7 @@
that they're corporate systems have been hacked multiple times in the last year). Anyway, this feature is fucking 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 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. 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. * Open `disable-windows-platform-binary-table.reg` and reboot.
**Make a system restore point before proceeding.** **Make a system restore point before proceeding.**
@ -81,6 +81,12 @@
* Computer Configuration > Administrative Templates > Network > QoS Packet Scheduler > Limit reservable bandwidth * Computer Configuration > Administrative Templates > Network > QoS Packet Scheduler > Limit reservable bandwidth
* Enable it and set the % to 0. * Enable it and set the % to 0.
* Disable auto folder type discovery to speed up opening folders with a lot of files
* Open `disable-folder-type-auto-discovery.reg` from this folder.
* Turn off drive indexing for all drives since we'll be using Everything app for search and it does its own indexing.
* Right-click a drive, under `General` tab uncheck `Allow files on this drive to have contents indiexed ...`
* Disable UAC screen dimming * Disable UAC screen dimming
* Open User Account Control settings * Open User Account Control settings
* Drag the slider down to the notch that doesn't dim the screen. * Drag the slider down to the notch that doesn't dim the screen.
@ -182,10 +188,10 @@ processor time and is generally useless.
* Windows settings -> System -> Multitasking -> uncheck "When I snap a window, show what I can snap next to it" * Windows settings -> System -> Multitasking -> uncheck "When I snap a window, show what I can snap next to it"
* Restore classic Windows Photo Viewer app (the default Win10 photos app is fucking awful): * Restore classic Windows Photo Viewer app (the default Win10 photos app is fucking awful):
* Run photo_viewer.reg from this folder. * Open `photo_viewer.reg` from this folder.
* You'll need to change the default app for the various image extensions. Don't change gif types * You'll need to change the default app for the various image extensions. Don't change gif types
though because photo viewer doesn't support animations. though because photo viewer doesn't support animations.
* Now run disable-are-you-sure-you-want-to-open-with-the-default-program-dialog.reg to stop it * Open `disable-are-you-sure-you-want-to-open-with-the-default-program-dialog.reg` to stop it
from occasionally asking if you still want to use photo viewer. from occasionally asking if you still want to use photo viewer.
* Add custom hosts file * Add custom hosts file