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
# This file shows how to setup the template for your projects | |
include: | |
- project: 'templates' | |
file: 'gitlab-templates/dotnet-framework.v1.gitlab-ci.yml' | |
variables: | |
ENABLE_UNITTESTS: 'true' | |
DEFAULT_IIS_SITENAME: "my-awesome-deployment.nl" # For dev deploys this gets prefixed with 'development.', for prod it gets prefixed with 'www.' | |
DEFAULT_DEVELOPMENT_URL: "https://my-awesome-deployment.devserver.nl/" | |
DEFAULT_PRODUCTION_URL: "https://www.my-awesome-deployment.nl/" |
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
*.doc diff=astextplain | |
*.DOC diff=astextplain | |
*.docx diff=astextplain | |
*.DOCX diff=astextplain | |
*.dot diff=astextplain | |
*.DOT diff=astextplain | |
*.pdf diff=astextplain | |
*.PDF diff=astextplain | |
*.rtf diff=astextplain | |
*.RTF diff=astextplain |
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
<?xml version="1.0" encoding="utf-8" ?> | |
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:set="http://www.sitecore.net/xmlconfig/set/" | |
xmlns:role="http://www.sitecore.net/xmlconfig/role/" xmlns:search="http://www.sitecore.net/xmlconfig/search/"> | |
<sitecore search:require="Solr"> | |
<contentSearch> | |
<configuration type="Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch"> | |
<indexes hint="list:AddIndex"> | |
<index id="sitecore_sxa_master_index"> | |
<param desc="core">{othername}_sxa_master_index</param> | |
</index> |
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
<# | |
.SYNOPSIS | |
You can use this script to easly transform any XML file using XDT. | |
To use this script you can just save it locally and execute it. The script | |
will download it's dependencies automatically. | |
#> | |
[cmdletbinding()] | |
param( | |
[Parameter( | |
Mandatory=$true, |
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
public unsafe class MemoryMapAccessor : IDisposable | |
{ | |
const long ChunkSize = 1 << 20; // 1MByte | |
const long ChunkSizeModMask = ChunkSize - 1; // mask for taking modulo | |
private FileInfo fi; | |
private long _size; // the file size in bytes | |
private long _chunkCount; // number of anticipated chunks | |
private bool[] _chunkLoaded = null; |
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
import re | |
import os | |
import uuid | |
import json | |
import socket | |
import urllib, urllib2 | |
import time | |
def get_current_ip(): | |
req = urllib2.Request('http://checkip.dyndns.org/') |