It's really annoying when you click a YouTube thumbnail in the Google search results now because it doesn't take you to the target site like any other search result. Nope. Now YouTube results are "special" because they want to take you on a "video voyage" to discover the thing you clicked on and they show you a stupid embedded player with crappy video quality that plays right in the Google search results page. (Only for YouTube results! That's not confusing at all!)
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
/** @file SAMPLE code with unchanged import paths, from a VITE/REACT app. */ | |
import { Disposable } from "@/base/types"; | |
import { Lifecycle, delay } from "@/base/di"; | |
import { Registry } from "@/platform/registry"; | |
import { ILogger } from "@/platform/logger/LoggerService"; | |
const { | |
acquire, | |
registerClass, | |
registerInjectable, |
How to create a PWA with a local server that starts on demand using systemd
on
Linux.
The steps below are very rough and would need to be automated during app
installation. These notes are geared for Arch/Manjaro Linux. Your path to systemd-socket-proxyd
might be different.
_(Something similar can be done with macOS' launchd
service. Windows has
nothing for this except for some really complicated .NET-centric services that
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
/** | |
* @file Styling functions for `console.log`. | |
* Usage: See testing area at bottom of file. | |
* References: | |
* - https://developer.mozilla.org/en-US/docs/Web/API/console#styling_console_output | |
*/ | |
const defaultStyles: Record<string, string> = { | |
// #region Colors | |
black: "color: black", |
- https://www.youtube.com/watch?v=3eJZLklAyM8
- https://www.youtube.com/watch?v=-Eov3Z6hkSk
- https://www.youtube.com/watch?v=3mS80DVnXHE&list=PLRtsrUljxYINXIzmJ_9O5pM1sdtg6wYo-&index=10
- https://www.youtube.com/watch?v=iCMhGpIA18I&list=PLRtsrUljxYINXIzmJ_9O5pM1sdtg6wYo-&index=11
- https://www.youtube.com/watch?v=-D-xUjUc0ak
- https://www.youtube.com/watch?v=AsD5u6k6dKI
- https://www.youtube.com/watch?v=q6UB8sKMZrA
- https://www.youtube.com/watch?v=3tFdOqKV2Iw
- [https://www.youtube.com/watch?v=7iSOMLkFizU](https://www.youtube.com/watch?v=7iSO
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 Foundation | |
protocol ComponentObject { | |
var name: String { get } | |
} | |
private var _idPrev = 0; | |
private func defaultName(baseName: String) -> String { | |
return baseName + String(++_idPrev) | |
} |