This file contains hidden or 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
<html> | |
<head> | |
<title>Maintenance underway</title> | |
<meta http-equiv="cache-control" content="max-age=0" /> | |
<meta http-equiv="cache-control" content="no-cache" /> | |
<meta http-equiv="expires" content="0" /> | |
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" /> | |
<meta http-equiv="pragma" content="no-cache" /> | |
</head> | |
<body> |
This file contains hidden or 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
#------------- | |
# Script to loop over a list of URLs, make a HTTP HEAD request and check for (first) 301 response | |
# INPUT: A txt file with one URL per line | |
# | |
# OUTPUT: A CSV file with columns for: | |
# - RequestURI = the URI from than line in input file | |
# - StatusCode = response status code (blank if error code!) | |
# - Error = Error message (for 404 or 500 errors) | |
# |
This file contains hidden or 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.Linq; | |
using Umbraco.Web.Mvc; | |
namespace Endzone.Umbraco.PatternLib | |
{ | |
public class PatternLibRazorViewEngine : RenderViewEngine | |
{ | |
public PatternLibRazorViewEngine() : base() | |
{ | |
/* |
This file contains hidden or 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
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage | |
@using KS.Umbraco7.Calendar.Core | |
@{ | |
Layout = "Layout.cshtml"; | |
} | |
@section styles { | |
<link rel='stylesheet' href='//cdnjs.cloudflare.com/ajax/libs/fullcalendar/2.6.1/fullcalendar.min.css' /> | |
<link media="print" rel='stylesheet' href='//cdnjs.cloudflare.com/ajax/libs/fullcalendar/2.6.1/fullcalendar.print.css' /> | |
} |
This file contains hidden or 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
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage | |
@{ | |
Layout = "Layout.cshtml"; | |
} | |
<main> | |
<section id="content" class="offers"> | |
@{ | |
This file contains hidden or 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
namespace OnePageImpactReport.Models | |
{ | |
[UIOMaticAttribute("ImpactOrganisations", "icon-users", "icon-user")] | |
[TableName("ImpactOrganisations")] | |
[PrimaryKey("Id", autoIncrement = true)] | |
[ExplicitColumns] | |
public class ImpactOrganisation : IUIOMaticModel | |
{ | |
[UIOMaticIgnoreField] |
This file contains hidden or 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
<%@ Control Language="C#" AutoEventWireup="true" Inherits="uWhiteLabel.Install.InstallControl" %> | |
<div> | |
<h3>uWhiteLabel Installed Successfully!</h3> | |
</div> | |
<hr /> | |
<div> | |
<p class="umb-abstract">Instructions</p> | |
<ol> | |
<li>...more stuff here...</li> | |
</ol> |
This file contains hidden or 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.Xml; | |
using umbraco.interfaces; | |
using Umbraco.Core.IO; | |
using Umbraco.Core; | |
using uWhiteLabel.Properties; | |
namespace uWhiteLabel.Install | |
{ | |
public class uWhiteLabelDashboardAction : IPackageAction | |
{ |
This file contains hidden or 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
NewerOlder