Skip to content

Instantly share code, notes, and snippets.

View ZEBAS204's full-sized avatar

SEBAS204 ZEBAS204

View GitHub Profile
@ZEBAS204
ZEBAS204 / AdobeLicenseFirewall.cmd
Created February 26, 2024 03:22
Automatically update the firewall rules to bypass adobe license checks
;;;===,,,@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.
@ZEBAS204
ZEBAS204 / ReduceUbiProcessPriority.bat
Created February 5, 2023 22:57
Old script to reduce all Ubisoft background processes on Windows
;;;===,,,@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."
@ZEBAS204
ZEBAS204 / kill_adobe.bat
Last active April 16, 2024 17:59
Script to kill Adobe background processes on Windows
;;;===,,,@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...'
@ZEBAS204
ZEBAS204 / .gitCommitTemplate
Created July 7, 2021 01:30
A Git Commit Messages template to follow and make life easier.
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