Skip to content

Instantly share code, notes, and snippets.


Peter Stålbrand Liteolika

View GitHub Profile
Liteolika /
Created Apr 17, 2020 — forked from JamesMGreene/
A comparison of using `git flow` commands versus raw `git` commands.


gitflow git
git flow init git init
  git commit --allow-empty -m "Initial commit"
  git checkout -b develop master

Connect to the remote repository

Liteolika / Program.cs
Created Jan 31, 2019
Lite leksaker till Salim
View Program.cs
using System;
using System.Runtime.InteropServices;
namespace SalimsLekstuga
class Program
static void Main(string[] args)
var lek = new SalimsLeksak();
Liteolika / gist:7516007
Created Nov 17, 2013
To view Json in Internet Explorer.
View gist:7516007
Windows Registry Editor Version 5.00;
; Tell IE 7,8,9,10 to open JSON documents in the browser on Windows XP and later.
; 25336920-03F9-11cf-8FD0-00AA00686F13 is the CLSID for the "Browse in place" .
[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/json]
Liteolika / gist:6727302
Created Sep 27, 2013
How to get typescript compiled in VS2012 when it doesnt do it at save.
View gist:6727302
Unload the project, edit the csproj file to add this.
<Target Name="BeforeBuild">
<Exec Command="&quot;$(PROGRAMFILES)\Microsoft SDKs\TypeScript\tsc.exe&quot; @(TypeScriptCompile ->'&quot;%(fullpath)&quot;', ' ')" />