Miscellaneous notes
Here you'll find my miscellaneous, mostly-unsorted notes on various topics.
Project ideas
Various ideas for projects that I do not yet have the time, knowledge or energy to work on. Feel ...
Javascript
Anything about Javascript in general, that isn't specific to Node.js.
Whirlwind tour of (correct) npm usage
This article was originally published at https://gist.github.com/joepie91/9b9dbd8c9ac3b55a65b2. ...
An overview of Javascript tooling
This article was originally published at https://gist.github.com/joepie91/3381ce7f92dec7a1e622538...
Monolithic vs. modular - what's the difference?
This article was originally published at https://gist.github.com/joepie91/7f03a733a3a72d2396d6. ...
Synchronous vs. asynchronous
This article was originally published at https://gist.github.com/joepie91/bf3d04febb024da89e3a3e6...
What is state?
This article was originally published at https://gist.github.com/joepie91/8c2cba6a3e6d19b275f...
Promises reading list
This article was originally published at https://gist.github.com/joepie91/791640557e3e5fd80861. ...
The Promises FAQ - addressing the most common questions and misconceptions about Promises
This article was originally published at https://gist.github.com/joepie91/4c3a10629a4263a522e3bc4...
Error handling (with Promises)
This article was originally published at https://gist.github.com/joepie91/c8d8cc4e6c2b57889446. I...
Bluebird Promise.try using ES6 Promises
This article was originally published at https://gist.github.com/joepie91/255250eeea8b94572a03. ...
Please don't include minified builds in your npm packages!
This article was originally published at https://gist.github.com/joepie91/04cc8329df231ea3e262dff...
How to get the actual width of an element in jQuery, even with border-box: box-sizing
This article was originally published at https://gist.github.com/joepie91/5ffffefbf24dcfdb4477. ...
A survey of unhandledRejection and rejectionHandled handlers
This article was originally published at https://gist.github.com/joepie91/06cca7058a34398f168...
Quill.js glossary
This article was originally published at https://gist.github.com/joepie91/46241ef1ce89c74958da0fd...
Riot.js cheatsheet
This article was originally published at https://gist.github.com/joepie91/ed3a267de70210b46fb06dd...
Quick reference for `checkit` validators
This article was originally published at https://gist.github.com/joepie91/cd107b3a566264b28a34946...
ES Modules are terrible, actually
This post was originally published at https://gist.github.com/joepie91/bca2fda868c1e8b2c2caf76af7...
A few notes on the "Gathering weak npm credentials" article
This article was originally published in 2017 at https://gist.github.com/joepie91/828532657d23d51...
Node.js
Things that are specific to Node.js. Note that things about Javascript in general, are found unde...
How to install Node.js applications, if you're not a Node.js developer
This article was originally published at https://gist.github.com/joepie91/24f4e70174d10325a9af743...
Getting started with Node.js
This article was originally published at https://gist.github.com/joepie91/95ed77b71790442b7e61. S...
Node.js for PHP developers
This article was originally published at https://gist.github.com/joepie91/87c5b93a5facb4f99d7b2a6...
Rendering pages server-side with Express (and Pug)
This article was originally published at https://gist.github.com/joepie91/c0069ab0e0da40cc7b54b8c...
Running a Node.js application using nvm as a systemd service
This article was originally published at https://gist.github.com/joepie91/73ce30dd258296bd24af23e...
Persistent state in Node.js
This article was originally published at https://gist.github.com/joepie91/bf0813626e6568e8633b. ...
node-gyp requirements
This article was originally published at https://gist.github.com/joepie91/375f6d9b415213cf4394b5b...
Introduction to sessions
This article was originally published at https://gist.github.com/joepie91/cf5fd6481a31477b12dc33a...
Secure random values
This article was originally published at https://gist.github.com/joepie91/7105003c3b26e65efcea63f...
Checking file existence asynchronously
This article was originally published at https://gist.github.com/joepie91/bbf495e044da043de2ba. ...
Fixing "Buffer without new" deprecation warnings
This article was originally published at https://gist.github.com/joepie91/a0848a06b4733d8c95c9523...
Why you shouldn't use Sails.js
This article was originally published at https://gist.github.com/joepie91/cc8b0c9723cc2164660e. ...
NixOS
Setting up Bookstack
Turned out to be pretty simple. deployment.secrets.bookstack-app-key = { source = "../private/...
A *complete* listing of operators in Nix, and their predence.
This article was originally published at https://gist.github.com/joepie91/c3c047f3406aea9ec65eebc...
Setting up Hydra
This article was originally published at https://gist.github.com/joepie91/c26f01a787af87a96f96721...
Stepping through builder steps in your custom packages
This article was originally published at https://gist.github.com/joepie91/b0041188c043259e6e1059d...
Using dependencies in your build phases
This article was originally published at https://gist.github.com/joepie91/b0041188c043259e6e1059d...
Source roots that need to be renamed before they can be used
This article was originally published at https://gist.github.com/joepie91/b0041188c043259e6e1059d...
Error: `error: cannot coerce a function to a string`
This article was originally published at https://gist.github.com/joepie91/b0041188c043259e6e1059d...
`buildInputs` vs. `nativeBuildInputs`?
This article was originally published at https://gist.github.com/joepie91/b0041188c043259e6e1059d...
QMake ignores my `PREFIX`/`INSTALL_PREFIX`/etc. variables!
This article was originally published at https://gist.github.com/joepie91/b0041188c043259e6e1059d...
Useful tools for working with NixOS
This article was originally published at https://gist.github.com/joepie91/67316a114a860d4ac6a9480...
Proprietary AMD drivers (fglrx) causing fatal error in i387.h
This article was originally published at https://gist.github.com/joepie91/ce9267788fdcb37f5941be5...
Installing a few packages from `master`
This article was originally published at https://gist.github.com/joepie91/ce9267788fdcb37f5941be5...
GRUB2 on UEFI
This article was originally published at https://gist.github.com/joepie91/ce9267788fdcb37f5941be5...
Unblock ports in the firewall on NixOS
This article was originally published at https://gist.github.com/joepie91/ce9267788fdcb37f5941be5...
Guake doesn't start because of a GConf issue
This article was originally published at https://gist.github.com/joepie91/ce9267788fdcb37f5941be5...
FFMpeg support in youtube-dl
This article was originally published at https://gist.github.com/joepie91/ce9267788fdcb37f5941be5...
An incomplete rant about the state of the documentation for NixOS
This article was originally published at https://gist.github.com/joepie91/5232c8f1e75a8f54367e5df...
Rust
Databases and data management
Maths and computer science
Articles and notes that are more about the conceptual side of maths and computer science, rather ...
Hardware
Associated notes about hardware hacking, maintenance, etc.
Server administration
General Linux server management notes, not specific to anything in particular.
Privacy
Security
The computer kind, mostly.
The Fediverse and Mastodon
Cryptocurrency
No, your cryptocurrency cannot work
This article was originally published at https://gist.github.com/joepie91/daa93b9686f554ac7097158...
Is my blockchain a blockchain?
This article was originally published at https://gist.github.com/joepie91/e49d2bdc9dfec4adc9d...
You don't need a blockchain.
This article was originally published at https://gist.github.com/joepie91/a90e21e3d06e1ad924a1bfd...
test.js
Test please ignore