Skip to content

Instantly share code, notes, and snippets.

View rroman81's full-sized avatar

Roman Rozinov rroman81

View GitHub Profile
@rroman81
rroman81 / bxst-vs2015ent-w-ext
Last active December 20, 2016 14:24
Gist to provision the VS2015 custom extensions via boxstarter
Install-WindowsUpdate -Full
# Visual Studio 2015
cinst VisualStudio2015Enterprise
cinst VisualStudioCode
# VS extensions
Install-ChocolateyVsixPackage PowerShellTools https://visualstudiogallery.msdn.microsoft.com/c9eb3ba8-0c59-4944-9a62-6eee37294597/file/199313/2/PowerShellTools.14.0.vsix
Install-ChocolateyVsixPackage WebEssentials2015 https://visualstudiogallery.msdn.microsoft.com/ee6e6d8c-c837-41fb-886a-6b50ae2d06a2/file/146119/40/Web%20Essentials%202015.1%20v1.0.211.vsix
Install-ChocolateyVsixPackage T4Toolbox https://visualstudiogallery.msdn.microsoft.com/34b6d489-afbc-4d7b-82c3-dded2b726dbc/file/165481/4/T4Toolbox.14.0.0.76.vsix
@rroman81
rroman81 / boxstarter-dev-base
Last active November 27, 2018 01:04
boxstarter script to be used to provision basic tools for the developer workstation
# Allow reboots
$Boxstarter.RebootOk=$false
$Boxstarter.NoPassword=$false
$Boxstarter.AutoLogin=$false
# #Essentials
Update-ExecutionPolicy Unrestricted
# Modify explorer options to Show All Files and extensions
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
@rroman81
rroman81 / Boxstarter-install
Last active August 31, 2015 19:06
Boxstarter Install SP2013
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
cinst sysinternals
cinst 7zip
cinst notepadplusplus
cinst atom
cinst ulsviewer
cinst sharepointdesigner2013x64
cinst dotpeek
cinst fiddler4
@rroman81
rroman81 / gist:ddf18093adbb6111c7c6
Created April 12, 2012 20:22
Code to modify the web.config in SP system
var modifications = new List<SPWebConfigModification>()
{
new SPWebConfigModification("remove[@name='BotDetectCaptachHandler'",
"configuration/system.webServer/handlers")
{
Type = SPWebConfigModification.SPWebConfigModificationType.EnsureChildNode,
Value = @"<remove name='BotDetectCaptchaHandler'/>"
},
new SPWebConfigModification("add[@name='BotDetectCaptchaHandler'",
"configuration/system.webServer/handlers")