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
| #!/bin/bash | |
| # An set of disks to ignore from partitioning and formatting | |
| BLACKLIST="/dev/sda|/dev/sdb" | |
| # Base directory to hold the data* files | |
| DATA_BASE="/media" | |
| usage() { | |
| echo "Usage: $(basename $0) <new disk>" | |
| } |
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
| <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> | |
| <sitecore> | |
| <log4net> | |
| <appender name="UdpAppender" type="log4net.Appender.UdpAppender, Sitecore.Logging"> | |
| <remoteAddress value="127.0.0.1" /> | |
| <remotePort value="9000" /> | |
| <layout type="log4net.Layout.PatternLayout, Sitecore.Logging"> | |
| <conversionPattern value="%a @@@ %d{ABSOLUTE} @@@ %t @@@ %p @@@ %c @@@ %m" /> | |
| </layout> | |
| </appender> |
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
| <!-- Classic Razor Html helper: --> | |
| @await Html.Lightcore().PlaceholderAsync("menu") | |
| <div class="page"> | |
| @await Html.Lightcore().PlaceholderAsync("content") | |
| </div> | |
| <p>@await Html.Lightcore.RenderField("title")</p> | |
| @await Html.Lightcore.RenderField("text") | |
| <!-- Or ASP.NET Core TagHelper: --> |
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; | |
| using System.Collections.Generic; | |
| using log4net.Appender; | |
| using log4net.spi; | |
| using Sitecore.Data.Items; | |
| namespace SitecoreDiagnostics.NewRelic | |
| { | |
| public class Log4NetErrorAppender : AppenderSkeleton | |
| { |
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
| public class Hello() | |
| { | |
| public void Test() | |
| { | |
| } | |
| } |
NewerOlder