Skip to content

Instantly share code, notes, and snippets.

View Wengorito's full-sized avatar
🎯
Focusing

Węgorz Wengorito

🎯
Focusing
  • Warsaw
View GitHub Profile
@Wengorito
Wengorito / gist:34b1802521673926b4f8f465769d9ed5
Created April 19, 2026 10:51
ToggleDarkMode (Windows PowerShell desktop shortcut)
+Create new destkop shortcut
+Set target location
>powershell.exe -WindowStyle Hidden -ExecutionPolicy Bypass -File "C:\Scripts\toggle-theme.ps1"
+Set shortcut key combination (Ctrl + Alt + D)
@Wengorito
Wengorito / gist:d41643f0cc96010f9eef3f86498501ee
Created October 21, 2023 14:57
Git commit rollback (tested)
-git push origin -f {commit_hash to rollback}:main (or master)
-git reset --mixed {commit_hash to rollback} (clear local working directory commits)
-git add {file1}
-git commit
-git add {file2}
-git commit
.
.
.
-git push