Skip to content

Instantly share code, notes, and snippets.

View cmbankester's full-sized avatar

Christian Bankester cmbankester

  • Immense Networks
  • Baton Rouge, LA
View GitHub Profile
@ThaddeusAid
ThaddeusAid / decrapifier.ps1
Created October 7, 2016 22:08
Windows 10 Decrapifier
write-Host "*******Decrapifying Windows 10...*******"
write-Host "***Removing App Packages...***"
#I recommend running this script on a fresh install, though it should work fine anyways. Should ;)
#This part removes all the apps. By default, it removes every except the calculator and the store. To remove all apps, comment out this part...
Get-AppxPackage -AllUsers | where-object {$_.name -notlike "*Microsoft.WindowsStore*"} | where-object {$_.name -notlike "*Microsoft.WindowsCalculator*"} | Remove-AppxPackage
Get-AppxProvisionedPackage -online | where-object {$_.packagename -notlike "*Microsoft.WindowsStore*"} | where-object {$_.packagename -notlike "*Microsoft.WindowsCalculator*"} | Remove-AppxProvisionedPackage -online

This document has moved!

It's now here, in The Programmer's Compendium. The content is the same as before, but being part of the compendium means that it's actively maintained.

@ivanistheone
ivanistheone / .cleanup.sh
Last active December 30, 2022 14:09
A shell script I use to (mostly) automatically cleanup my ~/Desktop
#!/bin/bash
MYHOME=$HOME
MYDESKTOP=$HOME/Desktop
echo " _ "
echo " | | "
echo " ___ | | ___ __ _ _ __ _ _ _ __ "
echo " / __|| |/ _ \/ _ | '_ \| | | | '_ \ "
echo " | (__ | | __/ (_| | | | | |_| | |_) |"
echo " \___||_|\___|\__,_|_| |_|\__,_| .__/ "
@doughsay
doughsay / iterm2_helpers.sh
Last active August 29, 2015 14:07
Helper functions for coloring and naming iTerm tabs
# Usage:
# Source this script from your Bash start-up script (eg. ~/.bashrc, ~/.bash_profile) (or ~/.zshrc if using zsh, etc.).
#
# Setting titles:
# title something
# title "more than 1 word"
#
# Setting tab colors:
# tab_color 195 89 76
# tab_color 219 154 88
@doughsay
doughsay / colors.sh
Created May 16, 2013 21:44
Bash color variables
# Regular
blk='\[\e[0;30m\]' # Black - Regular
red='\[\e[0;31m\]' # Red
grn='\[\e[0;32m\]' # Green
ylw='\[\e[0;33m\]' # Yellow
blu='\[\e[0;34m\]' # Blue
pur='\[\e[0;35m\]' # Purple
cyn='\[\e[0;36m\]' # Cyan
wht='\[\e[0;37m\]' # White