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
# read parameters from the command line | |
param( | |
[string]$namespace = "default", | |
[string]$pattern = "", | |
[bool]$previous = $false | |
) | |
# check if pattern has a space and if so, split it in two and use the first part | |
$container = "" | |
if ($pattern.Contains(" ")) { |
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
# For documentation, see https://www.sumatrapdfreader.org/settings3.2.html | |
MainWindowBackground = #80fff200 | |
EscToExit = false | |
ReuseInstance = false | |
UseSysColors = false | |
RestoreSession = true | |
FixedPageUI [ | |
TextColor = #000000 |
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
# read parameters from the command line | |
param( | |
[string]$namespace = "default", | |
[string]$pattern = "", | |
[bool]$previous = $false | |
) | |
# check if pattern has a space and if so, split it in two and use the first part | |
$container = "" | |
if ($pattern.Contains(" ")) { |
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
@echo off | |
echo Disabling Windows Error Reporting Service ... | |
sc query "WerSvc"| find "RUNNING" >nul 2>&1 && net stop "WerSvc" && sc config "WerSvc" start= disabled | |
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting" /v Disabled /t REG_DWORD /d 1 /f >nul 2>&1 | |
echo | |
echo Windows Error Reporting Service has been disabled. |
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
@echo off | |
git pull %* |
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
vimdiff -c TOhtml -c "w vimdiff_export.html | qa!" "C:\Users\NisimHurst\Desktop\algorithm-dev.py" "C:\Users\NisimHurst\Desktop\algorithm-pro.py" |
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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome] | |
"NativeWindowOcclusionEnabled"=dword:00000000 | |
"WindowOcclusionEnabled"=dword:00000000 |
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
# Copyright (c) Microsoft Corporation. All rights reserved. | |
# | |
# THIS SAMPLE CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, | |
# WHETHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED | |
# WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. | |
# IF THIS CODE AND INFORMATION IS MODIFIED, THE ENTIRE RISK OF USE OR RESULTS IN | |
# CONNECTION WITH THE USE OF THIS CODE AND INFORMATION REMAINS WITH THE USER. | |
# chcp 437 | Out-Null | |
chcp 65001 | Out-Null |
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
@echo off | |
klogs %* |
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
ffmpeg -y -i "audio.mp3" -crf 23 -preset medium -b:a 64k -fs 16000000 "audio.opus" |