HEADS UP! This list may be out of date. New Lists started at: https://gist.github.com/bjesuiter/7ad486562d75aa068c23a096670c28b3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class DemoComponent () { | |
constructor( | |
private router: Router, | |
) { | |
this.router.events | |
.pipe( | |
filter((event) => event instanceof NavigationEnd), | |
map(() => this.router.routerState.root), | |
map((route) => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
### | |
# This file can be sourced from a development shell (for example in VSCode) | |
# to make shortcut commands available for the project. | |
# This is kind of like your local build script system for each developer. | |
# | |
# This file should NOT be checked into version control! | |
# This file should contain shortcuts to other scripts with specialized settings, which are distinct for each developer. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Using Yaml to be able to use comments :) | |
# Source Gist: https://gist.github.com/bjesuiter/97e2cc820804003090d51e9656151062 | |
trailingComma: "es5" | |
printWidth: 100 | |
tabWidth: 2 | |
useTabs: true | |
singleQuote: true | |
bracketSpacing: true | |
arrowParens: "always" | |
semi: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {createLogger, format, transports} from 'winston'; | |
import * as configService from '../config.service.js'; | |
import {SPLAT} from 'triple-beam'; | |
import jsonColorize from 'json-colorizer'; | |
const {combine, timestamp, printf, colorize} = format; | |
const jsonColorizeOptions = { | |
pretty: true, | |
colors: { |
The presenter mode does not show the slide contents of the current slide. This is very unfortunate, since it requires looking at the beamer when presenting, especially when no notes are attached to a specific slide.
This Gist contains some more debugging information for the following issue:
evertramos/nginx-proxy-automation#144
- My nginx-web container is called bnware-reverse-nginx-web
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* bjesuiter's CSS Reset, last updated 2024-04-30 | |
* My Github Gist: https://gist.github.com/bjesuiter/71bd3f919c9a70d0a41553fada832174 | |
* | |
* Based on: Josh's Custom CSS Reset | |
* Blogpost: https://www.joshwcomeau.com/css/custom-css-reset/ | |
* | |
* Added: Font Size Considerations from this blogpost: | |
* - Blogpost: https://adrianroselli.com/2024/03/the-ultimate-ideal-bestest-base-font-size-that-everyone-is-keeping-a-secret-especially-chet.html | |
* - Video from t3dotgg: https://www.youtube.com/watch?v=rg3zgQ3xBRc |