Skip to content

Instantly share code, notes, and snippets.

@marshallmick007
marshallmick007 / reclaimWindows10.ps1
Created June 1, 2021 14:19 — forked from alirobe/reclaimWindows10.ps1
This Windows 10 Setup Script turns off a bunch of unnecessary Windows 10 telemetery, bloatware, & privacy things. Not guaranteed to catch everything. Review and tweak before running. Reboot after running. Scripts for reversing are included and commented. Fork of https://github.com/Disassembler0/Win10-Initial-Setup-Script (different defaults). N.…
##########
# Tweaked Win10 Initial Setup Script
# Primary Author: Disassembler <disassembler@dasm.cz>
# Modified by: alirobe <alirobe@alirobe.com> based on my personal preferences.
# Version: 2.20.2, 2018-09-14
# Primary Author Source: https://github.com/Disassembler0/Win10-Initial-Setup-Script
# Tweaked Source: https://gist.github.com/alirobe/7f3b34ad89a159e6daa1/
# Tweak difference:
#
# @alirobe's version is a subset focused on safely disabling telemetry, some 'smart' features and 3rd party bloat ...
@marshallmick007
marshallmick007 / pwned.rb
Created February 21, 2018 22:48 — forked from schmich/pwned-interactive.rb
Check if a password has been pwned with the Pwned Passwords V2 API
require 'io/console'
require 'open-uri'
require 'digest'
puts "The 5-character prefix of the password's SHA-1 hash will be sent."
puts "For details, see https://www.troyhunt.com/ive-just-launched-pwned-passwords-version-2/"
print 'Password (hidden): '
password = $stdin.noecho(&:gets).strip
puts
@marshallmick007
marshallmick007 / rbenv-install-system-wide.sh
Last active June 20, 2017 22:33 — forked from jesteracer/rbenv-install-system-wide.sh
rbenv install and system wide install on Ubuntu 10.04 LTS.
#!/bin/bash
# Update, upgrade and install development tools:
# apt-get update
# apt-get -y upgrade
# apt-get -y install build-essential
# apt-get -y install git-core
# Install rbenv
git clone git://github.com/sstephenson/rbenv.git /usr/local/rbenv
@marshallmick007
marshallmick007 / notify.sh
Last active August 29, 2015 13:56 — forked from jehiah/notify.sh
Ubuntu server boot notification script
#!/bin/bash
#
# *************************************************
# chkconfig: 2345 99 99
# description: notify email address on system boot.
#
# https://gist.github.com/marshallmick007/9025968
# *************************************************
# Installing:
# 1) save as /etc/init.d/notify