Skip to content

Instantly share code, notes, and snippets.

View JayBazuzi's full-sized avatar

Jay Bazuzi JayBazuzi

View GitHub Profile
return Win()
.DoIfNull(Advantage)
.DoIfNull(ScoreNormal)
.DoIfNull(ScorePerson1)
.DoIfNull(ScorePerson2)
.DoIfNull(ScoreTie);
@JayBazuzi
JayBazuzi / ifstructure.cs
Last active July 30, 2016 20:24 — forked from isidore/ifstructure.cs
If structure
string result = null;
if (result == null)
result = Win();
if (result == null)
result = Advantage();
if (result == null)
result = ScoreNormal();
if (result == null)
result = ScorePerson1();
if (result == null)
@JayBazuzi
JayBazuzi / Boxstarter.ps1
Last active February 4, 2017 20:07
Boxstarter Script
Set-CornerNavigationOptions -EnableUpperRightCornerShowCharms -EnableUpperLeftCornerSwitchApps -EnableUsePowerShellOnWinX
Update-ExecutionPolicy RemoteSigned
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions
Enable-RemoteDesktop
Install-WindowsUpdate -acceptEula
#cinst sublimetext3 sublimetext3.packagecontrol
#cinst 7zip
cinst googlechrome