This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
choco install nodejs | |
choco install notepadplusplus.install | |
choco install 7zip.install | |
choco install adobereader | |
choco install fiddler | |
choco install visualstudiocode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$myWindowsID=[System.Security.Principal.WindowsIdentity]::GetCurrent() | |
$myWindowsPrincipal=new-object System.Security.Principal.WindowsPrincipal($myWindowsID) | |
$adminRole=[System.Security.Principal.WindowsBuiltInRole]::Administrator | |
if ($myWindowsPrincipal.IsInRole($adminRole)) | |
{ | |
$Host.UI.RawUI.WindowTitle = $myInvocation.MyCommand.Definition + "(Elevated)" | |
$Host.UI.RawUI.BackgroundColor = "DarkBlue" | |
Clear-Host |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function cblNamesChecked(event) { | |
var checkBoxList = document.getElementById("<%=cblNames.ClientID %>"); | |
var checkBoxes = checkBoxList.getElementsByTagName("input"); | |
event = event || window.event; | |
var target = event.target || event.srcElement; | |
if (target.id == "cblNames_0") { | |
for (var i = 0; i < checkBoxes.length; i++) { | |
checkBoxes[i].checked = target.checked; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Create-WebSite | |
{ | |
Push-Location ..\ | |
$webSiteContainer = "WebSite" | |
Remove-Item .\$webSiteContainer -Recurse -Force | |
New-Item -ItemType "directory" -Name $webSiteContainer | Out-Null | |
$items = Get-ChildItem -Recurse -Filter "*.html" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions | |
Enable-RemoteDesktop -Disable-InternetExplorerESC -Disable-UAC -Enable-MicrosoftUpdate | |
cinst git | |
cinst javaruntime | |
cinst notepadplusplus | |
cinst 7zip | |
cinst 7zip.commandline | |
cinst adobereader | |
cinst nodejs |