Skip to content

Instantly share code, notes, and snippets.

View adamchilcott's full-sized avatar

Adam Chilcott adamchilcott

View GitHub Profile
@adamchilcott
adamchilcott / smbArtShare.sh
Last active June 8, 2021 01:23
smbArtShare.sh
#!/usr/bin/env bash
##########################
# Allow Server Connections
##########################
ping -c 1 127.0.0.1
sudo defaults delete /Library/Preferences/com.apple.NetworkAuthorization AllowUnknownServers
ping -c 1 127.0.0.1
sudo defaults write /Library/Preferences/com.apple.NetworkAuthorization AllowUnknownServers -bool YES
@adamchilcott
adamchilcott / imagingTasks.sh
Last active February 24, 2021 05:20
imagingTasks.sh
#!/usr/bin/env bash
##########################################
# Perform iMac Imaging Tasks Interactively
##########################################
##########################
# Enable Location Services
##########################
@adamchilcott
adamchilcott / settings.json
Created November 2, 2020 09:00
Windows Terminal
// This file was initially generated by Windows Terminal 1.2.2381.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
@adamchilcott
adamchilcott / windows-terminal-quake.json
Created November 2, 2020 08:57
windows-terminal-quake.json
{
// The keys that can be used to toggle the terminal.
// See "HotKeys" bellow for possible values.
"HotKeys": [
{
"Modifiers": "Control",
"Key": "PageUp"
},
{
"Modifiers": "Control",
@adamchilcott
adamchilcott / smbMediaArts.sh
Last active March 24, 2021 05:33
smbMediaArts.sh
#!/usr/bin/env bash
####################################
# EPSON SureColor P7070 - Media Arts
####################################
#################
# Clear The Queue
#################
@adamchilcott
adamchilcott / checkUpdates.ps1
Created October 14, 2018 11:31
checkUpdates.ps1
###########################################################
# Check For Windows Updates, Then Install
# Aimed At Remote Monitoring And Management Solutions (RMM)
# LogMeIn Central, AVG Managed Workplace Et. al
###########################################################
######################################################
# Provide The Literal Path To Required System Binaries
######################################################
$cscriptBinary = "C:\Windows\System32\cscript.exe"
@adamchilcott
adamchilcott / checkKaspersky.ps1
Last active October 15, 2018 03:00
checkKaspersky.ps1
###########################################################
# Update Kaspersky, Then Run Full-Scan
# Aimed At Remote Monitoring And Management Solutions (RMM)
# LogMeIn Central, AVG Managed Workplace Et. al
###########################################################
#####################################################################
# Methods To Determine Bitness
#####################################################################
# [System.Environment]::Is64BitOperatingSystem
@adamchilcott
adamchilcott / msOfficeTasks.sh
Last active October 14, 2018 11:30
Microsoft Office 2016 For Mac
#!/usr/bin/env bash
###############################
# Microsoft Office 2016 For Mac
###############################
declare tempMountPoint='/tmp/mnt/'
declare dmgLocation='lmnas01.avondale.edu.au/Software/Microsoft/Office/MAC'
declare dmgFile='SW_DVD5_Office_Mac_Standard_2016_MultiLang_-3_.iso_MLF_X20-52737.ISO'
declare pkgLocation='/Volumes/Office 2016 VL/Microsoft_Office_2016_Volume_Installer.pkg'
@adamchilcott
adamchilcott / createinstallmedia_-_mac.sh
Last active October 14, 2018 11:29
Create a bootable installer for macOS
#!/usr/bin/env bash
#######################################
# Create a bootable installer for macOS
#######################################
while true; do
cat << BANNER
@adamchilcott
adamchilcott / java_-_8_-_update.sh
Last active October 14, 2018 11:29
Oracle Java 8 Update XXX
#!/usr/bin/env bash
##########################
# Oracle Java 8 Update XXX
##########################
declare tempMountPoint='/tmp/mnt/'
declare dmgLocation='lmnas01.avondale.edu.au/Software/Java'
declare dmgFile='jdk-8u121-macosx-x64.dmg'
declare pkgLocation='/Volumes/JDK 8 Update 121/JDK 8 Update 121.pkg'