Skip to content

Instantly share code, notes, and snippets.

@Alex7k
Alex7k / bypass_license_windows.md
Last active March 9, 2026 18:39
bypass license windows

windows bypass license

irm https://get.activated.win | iex

edge might block it, try going to the website and copying it into powershell ise

@Alex7k
Alex7k / expand_linux_partition.sh
Created March 9, 2026 17:07
Expand linux partition
lsblk # show info about partitions
# (EXAMPLE OUTPUT)
# NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
# sda 8:0 0 2T 0 disk
# ├─sda1 8:1 0 2.9G 0 part /
# ├─sda14 8:14 0 3M 0 part
# └─sda15 8:15 0 124M 0 part /boot/efi
# expand partition (make sure to specify the right partition by looking at the tree you got above!
sudo growpart /dev/sda 1
@Alex7k
Alex7k / vmware_workstation_pro_download_url.md
Last active February 27, 2026 15:48
VMWare Workstation Pro download URL (simple)
@Alex7k
Alex7k / git_change_commit_author.md
Last active February 27, 2026 15:46
Change commit author of last commit
git commit --amend --author="john.doe <john.doe@example.com>" --no-edit

If you want to do this for a commit older than the latest commit, run it while you're on that commit in a git rebase.

@Alex7k
Alex7k / fix_notification_center.md
Last active February 16, 2026 17:06
Fix Windows Calender not opening when clicked

fix notification center windows:

  • Open "Registry Editor"
  • Go to each of the following paths and delete the 'DisableNotificationCenter' key
    • HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\Explorer
  • HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Explorer
@Alex7k
Alex7k / change-author-all-commits.sh
Last active January 20, 2026 10:52
change author of all commits in git repository
# sudo apt install -y git-filter-repos
# this does not affect commit dates, but it will change hashes and deviate history
git filter-repo --commit-callback '
commit.author_name = b"john.doe"
commit.author_email = b"john.doe@example.com"
commit.committer_name = b"john.doe"
commit.committer_email = b"john.doe@example.com"
'