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.IO; | |
using System.Text; | |
using System.Web; | |
using Sitecore.Data.Items; | |
using Sitecore.Diagnostics; | |
using Sitecore.Form.Core.Configuration; | |
using Sitecore.Form.Core.Utility; | |
using Sitecore.Forms.Core.Commands.Export; | |
using Sitecore.IO; |
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 Sitecore; | |
using Sitecore.Data; | |
using Sitecore.Data.Items; | |
using Sitecore.Diagnostics; | |
using Sitecore.Form.Core.Configuration; | |
using Sitecore.Form.Core.DatViewer.Data; | |
using Sitecore.Form.Core.Pipelines.Export; | |
using Sitecore.Form.Core.Utility; | |
using Sitecore.Forms.Core.Commands; | |
using Sitecore.Forms.Core.Data; |
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> | |
<sitecore> | |
<commands> | |
<command name="your:command" type="YourFullyQualifiedType,YourAssembly"/> | |
</commands> | |
</sitecore> | |
</configuration> |
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.Net.Mail; | |
using Sitecore.Data.Items; | |
using Sitecore.Diagnostics; | |
using Sitecore.Workflows.Simple; | |
using Sitecore.Links; | |
namespace YOURPROJECTNAMESPACE | |
{ | |
public class EmailAdmin | |
{ |
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 void Execute(Item[] items, Sitecore.Tasks.CommandItem command, Sitecore.Tasks.ScheduleItem schedule) | |
{ | |
Sitecore.Diagnostics.Log.Info("My Sitecore scheduled task is being run!", this); | |
} |
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
#lang racket | |
(define (iqueens L a d) ;; gives all of the queen solutions | |
(if (null? L) | |
(list a) | |
(append-map (λ(x) | |
(if(diagonal? x a 1) | |
'() | |
(iqueens (remove x L) (cons x a) 1)) | |
) | |
L))) |
NewerOlder