Skip to content

Instantly share code, notes, and snippets.

Anton Kuryan akuryan

Block or report user

Report or block akuryan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
akuryan / transform.ps1
Last active Oct 20, 2019
Gets files in folder to be used as transformation files
View transform.ps1
Write-Output "Starting collecting files for transformations"
if ([string]::IsNullOrWhiteSpace($folderWithTransforms)) {
View z.CDProd.ScalabilitySettings.config
<?xml version="1.0"?>
<configuration xmlns:patch="">
Unique name for Sitecore instance.
Default value: (machine name and IIS site name)
<setting name="InstanceName">
<patch:attribute name="value"></patch:attribute>
akuryan / example.cspoj.addition
Last active Jan 11, 2016
Modify .csproj to include file content in delivery only once
View example.cspoj.addition
<!-- Due to known error (
View gist:855d819530bf42074e07
#Switches slots on azure web app (expects that there is only one deployment slot present)
#Example usage: .\SwitchAzureWebsite.ps1 username password "some subscription name" "some-webappname"
#username - user with co-administrator rights on subscription
#password - password for this user
#some sbuscription name - name of subscrtion
#"some-webappname" - webapp to switch slot for
View GetAzureSubscription.psm1
function GetAzureSubscription([string]$userName, [string]$password, [string]$subscriptionName)
$secpasswd = ConvertTo-SecureString $password -AsPlainText -Force
$cred = New-Object System.Management.Automation.PSCredential ($userName, $secpasswd)
Add-AzureAccount -Credential $cred
Select-AzureSubscription -SubscriptionName $subscriptionName -Current
akuryan / gist:aa458edd325ff840eb97
Created Jul 14, 2014
Small script to start weinre remote debugging server
View gist:aa458edd325ff840eb97
# chkconfig: 35 99 99
# description: Node.js /home/nodejs/sample/app.js
. /etc/rc.d/init.d/functions
You can’t perform that action at this time.