Skip to content

Instantly share code, notes, and snippets.

View tormaroe's full-sized avatar
💭
Doing some Go and then som JavaScript at the moment

Torbjørn Marø tormaroe

💭
Doing some Go and then som JavaScript at the moment
View GitHub Profile
@tormaroe
tormaroe / comp.lang.fsharp.fs
Created October 29, 2019 20:32
comp.lang.fsharp
// Bowling kata
type Spec = { Rolls: int list; Expected: int }
let specs = [
{ Rolls = [0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0]; Expected = 0 }
{ Rolls = [1;2;4;5;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0]; Expected = 12 }
{ Rolls = [1;2;4;6;3;4;0;0;0;0;0;0;0;0;0;0;0;0;0;0]; Expected = 23 }
{ Rolls = [5;5;5;5;5;5;5;5;5;5;5;5;5;5;5;5;5;5;5;5;5]; Expected = 150 }
{ Rolls = [1;2;10;3;4;0;0;0;0;0;0;0;0;0;0;0;0;0;0]; Expected = 27 }
@tormaroe
tormaroe / main.lua
Last active December 6, 2019 07:13
Speed Jumper (löve/Lua 2d game)
--[[
S P E E D J U M P E R
My first löve game (Lua 2d game)
Author: Torbjørn Marø
When: 2019.12.05
Objective: Get the highest score possible by eating green dots as rapidly as
you can manage while avoiding the red mines. Eating several dots in quick
@tormaroe
tormaroe / mål.md
Last active June 1, 2020 16:41
Lær kidden å kode, uke 1

Lær å kode, uke 1

VI skal begynne å lære et programmeringsspråk som heter JavaScript.

Mål for uken:

  1. Forstå hva en variabel er
  2. ForStå hva en funksjon er
  3. Kunne lage og bruke en enkel funksjon
@tormaroe
tormaroe / summary.md
Last active June 15, 2024 12:20
NDC { Oslo } 2024 personal summary

NDC { Oslo } 2024 was an awesome conference! I'm happy with all of my agenda selections. I met and talked to many developers from my past and some new ones, and I got to experience this with several of my colleagues. I had a lot of fun and I feel very inspired; there are several things from the conference that I want to follow up to learn more about and possibly apply to our work.

The two main topics from the conference agenda were event-driven architecture (and related architectural topics) and AI, but it also had a lot of great (softer) content about Life as a Developer.

Before the conference proper I attended a two-day workshop with Udi Dahan about Event-driven architecture (EDA), Service-oriented architecture, CQRS, DDD, etc.

Five key takeaways

1