Skip to content

Instantly share code, notes, and snippets.

View mwhitis's full-sized avatar

Mike Whitis mwhitis

View GitHub Profile
## UPDATED 3/24/20 by M.Whitis for home use
######################
# Configure Chocolatey
######################
choco config set --name=cacheLocation --value=C:\ChocolateyCache
choco feature enable --name=allowGlobalConfirmation
choco feature enable --name=useRememberedArgumentsForUpgrades
## UPDATED 3/22/19 by M.Whitis for home use
######################
# Configure Chocolatey
######################
choco config set --name=cacheLocation --value=C:\ChocolateyCache
choco feature enable --name=allowGlobalConfirmation
choco feature enable --name=useRememberedArgumentsForUpgrades
## UPDATED 3/22/19 by M.Whitis for home use
######################
# Configure Chocolatey
######################
choco config set --name=cacheLocation --value=C:\ChocolateyCache
choco feature enable --name=allowGlobalConfirmation
choco feature enable --name=useRememberedArgumentsForUpgrades
## UPDATED 3/22/19 by M.Whitis for home use
######################
# Configure Chocolatey
######################
choco config set --name=cacheLocation --value=C:\ChocolateyCache
choco feature enable --name=allowGlobalConfirmation
choco feature enable --name=useRememberedArgumentsForUpgrades
@mwhitis
mwhitis / conemu.xml
Created July 6, 2018 20:29
current conemu
<?xml version="1.0" encoding="utf-8"?>
<key name="Software">
<key name="ConEmu">
<key name=".Vanilla" modified="2018-07-06 16:26:14" build="180528">
<value name="Language" type="string" data="en"/>
<value name="StartType" type="hex" data="02"/>
<value name="CmdLine" type="string" data=""/>
<value name="StartTasksFile" type="string" data=""/>
<value name="StartTasksName" type="string" data="{Powershell::Powershell}"/>
<value name="StartFarFolders" type="hex" data="00"/>
git config --global user.name "Michael Whitis"
git config --global user.email "michael.whitis@ge.com"
git config --global core.editor vim
git config --global color.ui true
git config --global autocrlf true
git config --global credential.helper wincred
@mwhitis
mwhitis / CloneAll.cmd
Last active March 5, 2018 15:57
Clone All Repos In an Org - Simple/Naive way to clone all repos in an org on a windows box
@setlocal
set GIT_BASE_URL = https://github.com
python getreponames.py %1> allrepos.txt
for /f %%a in (allrepos.txt) do (
git clone %GIT_BASE_URL/%1/%%a
)
. { Invoke-WebRequest -UseBasicParsing http://boxstarter.org/bootstrapper.ps1 } | Invoke-Expression
Get-Boxstarter -Force
Install-BoxstarterPackage `
-PackageName https://gist.githubusercontent.com/mwhitis/c999ff2e004336412ff568870d5f62db/raw/d412672e7aa2800f878f7de2b4f5d4c581312d44/Windows10-Setup.ps1 `
-Credential (Get-Credential -Message "Please provide login credentials for Boxstarter reboots")
@mwhitis
mwhitis / gist:ca19394202d18ba438d1cd584e42faae
Created September 8, 2017 13:22
boxstarter win 10 - 9.8.17
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar
Set-StartScreenOptions -EnableBootToDesktop -EnableDesktopBackgroundOnStart -EnableShowStartOnActiveScreen -EnableShowAppsViewOnStartScreen -EnableListDesktopAppsFirst
Set-CornerNavigationOptions -DisableUpperRightCornerShowCharms -DisableUpperLeftCornerSwitchApps -DisableUsePowerShellOnWinX
Set-TaskbarOptions -Lock -Dock Bottom
Update-ExecutionPolicy
choco install -y 7zip.install
choco install -y agentransack
choco install -y cmdermini
choco install -y curl
@mwhitis
mwhitis / gist:1fc07ce2f4661b5cddd1423b90b6321a
Created March 1, 2017 14:18
Boxstarter - Win 10 - Server
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar
Set-StartScreenOptions -EnableBootToDesktop -EnableDesktopBackgroundOnStart -EnableShowStartOnActiveScreen -EnableShowAppsViewOnStartScreen -EnableListDesktopAppsFirst
Set-CornerNavigationOptions -DisableUpperRightCornerShowCharms -DisableUpperLeftCornerSwitchApps -DisableUsePowerShellOnWinX
Set-TaskbarOptions -Lock -Dock Bottom
Update-ExecutionPolicy
choco install -y 7zip.install
choco install -y atom
choco install -y chrome
choco install -y cmder