Skip to content

Instantly share code, notes, and snippets.

View leobm's full-sized avatar

Felix Wittmann leobm

  • Hamburg, Germany
View GitHub Profile
Scenario: Repost a 3D Post
Given there is user A
And there is user B following user A
And there is user C following user B
And there is user D following user A and B
And user A posted a photo P1
And user A posted a 3D photo P2
When user B reposted P2 as P3
Then the feeds should be like:
| feed | of | count | contains | because |
@hausdorff
hausdorff / math.asm
Last active December 3, 2023 19:00
mod and div implemented in 6502 asm
; load some data up
LDA #$7
STA $00 ; memory addr A
LDA #$05
STA $01 ; memory addr B
JMP Divide
;modulus, returns in register A
Mod:
LDA $00 ; memory addr A
@jerrypnz
jerrypnz / poll.rkt
Last active November 20, 2018 22:10
Play with Racket stateful servlet. This demo is a polling program.
#lang racket
(require web-server/http
web-server/managers/none
web-server/servlet
web-server/servlet-env)
(provide interface-version manager star-polling-app)
(define interface-version 'v2)