Skip to content

Instantly share code, notes, and snippets.

View crunchie84's full-sized avatar
🦑
Focusing

Mark van Straten crunchie84

🦑
Focusing
View GitHub Profile
@crunchie84
crunchie84 / karma.conf.js
Created April 18, 2013 09:28
example configuration + proj setup of Karma (formerly known as Testacular) - see http://karma-runner.github.io/0.8/config/files.html for documentation
basePath = '';// base path, that will be used to resolve files and exclude
files = [
JASMINE, JASMINE_ADAPTER,
'js/libs/jquery-*.min.js',
// source files
'js/my-epic-menu.js',
//the tests (specs)
'tests/spec/**/*.js'
@crunchie84
crunchie84 / create-azure-certificate.bat
Created April 18, 2013 08:48
example batch file to generate a certificate for usage in the Azure management portal
@echo off
SET subjectName="My-Azure-Certificate"
SET outputCertFile="AzureConf.cer"
SET storeName="My"
SET storeLocation="LocalMachine"
CALL "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\makecert" -r -pe -a sha1 -n CN=%subjectName% -ss %storeName% -sr %storeLocation% -len 2048 -sp "Microsoft Enhanced RSA and AES Cryptographic Provider" -sy 24 %outputCertFile%
@crunchie84
crunchie84 / VS References Yuml.ps1
Last active December 10, 2015 23:28 — forked from DanTup/VS References Yuml.ps1
dependecy graph yuml generator for c# projects fork from http://blog.dantup.com/2012/05/free-dependency-graph-generation-using-powershell-and-yuml Tweaked because my powershell gave some errors about missing values for Mandatory attribute and ValueFromPipeline
function Get-ProjectReferences
{
param(
[Parameter(Mandatory=$True)]
[string]$rootFolder,
[string[]]$excludeProjectsContaining
)
dir $rootFolder -Filter *.csproj -Recurse |