Mix.install([
{:kino, "~> 0.16.1"}
], consolidate_protocols: false)
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
| defmodule Ecto.QueryStream do | |
| @moduledoc """ | |
| A module to create a stream from an Ecto query. | |
| This module provides functionality to stream results from an Ecto query in a paginated manner. | |
| It is useful for handling large datasets efficiently by loading records in batches. | |
| ## Example Usage | |
| query = from u in User, where: u.age > 30 |
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
| <?php | |
| namespace App\Passport; | |
| use App\User; | |
| use Lcobucci\JWT\Builder; | |
| use Lcobucci\JWT\Signer\Key; | |
| use League\OAuth2\Server\CryptKey; | |
| use Lcobucci\JWT\Signer\Rsa\Sha256; | |
| use Laravel\Passport\Bridge\AccessToken as BaseToken; |
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
| /** | |
| * A port of switch-case statements for fp-ts. | |
| * | |
| * This could be broken down further and perhaps extended into a new type-class. | |
| * It does the specific job I needed it to. | |
| * | |
| * If you have an abstraction that might help, i'd love to hear about it! | |
| */ | |
| import { array, either, option } from "fp-ts"; |
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
| /** | |
| * A new instance of deferred is constructed by calling `new DeferredPromse<T>()`. | |
| * The purpose of the deferred object is to expose the associated Promise | |
| * instance APIs that can be used for signaling the successful | |
| * or unsuccessful completion, as well as the state of the task. | |
| * @export | |
| * @class DeferredPromise | |
| * @implements {Promise<T>} | |
| * @template T | |
| * @example |
permalink https://github.com/gatsbyjs/gatsby/blob/ffd8b2d691c995c760fe380769852bcdb26a2278/packages/gatsby/src/bootstrap/index.js
- open and validate gatsby-config (get-config-file.js) 1.5 load themes (swyx added this note July 2019)
- load plugins (load-plugins/index.js) from the list given in
gatsby-config.js - onPreBootstrap: runs
onPreBootstrapif it is implemented in any plugins, for example gatsby-plugin-typography. Receives handy [apiCallArgs](https://github.com/gatsbyjs/gatsby/blob/ffd8b2d691c9