A collection of BoxStarter configuration examples from my personal toolbelt.
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
{ | |
"final_space": true, | |
"console_title": true, | |
"console_title_style": "folder", | |
"blocks": [ | |
{ | |
"type": "prompt", | |
"alignment": "left", | |
"horizontal_offset": 0, | |
"vertical_offset": 0, |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading; | |
namespace Mvc.Infrastructure.Sitecore.Events | |
{ | |
public class SimpleEventAggregator : IEventAggregator | |
{ | |
private readonly Dictionary<Type, List<WeakReference>> _eventSubscriberLists = |
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 Get-FileEncoding | |
{ | |
[CmdletBinding()] Param ( | |
[Parameter(Mandatory = $True, ValueFromPipelineByPropertyName = $True)] [string]$Path | |
) | |
[byte[]]$byte = get-content -Encoding byte -ReadCount 4 -TotalCount 4 -Path $Path | |
C:\WINDOWS\system32>choco list -lo -i
Chocolatey v0.10.3
7zip 16.02.0.20160811
7zip.install 16.02.0.20160811
chocolatey 0.10.3
curl 7.28.1
DotNet4.5 4.5.20120822
DotNet4.5.2 4.5.2.20140902
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
using System; | |
using Mvc.Infrastructure; | |
using Mvc.Infrastructure.Sitecore.Events; | |
namespace Mvc.Website.layouts.Event_Sublayouts | |
{ | |
public partial class Sample_Event_Consumer : System.Web.UI.UserControl, ISubscriber<FooHappened> | |
{ | |
// private EventHandler m_handler; |
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
<%@Application Language='C#' Inherits="Website.Global" CodeBehind="Global.asax.cs" %> |
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
7zip 16.02 | |
7zip.install 16.02 | |
agentransack 7.0.828.1 | |
autohotkey.portable 1.1.24.00 | |
chocolatey 0.9.10.3 | |
dependencywalker 2.2.6000.7 | |
docker 1.12.0 | |
DotNet4.5.2 4.5.2.20140902 | |
Evernote 5.9.9.9915 | |
fiddler4 4.6.2.29442 |
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
{ | |
"actions": { | |
"GET": [ | |
{ | |
"FetchEntities": { | |
"returnType": "SitecoreCms.Models.SimpleData[]", | |
"properties": {} | |
} | |
}, | |
{ |
NewerOlder