Run your application using: `node debug xxx.js` then use the following commands to step-through the code (note: Ctrl+D to exit the debugger)...
`cont` -> continue running
`next` -> step over next statement
`step` -> step into next statement (if possible, otherwise it just steps over)
`out` -> step out of the currently executing function
`backtrace` -> show the current call execution frame or call stack
`repl` -> start the node repl to allow you to view variable values and execute code
`watch(expr)` -> add given expression to the watch list (which is shown whenever you step through anything in the debugger)| "use strict"; | |
| // `f` is assumed to sporadically fail with `TemporaryNetworkError` instances. | |
| // If one of those happens, we want to retry until it doesn't. | |
| // If `f` fails with something else, then we should re-throw: we don't know how to handle that, and it's a | |
| // sign something went wrong. Since `f` is a good promise-returning function, it only ever fulfills or rejects; | |
| // it has no synchronous behavior (e.g. throwing). | |
| function dontGiveUp(f) { | |
| return f().then( | |
| undefined, // pass through success |
Starting at a new employer always mean checking out various git repositories.
As the amount of repositories a company has grows, the time needed to clone all of those repositories also grows.
This script automates this task.
In order for this script to work, a personal access token is needed.
A list of playable boot sector games, most of which are on github. Fun to play, great to learn from. There are also many cool non-booting boot sectors out there that aren't games (so more like demos), but this page is just reserved to interactive boot sectors / games. This list is also not complete, but not on purpose, it is a best effort collection of games, so if you know of any fun boot sector games, please contribute.
This page lists a collection of 31 games spanning several authors: nanochess, me, daniel-e, shikhin, JulianSlzr, XanClic, QiZD90, darkvoxels, guyhill, w-shackleton, egtzori, VileR, ish_works, franeklubi, queso_fuego, franeklubi, Jethro82, waternine9, tevoran, palma3k, taylor-hartman. peterferrie should also be mentioned as he has touched a lot of these games.
https://github.com/daniel-e/tetros
Tetris Clone. Full color, no score. This was one of the older boot sector games out there.  | |
| // Copyright © 2016 Richard Moore (asyncronous version) | |
| // Copyright © 2019-2022 Ryan Castellucci (WebCrypto version) | |
| // | |
| // See also: | |
| // https://github.com/cryptocoinjs/scryptsy |
This is a 1.1kb polyfill for Module Workers.
It adds support for new Worker('..',{type:'module'}) to all modern browsers (those that support fetch).
Copy module-workers-polyfill.js to your web directory, then load it using an import or a script tag.
It just needs to be loaded before instantiating your Worker.
https://github.com/spieglt/cloaker - password-based file encryptor (NOTE: uses Qt)
https://github.com/str4d/rage - file encryption tool and librarary that uses the age format
https://github.com/mohanson/gameboy - gameboy emulator
https://github.com/bartwillems/lyriek - fetch the lyrics of a song playing in an mpris-compatible player
https://github.com/JakeStanger/mpd-discord-rpc - discordrpc for mpd
| export const CACHE_STALE_AT_HEADER = 'x-edge-cache-stale-at'; | |
| export const CACHE_STATUS_HEADER = 'x-edge-cache-status'; | |
| export const CACHE_CONTROL_HEADER = 'Cache-Control'; | |
| export const CLIENT_CACHE_CONTROL_HEADER = 'x-client-cache-control'; | |
| export const ORIGIN_CACHE_CONTROL_HEADER = 'x-edge-origin-cache-control'; | |
| enum CacheStatus { | |
| HIT = 'HIT', | |
| MISS = 'MISS', | |
| REVALIDATING = 'REVALIDATING', |