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
Short (max 50 chars) summary of changes (imperative) | |
{detailed explanatory} | |
The body of the commit message can be several paragraphs, and | |
please do proper word-wrap and keep columns shorter than about | |
74 characters or so. That way "git log" will show things | |
nicely even when it's indented. | |
More detailed explanatory text, if necessary. Wrap it to about 72 | |
characters or so. In some contexts, the first line is treated as the |
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 | |
;;;===,,,findstr /v "^;;;===,,," "%~f0" > "%~dp0ps.ps1" | |
;;;===,,,PowerShell.exe -ExecutionPolicy Bypass -Command "& '%~dp0ps.ps1'" | |
;;;===,,,del /s /q "%~dp0ps.ps1" >NUL 2>&1 | |
;;;===,,,pause | |
# Ignore errors from `Stop-Process` | |
$PSDefaultParameterValues['Stop-Process:ErrorAction'] = 'SilentlyContinue' | |
Write-Host 'Stopping Adobe Processes...' |
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 | |
;;;===,,,findstr /v "^;;;===,,," "%~f0" > "%~dp0ps.ps1" | |
;;;===,,,PowerShell.exe -ExecutionPolicy Bypass -Command "& '%~dp0ps.ps1'" | |
;;;===,,,del /s /q "%~dp0ps.ps1" >NUL 2>&1 | |
;;;===,,,pause | |
# To get All properties add `| Format-List *` | |
# or `| Format-Table -Property ID, CPU, ProcessName, priorityclass, basepriority` | |
Get-Process -Name Uplay*,Ubisoft*,upc | ForEach-Object { | |
Write-Host -NoNewline "Lowered priority of" $_.ProcessName "from" $_.priorityclass "to idle." |
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 | |
;;;===,,,findstr /v "^;;;===,,," "%~f0" > "%~dp0ps.ps1" | |
;;;===,,,PowerShell.exe -ExecutionPolicy Bypass -Command "& '%~dp0ps.ps1'" | |
;;;===,,,del /s /q "%~dp0ps.ps1" >NUL 2>&1 | |
;;;===,,,pause | |
<# | |
This script uses the gist of @omeganoob (https://gist.github.com/omeganoob/8b917cd900d6032b8e9ff3acf495c5db) | |
to automatically parse the IPs and update the Windows Firewall's Outbound Rules of "Adobe Unlicensed Pop-up" | |
that's automatically generated when installing any adobe builds of our favorite russian guy. |