Skip to content

Instantly share code, notes, and snippets.

View gjungb's full-sized avatar

Gerd Jungbluth gjungb

View GitHub Profile
@gjungb
gjungb / machine.js
Created March 21, 2021 15:05
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@gjungb
gjungb / Blockchain.jl
Created August 29, 2019 11:20 — forked from TestSubjector/Blockchain.jl
A very basic implementation of a blockchain in Julia.
using SHA
using Dates
"""
An individual block structure
"""
struct Block
index::Int
timestamp::DateTime
data::String
previous_hash::String
@gjungb
gjungb / vms.md
Last active August 25, 2019 17:56
Self Scheme Java
Objekte Funktionen Primitives
Typsystem Scope Syntax
Vererbung Closure Name
VM VM

Virtual Machines (VM)

@gjungb
gjungb / exercise.md
Created August 9, 2019 08:39
Eine Übung zu Promises

Übung

  • Angang
  • Mitte
  • Ende
@gjungb
gjungb / exercise.md
Last active August 7, 2019 12:45
Übung

Eine Übung

  • Was ist eine Dampfmaschine

Stellen wir uns mal ganz dumm

const dampfmaschine = 'Ein großes Ungetüm!';
@gjungb
gjungb / first.js
Last active August 5, 2019 17:49
A jest and an impl
export function doStuff() {
return 42;
}

Arrays