The popular open-source contract for web professionals by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: March 15th 2016
- Original post
# Set Intel(R) Speed Shift Technology to Enabled | |
setup_var 0x4BC 0x1 | |
# Set CFG Lock to Disabled | |
setup_var 0x4ED 0x0 | |
# Set Overclocking Lock to Disabled | |
setup_var 0x59C 0x0 | |
# Set OverClocking Feature to Enabled |
using System; | |
using Umbraco.Core; | |
using Umbraco.Core.Composing; | |
using Umbraco.Core.Configuration; | |
using Umbraco.Core.Logging; | |
using Umbraco.Core.PropertyEditors; | |
using Umbraco.Core.Runtime; | |
using Umbraco.Core.Services; | |
using Umbraco.Web.PropertyEditors; |
#region | |
using System; | |
using System.Linq; | |
using System.Net.Http; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using System.Web.Http; | |
using Umbraco.Core; | |
using Umbraco.Core.Models; |
public class NestedContentEditorGroupHandler : ApplicationEventHandler | |
{ | |
protected override void OnApplicationStarted(object sender, EventArgs e) | |
{ | |
base.OnApplicationStarted(sender, e); | |
var dtMap = Mapper.FindTypeMapFor<IDataTypeDefinition, DataTypeBasic>(); | |
dtMap?.AddAfterMapAction((s, d) => | |
{ | |
var src = (IDataTypeDefinition) s; |
public class Global : UmbracoApplication | |
{ | |
protected override void OnApplicationStarting(object sender, EventArgs e) | |
{ | |
GlobalFilters.Filters.Add(new RemoveHtmlWhitespaceFilterAttribute()); | |
base.OnApplicationStarting(sender, e); | |
} | |
} |