Skip to content

Instantly share code, notes, and snippets.

View EspenBrun's full-sized avatar

Espen Kirkesæther Brun EspenBrun

View GitHub Profile
@EspenBrun
EspenBrun / Platform.cs
Created August 22, 2019 12:45
Microservice Monolith
using System;
using System.Net.Http;
namespace Platform
{
// the platform controls the dependency injection
// External world calls internal-api/create-invoice
// A internal-api can call a module-api
// A module-api can not call another module-api
// If a module-api needs to call another package/microservice, it needs to specify the interface in its Client Library
@EspenBrun
EspenBrun / Intellij Shortcut list
Created April 18, 2017 21:18 — forked from oginorasta/Intellij Shortcut list
All the shortcuts I know and use in Intellij Idea resp. Android Studio. v 1.0
Strg Alt Shift Key Function
x Einf Generate/Insert dialog
x x ENTER Statements completion like blocks and brackets
x x T Surrond codeblock with…
x W Select succesively increasing code blocks
x F11 bookmarks and mark the line with selected key
x F11 invokes a list of bookmarks. Pressing a key takes to associated bookmark.
x x Backspace go to most recent code edit. Hit again to go even further back.
x E recent opened files
x x E recent edited files
@EspenBrun
EspenBrun / NorskeBokstaver.java
Last active February 3, 2017 11:27
Vise æøå i showMessageDialog
import static javax.swing.JOptionPane.*;
class NorskeBokstaver {
public static void main(String[] args){
showMessageDialog(null,"\u00e6\u00f8\u00e5"); //æøå
showMessageDialog(null,"\u00c6\u00d8\u00c5"); //ÆØÅ
}
}