Instantly share code, notes, and snippets.
Discover gists
at0dd /UninstallW10Apps.ps1
CreatedNovember 24, 2016 02:53
Uninstalls all default Windows 10 apps except for the Windows Store This file contains hidden or 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
#By default, uninstalls all default Windows 10 apps except for the Windows Store. | |
#Alternatively, comment the first line and then uncomment specific packages to remove them. | |
Get-AppxPackage-AllUsers|where-object {$_.name-notlike"*store*"}|Remove-AppxPackage#Remove all except Store | |
#Get-AppxPackage -allusers *3dbuilder* | Remove-AppxPackage #3D Builder | |
#Get-AppxPackage -allusers *alarms* | Remove-AppxPackage #Alarms and Clock | |
#Get-AppxPackage -allusers *Appconnector* | Remove-AppxPackage #App Connector | |
#Get-AppxPackage -allusers *calculator* | Remove-AppxPackage #Calculator | |
#Get-AppxPackage -allusers *communications* | Remove-AppxPackage #Calendar and Mail |
arashkaffamanesh /vmware.md
CreatedJanuary 3, 2025 11:22 — forked fromayebrian/vmware.md
VMware ESXi 8 / vCenter 8 / Workstation 17 license key 2024gene1wood /batch-delete-gmail-emails.js
Last activeJuly 22, 2025 03:17
A Google Apps Script script to bulk delete large amounts of email in Gmail while avoiding the error #793 which Gmail encounters normally This file contains hidden or 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
/* | |
Thisscript,whenusedwithGoogleAppsScripts,willdelete400emailsand | |
canbetriggeredtoruneveryfewminuteswithoutuserinteractionenablingyou | |
tobulkdeleteemailinGmailwithoutgettingthe #793errorfromGmail. | |
Googlereturnsamaximumof500emailthreadsinasingleAPIcall. | |
Thisscriptfetches400threadsincase500threadsiscausingtimeouts | |
Configurethesearchqueryinthecodebelowtomatchthetypeofemails | |
youwanttodelete |
jlyonsmith /Mac Keyboard Symbols.md
Last activeJuly 22, 2025 03:13 — forked fromZenexer/Mac Keyboard Symbols.md
List of Mac/Apple keyboard symbolsseachai /gist:948ed1eeafa32ce03db6685edb879f71
Last activeJuly 22, 2025 03:08
iTerm 2 Natural Text Editing Preset This file contains hidden or 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
On iTerm2 - Open Preferences > Profiles > Keys > Key Mappings > Presets > Select Natural Text Editing | |
- You can move a word backwards using Option ⌥ + ← and a word forwards using Option ⌥ + → | |
- Move to the start of the line using fn + ← and to the end of the line with fn + →. | |
- Also you can delete a word backwards using Option ⌥ + ⌫, delete the whole line using Command ⌘ + ⌫. | |
If the preset doesn't appear, reinstall iTerm2. If you installed it using Homebrew + Cask: | |
brew cask reinstall iterm2 |
NewerOlder