Skip to content

Instantly share code, notes, and snippets.

# NOTE - THIS SCRIPT IS NOW OBSOLETE - SEE MY OTHER REPO FOR A MUCH MORE COMPREHENSIVE TOOL: https://github.com/o9-9/o9-scripts
# Get All Shell Folder Shortcuts Script (Updated 8/10/2024)
# Original source: https://gist.github.com/o9-9/15a2dfc222d945aa6a6d728d602a12a6
# This PowerShell script is designed to find and create shortcuts for all special shell folders in Windows.
# These folders can be identified through their unique Class Identifiers (CLSIDs) or by their names.
# The script also generates CSV files listing these folders and associated tasks/links.
# How to Use:
# 1. Open PowerShell and navigate to the path containing this script using the 'cd' command.
##################
# Privacy Settings
##################
# Privacy: Let apps use my advertising ID: Disable
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -Type DWord -Value 0
# To Restore:
#Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -Type DWord -Value 1
# Privacy: SmartScreen Filter for Store Apps: Disable
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost -Name EnableWebContentEvaluation -Type DWord -Value 0
{"label":"Lines of Code","message":"32.2k","schemaVersion":1,"color":"brightgreen","namedLogo":"C Sharp"}
{"label":"downloads","message":"1.090 Million","schemaVersion":1,"color":"brightgreen","namedLogo":"GitHub"}
{"label":"Lines of Code","message":"16.7k","schemaVersion":1,"color":"brightgreen","namedLogo":"PowerShell"}
\
@o9-9
o9-9 / .bash_profile
Last active July 8, 2025 17:50 — forked from prabirshrestha/.bash_profile
my terminal settings for windows
# curl -Lk https://gist.githubusercontent.com/o9-9/ebdd1fed91165d2fbaf6ef517afd7ffa/raw/.bash_profile -o ~/.bash_profile
[[ -s ~/.nvm/nvm.sh ]] && . ~/.nvm/nvm.sh # This loads NVM
export PATH="$HOME/.cargo/bin:$HOME/go/bin:$HOME/Library/Python/3.7/bin:$PATH"
export PATH="$HOME/.config/nvim/plugins/vim-themis/bin:$PATH"
stty -ixon
alias pbcopy='xsel --clipboard --input'
alias pbpaste='xsel --clipboard --output'
@o9-9
o9-9 / all_email_provider_domains.txt
Created May 12, 2025 18:59 — forked from ammarshah/all_email_provider_domains.txt
A list of all email provider domains (free, paid, blacklist etc). Some of these are probably not around anymore. I've combined a dozen lists from around the web. Current "major providers" should all be in here as of the date this is created.
0-mail.com
007addict.com
020.co.uk
027168.com
0815.ru
0815.su
0clickemail.com
0sg.net
0wnd.net
0wnd.org
@o9-9
o9-9 / -configs
Created May 12, 2025 17:48 — forked from hiimog/-configs
Personal configurations for common tools
# Collection of configuration files for random things
- gitconfig
- pwsh git aliases
- init.lua for neovim
- helix config
- base powershell profile
- setup script for win 11
- windows terminal
- duplicati
@o9-9
o9-9 / !machine-setup.scripts.md
Created May 10, 2025 18:18
Machine setup scripts

Machine setup scripts

Idempotent scripts I use to set up my machines.

Windows

iwr -useb https://scripts.scowalt.com/setup/win.ps1 | iex