Skip to content

Instantly share code, notes, and snippets.

Avatar

Felix felix-steiny

View GitHub Profile
View gist:3f7da500d51eba41646b776f1a452815
Assert.AreEqual((LogLevels.Fatal & targetLogLevel) == LogLevels.Fatal,
_logInstance.IsLevelEnabled((int)LogLevels.Fatal));
Assert.AreNotEqual((LogLevels.Error & targetLogLevel) == LogLevels.Error,
_logInstance.IsLevelEnabled((int)LogLevels.Error));
Assert.AreEqual((LogLevels.Fatal & targetLogLevel) == LogLevels.Fatal,
_logInstance.IsLevelEnabled((int)LogLevels.Fatal));
@felix-steiny
felix-steiny / Config_Enable-Disable_Sitecore_8.1_upd3.csv
Last active Oct 20, 2016 — forked from michaellwest/Config_Enable-Disable_Sitecore_8.1_upd3.csv
The following script imports the specified Sitecore Role configuration csv and automatically enables or disables the configs.
View Config_Enable-Disable_Sitecore_8.1_upd3.csv
Product Filepath Filename DefaultExtension Provider CD CM PRC CMP RPT
Platform \ Web.config config Enable Enable Enable Enable Enable
Platform \App_Config\ Commands.config config Enable Enable Enable Enable Enable
Platform \App_Config\ ConnectionStrings.config config Enable Enable Enable Enable Enable
Platform \App_Config\ ConnectionStringsOracle.config config Enable Enable Enable Enable Enable
Platform \App_Config\ FieldTypes.config config Enable Enable Enable Enable Enable
Platform \App_Config\ Icons.config config Enable Enable Enable Enable Enable
Platform \App_Config\ LanguageDefinitions.config config Enable Enable Enable Enable Enable
Platform \App_Config\ MimeTypes.config config Enable Enable Enable Enable Enable
Platform \App_Config\ Portraits.config config Enable Enable Enable Enable Enable