This file contains 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
#!/bin/bash | |
## | |
## PLEX_URL change 2016/08/01 | |
## LATEST_URL change to python script | |
## | |
EXIT_CODE=0 | |
LATEST_URL= | |
PLEX_URL="https://plex.tv/api/downloads/1.json?_=1470076305698" |
This file contains 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
Change Group Policy: | |
Computer Configuration > Administrative Templates > Windows Components > Bitlocker Drive Encryption > Require Additional Authentication at Startup | |
Check "Enabled" | |
Select "Require Startup PIN with TPM" | |
Launch command window as Admin: | |
manage-bde -status | |
manage-bde -protectors -add c: -TPMAndPIN | |
manage-bde -status | |
This file contains 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
#!/usr/bin/env python3 | |
from datetime import datetime | |
from pytz import timezone | |
from csv_ical import Convert | |
import sys | |
import csv | |
LOCAL_TZ = timezone('US/Eastern') | |
convert = Convert() |
This file contains 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
#!/bin/bash | |
steamcmdloc="/storage/steamcmd/steamcmd.sh" | |
arkinstallloc="/storage/ARK" | |
updateArkCmd="${steamcmdloc} +login anonymous +force_install_dir ${arkinstallloc} +app_update 376030 validate +quit" | |
$updateArkCmd | |
while [ $? -ne 0 ] | |
do |
This file contains 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
#!/bin/bash | |
remote_hosts_file="http://winhelp2002.mvps.org/hosts.txt" | |
hosts_file_loc="/etc/hosts" | |
main() { | |
printf "Downloading file...\n" | |
wget -q -O /tmp/hosts.new $remote_hosts_file | |
printf "Removing windows line breaks...\n" |