Skip to content

Instantly share code, notes, and snippets.

View flatlinebb's full-sized avatar
🏠
Working from home

flatlinebb

🏠
Working from home
View GitHub Profile
### To Run:
### In IE:
### http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/flatlinebb/....
Disable-UAC
Update-ExecutionPolicy Unrestricted
Set-StartScreenOptions -EnableBootToDesktop
Set-CornerNavigationOptions -EnableUsePowerShellOnWinX
### To Run:
### In IE:
### http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/flatlinebb/....
## To Do:
# Command Prompt customization - reg file?
# Chrome no sign-in prompt
###### Boxstarter options
# Allow reboots
@flatlinebb
flatlinebb / boxstarter_maint_gist.txt
Last active September 27, 2016 16:07
Update Maintenance Gist File
##Update Maintenance Gist File
# To run, use this URL:
# http://boxstarter.org/package/url?C:\Support\boxstarter_maint_gist1.txt
###### Boxstarter options
# Allow reboots
$Boxstarter.RebootOk=$true
# Is this a machine with no login password?
# $boxstarter.NoPassword=$True
@flatlinebb
flatlinebb / mpv_links.txt
Last active December 6, 2021 22:59
YouTube Playlist Links for MPV Player
@flatlinebb
flatlinebb / screen_cheatsheet.markdown
Last active December 30, 2018 23:38 — forked from jctosta/screen_cheatsheet.markdown
Screen Cheatsheet

Screen Quick Reference

Basic

Description Command
Start a new session with session name screen -S <session_name>
List running sessions / screens screen -ls
Attach to a running session screen -x
Attach to a running session with name screen -r <session_name>
@flatlinebb
flatlinebb / smart-test-short-start.sh
Last active November 22, 2018 22:27
SMART Short Test Start on all drives (/dev/sd[a-z])
for sd in /dev/sd[a-z]; do echo $sd; smartctl -t short $sd; done
@flatlinebb
flatlinebb / smart-test-status-all.sh
Created November 22, 2018 22:20
SMART Test Status all drives (/dev/sd[a-z])
for sd in /dev/sd[a-z]; do echo $sd; smartctl -c $sd | grep Self-test | grep -v supported; smartctl -c $sd | grep remaining; done
@flatlinebb
flatlinebb / watch-smart-test-status.sh
Created November 22, 2018 22:22
Monitor SMART test status with watch
watch -c -n 1 -d --exec smart-test-status-all.sh
@flatlinebb
flatlinebb / smart-test-short-start.sh
Last active February 20, 2019 18:30
SMART Scripts
for sd in /dev/sd[a-z]; do echo $sd; smartctl -t short $sd; done
@flatlinebb
flatlinebb / network-switch-test.bat
Created November 23, 2018 08:13
Script to test network connectivity and throughput
@ECHO OFF
:top
ping 8.8.8.8
ECHO.
ECHO File start %time%
ECHO.
:: wget -O - "http://ipv4.download.thinkbroadband.com/100MB.zip"
:: wget -O - "http://ipv4.download.thinkbroadband.com/50MB.zip"
:: wget -O - "http://ipv4.download.thinkbroadband.com/20MB.zip"
:: wget -O - "http://speedtest-ca.turnkeyinternet.net/100mb.bin"