Skip to content

Instantly share code, notes, and snippets.

View akuryan's full-sized avatar

Anton Kuryan akuryan

View GitHub Profile
@Splaxi
Splaxi / download-latest-release.ps1
Last active February 11, 2024 18:13 — forked from MarkTiedemann/download-latest-release.ps1
Download latest GitHub release via Powershell
# Download latest dotnet/codeformatter release from github
$repo = "jgm/pandoc"
$filenamePattern = "*x86_64.zip"
$pathExtract = "C:\Tools\pandoc"
$innerDirectory = $true
$preRelease = $false
if ($preRelease) {
$releasesUri = "https://api.github.com/repos/$repo/releases"
@itod
itod / split_keyboards.md
Last active April 25, 2024 16:26
Every "split" mechanical keyboard currently being sold that I know of
<#
Author(s): Bruce Lee, Grant Killian, Kelly Rusk, Jimmy Rudley
Created Date: August 4, 2016
Modified Date: May 3, 2017
This is the Rackspace Managed Services for Sitecore (https://www.rackspace.com/digital/sitecore) script for security hardening a Sitecore environment
If the Execution Policy does not allow execution, you may need to run the following interactively to allow a scoped session bypass.
This is secure as it requires interaction on server and cannot be executed from a script:
@kamsar
kamsar / Install Solr.ps1
Last active February 26, 2019 14:30
Sitecore Solr Cannon
# This script will set up (and install if needed) Apache Solr for a Sitecore instance.
# This does NOT configure Sitecore to use Solr,
# just the Solr server and cores for Sitecore to connect to once it is set up to use Solr.
# So, what does it do?
#
# * Installs SOLR, if needed, from the Bitnami SOLR stack: https://bitnami.com/stack/solr/installer
# * Creates a SOLR config set for the cores to share (shared schema)
# * Creates SOLR cores for all Sitecore indexes, including secondary cores to support online reindexing (Switch on Rebuild)
@jrgcubano
jrgcubano / IISproxyToTeamCitySteps.txt
Created November 26, 2015 10:53
Proxy using IIS to TeamCity site
Request:
Proxy to teamcity. Use a proxy in IIS and redirect "input" to "output".
Ideas:
http://jonalb.com/post/2010/10/23/TeamCity-On-Port-80-In-IIS.aspx
http://www.wrapcode.com/infrastructure/configure-reverse-proxy-with-url-rewrite-and-arr-for-iis/
Solution:
- Create an empty site in IIS
@nathanpjones
nathanpjones / Example.cs
Last active August 6, 2018 13:54
Monitored Lock
/*
* This is an example console application to illustrate the usage
* of the MonitoredLock class and technique.
*/
using System;
using System.Diagnostics;
using System.Threading;
namespace MonitoredLock
{