A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://gist.github.com/rauschma below:

rauschma’s gists · GitHub

This file contains hidden or 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 <?xml version="1.0" encoding="UTF-8"?> <opml version="1.0"> <head> <title>RSS subscriptions for axel@rauschma.de</title> <dateCreated>Sat, 02 Aug 2025 13:20:09 +0000</dateCreated> <ownerEmail>axel@rauschma.de</ownerEmail> </head> <body> <outline text="Sustainability" title="Sustainability"> <outline text="Modern Farmer" title="Modern Farmer" type="rss" xmlUrl="http://modernfarmer.com/feed/" htmlUrl="https://modernfarmer.com/"/> This file contains hidden or 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 #!/usr/bin/env node import { watch } from 'node:fs/promises'; import * as fs from 'node:fs'; import * as path from 'node:path'; async function main() { const args = process.argv.slice(2); if (args.length === 0) { const bin = path.basename(process.argv[1]); Creating synchronous iterators

The methods of class Iterator let us process data incrementally. Let’s explore where we can use them.

Getting iterators from iterables Framework Laptop 13 DIY Edition (previous generation, 2024-05-20)

For sale in Munich (to be picked up in person): EUR 700

This file contains hidden or 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 // More information on enum objects as an alternative to enums: // https://2ality.com/2025/01/typescript-enum-patterns.html#alternative-to-enum%3A-object-literal-1 /** * Returns an enum object. Adds the following improvements: * - Sets the prototype to `null`. * - Freezes the object. * - The result has the same type as if `as const` had been applied. */ function createEnum< This file contains hidden or 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 // Experiment: I’m not sure if I would use this myself. const call = Symbol('call'); class Callable { constructor() { // Can’t use .bind() here. Not sure why. Maybe the result doesn’t // interact well with Object.setPrototypeOf(). const _this = (...args) => new.target.prototype[call].call(_this, ...args); Object.setPrototypeOf(_this, new.target.prototype); return _this; This file contains hidden or 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 //========== Testing types ========== const expectType = <Type>(_: Type): void => void 0; type TypeEqual<Target, Value> = (<T>() => T extends Target ? 1 : 2) extends <T>() => T extends Value ? 1 : 2 ? true : false; //========== applyPartial ========== This file contains hidden or 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 // Q: Why not an object literal? // A: Then you have to create separate constants for the symbols: // https://2ality.com/2025/01/typescript-enum-patterns.html#using-symbols-as-property-values type PropertyValues<Obj> = Obj[keyof Obj]; function createEnum<C extends new (...args: unknown[]) => unknown>(enumClass: C): Omit<C, 'prototype'> { return enumClass; } const Color = createEnum(class {

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4