Notes


Require in ESM mode in nodejs

2020-10-07

Here's the way to get the old require back in nodejs when you are in ESM mode. At some point later you can use import.meta.resolve to resolve paths and what not but for now if you need require.resolve or even...


nodejs POST

2020-01-10

Dependency free post in nodejs. Is that a thing? Absolutely! Posting it here in case, like me, you got annoyed with all the express axiom blabla libraries for this. // If you're posting to http you'll need to import from http const https...


Use xrandr

2019-11-04

Linux has some good and some bad tools. Examples of good tools are xrandr and ffmpeg. You can use xrandr to configure screens in a very generic yet powerful manor. I recently bought a new screen and linux has some trouble reconnecting to it proper...


JS Proxy sentinal

2019-09-13

If you ever want to figure out where a value ends up being used, this may come in handy :) new Proxy({}, { getPrototypeOf: () => {throw new Error('poisoned getPrototypeOf')}, setPrototypeOf: () => {throw new Error('poisoned setPrototyp...


Books

2017-08-05

Ignore. This is kind of like a todo/wish list. Or maybe never. https://www.amazon.com/Rewriting-Systems-Cambridge-Theoretical-Computer/dp/0521391156/ Term Rewriting Systems [s] https://www.amazon.com/Term-Rewriting-That-Franz-Baader-eb...


MtG decks

2016-12-10

A log of decks that I built or draft decks I ended up with. Okay maybe not so long depending on how often I'll do a magic draft. Which, it turns out, may not be that often after all. I'm just listing it for the sake of having it somewhere. Maybe I ca...


Free startup ideas

2016-09-28

An ever growing list of random startup ideas in no particular order...


- CCG with full online/offline integration Collectible card game (like mtg) with a good client that recognizes cards and can put them into your account. Cards would...


Zenbook UX501VW-FJ024T and xubuntu 15.10 (attempt 2)

2016-09-02

This is continued from http://qfox.nl/notes/176 http://qfox.nl/notes/176 . State of affairs: Trying to properly setup xubuntu on a Zenbook UX501VW-FJ024T (2016 model). The zenbook has an intel and nvidia vga, 512gb ssd, 16g ram, and a Q...


Zenbook UX501VW-FJ024T and xubuntu 15.10 (attempt 1)

2016-08-10

This is a like a log of my travels trying to get stuff to work on a 2016 model Asus Zenbook (UX501VW-FJ024T) on Xubuntu 15.10. At the time of writing, 16.04 and 16.04.1 are a no-go, as it doesn't even properly boot up. There are a number of things br...


Fresh xubuntu install setup

2016-08-09

For my own reference, these are some of the steps to do after installing a fresh xubuntu. ymmv, wfm. Install git (apt-get install git) before updating the bashrc because I use git as part of the prompt. Setup ~/.bashrc...