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 express = require("express"), | |
open = require('open'), | |
app = express(), | |
port = ENTERPORT, | |
host = 'ENTER HOST IP'; | |
if(process.argv.length > 2) { | |
port = parseInt(process.argv[2]); | |
} |
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 EPiServer.Shell; | |
namespace Meridium.UIDescriptors | |
{ | |
[UIDescriptorRegistration] | |
public class PageDataUIDescriptor: UIDescriptor<PageData> | |
{ | |
public BasePageUIDescriptor() | |
{ | |
DefaultView = CmsViewNames.AllPropertiesView; |
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
co = checkout | |
ci = commit | |
st = status | |
log1 = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
lg1 = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
exclude = !sh -c 'echo "$1" >> .git/info/exclude' |
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 EPiServer; | |
using EPiServer.Core; | |
using EPiServer.ServiceLocation; | |
namespace Core.Properties | |
{ | |
public static class PropertyFinder | |
{ | |
public static T FindProperty<T>(PageData currentPage, string propertyName) |
NewerOlder