Skip to content

Instantly share code, notes, and snippets.

View ebalders's full-sized avatar

Erik Balderson ebalders

View GitHub Profile
if (Test-Path -Path "$env:TEMP\QuickAssist") { Remove-Item -Path "$env:TEMP\QuickAssist" -Recurse -Force }
New-Item -Path "$env:TEMP\QuickAssist" -ItemType Directory -Force
$splat = @{
Uri = 'http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/8d0b9e7a-4003-4ac6-be5f-e404017dcfaf?P1=1725680910&P2=404&P3=2&P4=FnHO4V8KKLtnpEBRswocNrNVRwp8mYxhexd5ChhGdnR0Y2P7285LX4gI%2fOBSUd891u02SvKsx%2bMIwRoHViqCdw%3d%3d'
OutFile = "$env:TEMP\QuickAssist\QuickAssist.AppxBundle"
}
Invoke-WebRequest @splat
$splat = @{
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
Enable-RemoteDesktop
cinst fiddler4
cinst sublimetext3
cinst Microsoft-Hyper-V-All -source windowsFeatures
cinst IIS-WebServerRole -source windowsfeatures
cinst choco install insomnia-rest-api-client
foreach (var lp in c.LessonPlans)
{
var copy = new LessonPlan(lp.Name, lp.Organization)
{
Association = lp.Association,
Category = lp.Category,
Class = null,
Course = c2,
Description = lp.Description,
EstimatedDate = lp.EstimatedDate,
public IList<IndustryCode> GetAll(bool excludeCats = true)
{
var qo = M3QueryOver.Of<IndustryCode>();
qo.Where(c => c.DD == null);
if (excludeCats)
{
qo.Where(c => c.ParentIndustryCode != null);
}
@ebalders
ebalders / boxstarter
Last active October 5, 2016 13:54
boxstarter
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
Enable-RemoteDesktop
choco install powershell
cinst dotnet3.5
cinst dotnet4.0
cinst dotnet4.5
# Dev