A RetroSearch Logo

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

Search Query:

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

langpavelโ€™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 /* eslint-disable @typescript-eslint/no-redeclare */ export function isHttpStatusSuccess(code: number): code is HTTP_STATUS_SUCCESS { return code >= 200 && code < 300; } export function isHttpStatusClientError(code: number): code is HTTP_STATUS_CLIENT_ERROR { return code >= 400 && code < 500; } export function isHttpStatusServerError(code: number): code is HTTP_STATUS_SERVER_ERROR { 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 function* cssRulesIterator() { for(const stylesheet of window.document.styleSheets) { for (const rule of stylesheet.cssRules) { yield rule.cssText; } } } [...cssRulesIterator()].filter(ruleText => true) 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 /** * Types as data from 'graphql/language/ast.d.ts' */ import type { ASTNode } from 'graphql/language/ast'; export interface ASTNodeFieldInfo { readonly optional?: boolean; readonly isArray?: boolean; readonly type: string; 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 // Usage: const candidates: any[] = []; // ... candidates.sort(createComparator( (x) => x.ambiguous, (_, y) => y.refCount, // DESC (x) => x.name.length, (x) => x.name, )); 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 import { Params } from './types'; import UniversalRouter from './universal-router'; export default function generateUrls(router: UniversalRouter<any, any>, options?: any): (routeName: string, params: Params) => string; //# sourceMappingURL=generate-urls.d.ts.map 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 /* eslint-disable max-len, consistent-return, no-continue, no-restricted-syntax, func-names, no-throw-literal, global-require */ // really heavily borrowed from 'graphql-tag/loader' const fs = require('fs'); const gql = require('graphql-tag/src'); const { addTypenameToDocument } = require('apollo-utilities'); // Takes `lines` (the source GraphQL query string) // and `doc` (the parsed GraphQL document) and tacks on // the imported definitions. 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 const invariant = require('invariant'); const { Kind } = require('graphql'); const byKindGetInfo = { // SchemaDefinition [Kind.SCHEMA_DEFINITION]: def => ({ isExtension: false, type: 'schema', typeName: 'schema', }), 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 import { Transform } from 'stream'; export default class CsvTransformStream extends Transform { constructor(options) { super({ decodeStrings: false, readableObjectMode: true, }); this.rowFlushed = true; this.currentColumn = [];

๐Ÿ’ฏ ๐Ÿ”ข ๐Ÿ‘ ๐Ÿ‘Ž ๐Ÿฅ‡ ๐Ÿฅˆ ๐Ÿฅ‰ ๐ŸŽฑ ๐Ÿ…ฐ๏ธ ๐Ÿ†Ž

I hereby claim:

To claim this, I am signing this object:

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