Skip to content

Instantly share code, notes, and snippets.

View kujotx's full-sized avatar

Kurt Johnson kujotx

View GitHub Profile
@kujotx
kujotx / Boxstarter-dev-box
Last active October 23, 2020 19:18
Boxstarter script for spinning up a new Windows dev box
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
Enable-RemoteDesktop
choco features enable -n=AllowGlobalConfirmation
cinst Microsoft-Hyper-V-All -source windowsFeatures
cinst IIS-WebServerRole -source windowsfeatures
cinst choco-cleaner powershell-core poshgit lockhunter greenshot rescuetime dropbox evernote 7zip 7zip.install beyondcompare powertoys slack Firefox google-drive-file-stream GoogleChrome wireshark windirstat winmerge zoom zoomit sysinternals telnet notepadplusplus notepadplusplus.install microsoft-edge
@kujotx
kujotx / Microsoft.PowerShell_profile.ps1
Created October 31, 2019 13:55
Windows PowerShell Profile
# Set up Posh Git
Import-Module 'C:\tools\poshgit\dahlbyk-posh-git-9bda399\src\posh-git.psd1'
# Set up SSH
Start-SshAgent
# Alias PSake
if (-not(Test-Path alias:psake)) {
Set-Alias -Name psake -Value Invoke-Psake
}
@kujotx
kujotx / hs-dev-win10
Last active March 22, 2019 14:14
hs-dev-win10
cinst Microsoft-Hyper-V-All -source windowsFeatures
cinst poshgit
cinst psake
cinst docker-desktop
cinst HeidiSQL
cinst dotnet4.7.1
cinst dotnetcore
cinst visualstudio2017professional --package-parameters "--include-recommended --passive --locale en-US"
cinst visualstudio2017-installer
@kujotx
kujotx / hs-dev-win7
Last active March 22, 2019 14:14
hs-dev-win7
cinst poshgit
cinst psake
cinst virtualbox --version 5.2.26 --params "/NoDesktopShortcut /CurrentUser"
cinst docker-toolbox -ia /TASKS="modifypath"
cinst HeidiSQL
cinst dotnet4.7.1
cinst dotnetcore
cinst visualstudio2017-installer
cinst visualstudio2017buildtools
cinst microsoft-teams
@kujotx
kujotx / pre-push
Created January 30, 2019 20:45 — forked from jgosmann/pre-push
Prevent pushing fixup, squash, and WIP commits to master.
#!/bin/sh
# An example hook script to verify what is about to be pushed to master. Called
# by "git push" after it has checked the remote status, but before anything has
# been pushed. If this script exits with a non-zero status nothing will be
# pushed.
#
# This hook is called with the following parameters:
#
# $1 -- Name of the remote to which the push is being done
@kujotx
kujotx / chocolatey-auto-pkg.md
Created January 1, 2019 23:07
Chocolatey Automatic Package Log

REPLACE WITH LOG

@kujotx
kujotx / surface-pro4-chocolatey.ps1
Last active September 17, 2018 13:09
Exported clist that was replaced into a Chocolatey install script. I am going to have to rebuild my machine in a bit.
choco install chocolatey -Version 0.10.11
choco install chocolatey-core.extension -Version 1.3.3
choco install chocolatey-visualstudio.extension -Version 1.7.0
choco install chocolatey-windowsupdate.extension -Version 1.0.2
choco install ChocolateyPackageUpdater -Version 0.6.13.0
choco install 7zip -Version 18.5.0.20180730
choco install 7zip.install -Version 18.5.0.20180730
choco install adobereader -Version 2015.007.20033.02
choco install androidstudio -Version 3.1.4.0
choco install audacity -Version 2.2.2
@kujotx
kujotx / Update-Force-Test-.md
Created February 23, 2017 15:47
Update Force Test Report #powershell #chocolatey
@kujotx
kujotx / Update-Force-Test-.md
Created February 23, 2017 06:39
Update Force Test Report #powershell #chocolatey
@kujotx
kujotx / Update-Force-Test-.md
Created February 23, 2017 06:33
Update Force Test Report #powershell #chocolatey