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
| function addOrSubtractMinutes(timeString, minutesToAddOrSubtract) { | |
| var timeParts = timeString.split(':'); | |
| var hours = parseInt(timeParts[0], 10); | |
| var minutes = parseInt(timeParts[1], 10); | |
| var date = new Date(); | |
| date.setHours(hours); | |
| date.setMinutes(minutes + minutesToAddOrSubtract); | |
| var newHours = date.getHours(); |
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
| # 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 | |
| for /F %%a in ('echo prompt $E ^| cmd') do set "ESC=%%a" | |
| @REM echo ^<ESC^>[4m %ESC%[4mUnderline Underline%ESC%[0m | |
| @REM echo ^<ESC^>[32m %ESC%[32mGreen Green Green%ESC%[0m | |
| @REM echo ^<ESC^>[33m %ESC%[33mYellow Yellow Yellow%ESC%[0m | |
| echo %ESC%[32mPulling latest changes from the remote repository...%ESC%[0m | |
| git pull %* | |
| echo. | |
| echo. |
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 |