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
trigger: none | |
pr: | |
branches: | |
include: | |
- master | |
variables: | |
- name: COMPONENT_NAME | |
value: app |
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
CREATE CLUSTERED INDEX umbracoUserLogins_Index ON umbracoUserLogins (contextID) |
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 Examine; | |
using Umbraco.Core; | |
namespace Application.Events | |
{ | |
public class CustomApplicationEvent : ApplicationEventHandler | |
{ | |
public CustomApplicationEvent() | |
{ | |
ExamineManager.Instance.IndexProviderCollection["CustomIndexer"].GatheringNodeData |
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
@import url("http://fonts.googleapis.com/css?family=Roboto:400,700&.css"); |
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
// The below action works correctly when a template exists | |
// for the current page. When a template has not been selected | |
// or does not exist, the ambiguous action method | |
// exception occurs. | |
// | |
// I'm starting think this is correct behaviour because | |
// MyPageController has an action called Index and so does | |
// RenderMvcController. Therefore, having duplicate routes. | |
// | |
// What I'm not quite certain about is why the exception |
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.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Runtime.Serialization; | |
using System.Web.Script.Serialization; | |
using Newtonsoft.Json; | |
using Newtonsoft.Json.Linq; | |
using Umbraco.Core; | |
using Umbraco.Core.Events; | |
using Umbraco.Core.Models; |
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
DECLARE @NodeId INT | |
DECLARE my_cursor CURSOR local static read_only forward_only FOR | |
SELECT DISTINCT nodeid | |
FROM cmsdocument | |
OPEN my_cursor | |
FETCH next FROM my_cursor INTO @NodeId | |
WHILE @@FETCH_STATUS = 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
@{ | |
<ul> | |
@foreach (var hole in holes) | |
{ | |
<li> | |
Tee: @hole.Name | |
<ul> | |
<li>Par: @hole.Par</li> | |
<li>Stroke Index: @hole.StrokeIndex</li> | |
<li>Distance: @hole.Distance yards</li> |
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
var holes = Model.Content.GetPropertyValue<AgeBase.GolfHoleEditor.Models.GolfTees>("alias"); |
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
Install-Package AgeBase.GolfHoleEditor |
NewerOlder