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 | |
| while read S ; do | |
| while read C ; do | |
| echo $C $S | |
| colourarray=($C) | |
| sizearray=($S) | |
| wget -O placeholder-${sizearray[0]}-${sizearray[1]}-${colourarray[2]}.png http://placehold.it/${sizearray[0]}x${sizearray[1]}/${colourarray[0]}/${colourarray[1]} | |
| done <colours.txt | |
| done <sizes.txt |
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
| [merge] | |
| tool = meld | |
| [mergetool "meld"] | |
| cmd = meld --diff \"$BASE\" \"$LOCAL\" \"$REMOTE\" --output \"$MERGED\" |
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
| .x-scope { | |
| background-color: #222327 !important; | |
| color: #FFE9BB !important; | |
| } | |
| .backgroundImages { | |
| display: none; | |
| } | |
| .backgroundContainer { | |
| display: none; | |
| } |
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
| <item component="ComponentInfo{com.airlocksoftware.hackernews/com.airlocksoftware.hackernews.activity.MainActivity}" drawable="y1"/> |
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
| <Target Name="AddCustomSkipRules"> | |
| <ItemGroup> | |
| <MsDeploySkipRules Include="SkipAppDataFolder"> | |
| <SkipAction></SkipAction> | |
| <ObjectName>dirPath</ObjectName> | |
| <AbsolutePath>$(_DestinationContentPath)\\App_Data$</AbsolutePath> | |
| <Apply>Destination</Apply> | |
| <XPath></XPath> | |
| </MsDeploySkipRules> |
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
| <processor type="LaunchSitecore.Configuration.AuthoringExperience.Processors.AliasRedirectResolver, LaunchSitecore" patch:instead="*[@type='Sitecore.Pipelines.HttpRequest.AliasResolver, Sitecore.Kernel']"/> |
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.Configuration; | |
| using Sitecore.Diagnostics; | |
| using Sitecore.Pipelines.HttpRequest; | |
| using System.Net; | |
| using System.Web; | |
| using AliasResolver = Sitecore.Pipelines.HttpRequest.AliasResolver; | |
| namespace LaunchSitecore.Configuration.AuthoringExperience.Processors | |
| { |
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.Runtime.Serialization; | |
| using System.Text.RegularExpressions; | |
| using Sitecore.Data.Items; | |
| using Sitecore.Data.Validators; | |
| using Sitecore.StringExtensions; | |
| namespace Your.Project.Configuration.AuthoringExperience.General | |
| { |
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
| @media embossed { | |
| body { | |
| background-color: #0A0; | |
| } | |
| } | |
| @media print { | |
| body { | |
| background-color: #A00; | |
| } | |
| } |
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
| var pathString = ''; | |
| var x = 0; // placeholder for where the drawing is up to | |
| var y = 0; | |
| var x1, x2, x3, x4; // co-ordinates for the four points of the diamond | |
| var y1, y2, y3, y4; | |
| for (var i = 0; i < 30; i++) { // grid of 30x30 diamonds | |
| for (var j = 0; j < 30; j++) { | |
| x1 = x + 0; | |
| y1 = y + 15; |