Skip to content

Instantly share code, notes, and snippets.

View rudzen's full-sized avatar
💭
I may be slow to respond.

rudzen

💭
I may be slow to respond.
View GitHub Profile
@rudzen
rudzen / gist:2a0cff489a28dc0f33b1f001bce24a76
Created August 2, 2017 16:00 — forked from chunkyguy/gist:5986168
std::unique_ptr: Creating unique_ptr to hold array of pointers to something.
// unique_ptr
// Case 1: Array of type
// Case 2: Array of pointer to type
#include <iostream>
#include <memory>
class Bar {
public:
Bar(float b) : bb(b) {
@rudzen
rudzen / GenerateSitecoreNugetPackages.ps1
Created September 18, 2018 14:57 — forked from asmagin/GenerateSitecoreNugetPackages.ps1
Powershell script to generate nuget packages with dependencies
param(
[string] $Major = "8",
[string] $Minor = "1",
[string] $Update = "0",
[string] $Date = "151003",
[string] $nugetPath = ".\tools\nuget.exe",
[string] $downloadsPath = ".\downloads",
[string] $nuspecTemplate = ".\tools\package.nuspec.xml",
[string] $apiKey,
[string] $nugetFeed = "http://use-your.own/nuget/Sitecore-Libs"
@rudzen
rudzen / UUIDUtils.java
Created July 9, 2022 19:15 — forked from davidmc24/UUIDUtils.java
Convert Microsoft GUID to Java UUID
// Original source: https://github.com/zagyi/adsync4j/blob/master/core/src/main/java/org/adsync4j/impl/UUIDUtils.java
/*******************************************************************************
* ADSync4J (https://github.com/zagyi/adsync4j)
*
* Copyright (c) 2013 Balazs Zagyvai
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at