Skip to content

Instantly share code, notes, and snippets.

Avatar

Mike Pruett mikepruett3

View GitHub Profile
@mikepruett3
mikepruett3 / arch-setup.sh
Last active Jan 23, 2023
A setup script for my Default Arch Linux installation
View arch-setup.sh
#!/usr/bin/env bash
## Install base
pacman -Syu base
# Initial Setup
## Install git if is unavailable on the system
if ! [ -x "$(command -v git)" ]; then
pacman -S git
fi
@mikepruett3
mikepruett3 / shell-setup.ps1
Last active Feb 1, 2023
Packages to install via scoop, winget, choco, and other tools...
View shell-setup.ps1
<#
.SYNOPSIS
Script to Initialize my custom powershell setup.
.DESCRIPTION
Script uses scoop
.NOTES
**NOTE** Will configure the Execution Policy for the "CurrentUser" to Unrestricted.
Author: Mike Pruett
Date: October 18th, 2018
View Creating Windows PE Image
Install Windows Assessment and Deployment Kit (ADK), including the Windows PE feature
Click Start, and type deployment. Right-click Deployment and Imaging Tools Environment and then select Run as administrator.
In the Deployment Tools and Imaging Environment, copy the WinPE files for the PCs you want to boot. The 64-bit version can boot 64-bit UEFI and 64-bit BIOS PCs.
copype amd64 C:\WinPE_amd64
The 32-bit version of WinPE can boot 32-bit UEFI, 32-bit BIOS, and 64-bit BIOS PCs.
copype x86 C:\WinPE_x86
View updcygwin.cmd
:: Name: updcygwin.cmd
:: Purpose: Updates Existing Cygwin Installation
:: Author: mikepruett3@gmail.com
:: Revision: 20170118 - initial version
@ECHO OFF
SETLOCAL ENABLEEXTENSIONS
SET _script=%~n0
SET _parentdir=%~dp0
@mikepruett3
mikepruett3 / mycygwininst.cmd
Last active Jul 18, 2021
Batch Script (cmd) to Download and Install the appropriate version of Cygwin with custom packages!!!
View mycygwininst.cmd
:: Name: mycygwininst.cmd
:: Purpose: Downloads and Installs Cygwin with custom packages
:: Author: mikepruett3@gmail.com
:: Revision: 20161106 - initial version
@ECHO OFF
SETLOCAL ENABLEEXTENSIONS
SET _script=%~n0
SET _parentdir=%~dp0