Skip to content

Instantly share code, notes, and snippets.

View aaronedev's full-sized avatar
🟣
working on violet void theme

Aaron aaronedev

🟣
working on violet void theme
View GitHub Profile
@aaronedev
aaronedev / disable_ipv6.ps1
Created October 23, 2024 05:45
powershell disable ipv6
Disable-NetAdapterBinding -Name "*" -ComponentID ms_tcpip6
@aaronedev
aaronedev / restore_winxp-alt+tab.ps1
Created September 30, 2024 09:10
Restores Alt+Tab functionality to show little icons no preview bs
Set-ItemProperty HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer AltTabSettings ([int]1)
@aaronedev
aaronedev / .gitignore
Last active November 2, 2024 15:56
gitignore starter template
# Windows
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
# Node.js
node_modules/
npm-debug.log*
yarn-debug.log*
@aaronedev
aaronedev / show-drives.ps1
Last active August 14, 2024 11:05
show local drives information
# Get the list of all physical disks
$physicalDisks = Get-PhysicalDisk
# Loop through each physical disk and display its media type, drive letter, and device name
foreach ($disk in $physicalDisks) {
Write-Output "Device ID: $($disk.DeviceID)"
Write-Output "Friendly Name: $($disk.FriendlyName)"
Write-Output "Media Type: $($disk.MediaType)"
# Get the associated partitions
@aaronedev
aaronedev / zip-all.ps1
Last active August 14, 2024 11:06
zip all files in the current directory powershell
Get-ChildItem "." | ForEach-Object { Compress-Archive -path $_.Name -destinationPath "$($_.Name).zip"}