Skip to content

Instantly share code, notes, and snippets.

View malog84's full-sized avatar
😃

Martin Lögdberg malog84

😃
View GitHub Profile
@malog84
malog84 / culture_to_currency.json
Created January 29, 2014 09:22
Mapping of culture code to three-character ISO 4217 currency symbol
[{"af-ZA":"ZAR"},
{"af-ZA":"ZAR"},
{"am-ET":"ETB"},
{"am-ET":"ETB"},
{"ar-AE":"AED"},
{"ar-BH":"BHD"},
{"ar-DZ":"DZD"},
{"ar-EG":"EGP"},
{"ar-IQ":"IQD"},
{"ar-JO":"JOD"},
@malog84
malog84 / EPiServer_GetContentFolderForPage.cs
Last active August 29, 2015 14:03
Get the content folder associated with a page in EPiServer 7.5 (something like 'PageFiles' in older versions of EPiServer)
using EPiServer.Core;
using EPiServer.ServiceLocation;
namespace EPiServerGists
{
public class Resources
{
/// <summary>
/// Get the content folder associated with a page (something like 'PageFiles' in older versions of EPiServer)
/// </summary>
@malog84
malog84 / boxstarter.txt
Last active February 24, 2016 20:31 — forked from timabell/boxstarter.ps1
http://boxstarter.org/ script for .net development in a vm
# boxstarter script http://boxstarter.org/
# source: https://gist.github.com/timabell/608fb680bfc920f372ac
# originally tested on win7 x64
# wip on win 8.1 build
# This is a start of a build of a box I'm using at the moment.
# Fork this to your own gist, then comment/uncomment/add stuff to suit you.
# Some context: I hate windows, and only use it for work, the rest of the time
# I'm on linux; so when I'm doing client work on my kit that needs windows (I'm