Skip to content

Instantly share code, notes, and snippets.

View rvanlaar's full-sized avatar

Roland van Laar rvanlaar

View GitHub Profile
@rvanlaar
rvanlaar / backtrace.txt
Created December 21, 2019 11:45
scummvm backtrace
#0 0x00007ffff6cb63eb in __GI_raise (sig=sig@entry=6)
at ../sysdeps/unix/sysv/linux/raise.c:50
#1 0x00007ffff6c95899 in __GI_abort () at abort.c:79
#2 0x00007ffff6d0038e in __libc_message
(action=action@entry=do_abort, fmt=fmt@entry=0x7ffff6e293a5 "%s\n")
at ../sysdeps/posix/libc_fatal.c:181
#3 0x00007ffff6d084dc in malloc_printerr
(str=str@entry=0x7ffff6e274b6 "corrupted size vs. prev_size") at malloc.c:5332
#4 0x00007ffff6d08b4b in unlink_chunk
(p=p@entry=0x555558be6710, av=0x7ffff6e5ab80 <main_arena>) at malloc.c:1454
@rvanlaar
rvanlaar / Director.md
Last active November 23, 2019 15:24
Ongoing documentation about the SCUMMVM director engine.

Goals

The wanted outcome is to be able to play safecracker and traitor's gate via https://scummvm.org . To achieve this, there are a few goals:

  • get other people on board
  • Document current knowledge about the format so that other can pick it up quickly.
  • Get a feeling for how Director works and the internal file layout works
  • Figure out what does and doesn't work in the engine
@rvanlaar
rvanlaar / ov-fiets.sh
Created November 1, 2019 15:49
Fetch available OV-fietsen around Amsterdam.
#!/usr/bin/env bash
# Required curl and jq: https://github.com/stedolan/jq
function fetch() {
echo -n "$1"
curl -s https://www.ns.nl/rio-station-information-api/ovfiets/$2/summary |jq .availableBikes
}
fetch "Centraal: " asd
fetch "Amstel: " asa
Installeer Chrome:
https://www.google.com/chrome/
Code editor:
https://makecode.microbit.org/beta