Skip to content
View SagnikPradhan's full-sized avatar
πŸš„
Gotta push more work! Not commits.
πŸš„
Gotta push more work! Not commits.

Organizations

@d-zone-org

Block or report SagnikPradhan

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
SagnikPradhan/README.md

Hey there

Pinned Loading

  1. really-async really-async Public

    React views and async generators

    TypeScript 2

  2. GraphQL Client GraphQL Client
    1
    import { TypedDocumentString } from "~/graphql/graphql";
    2
    
                  
    3
    import extractFiles, { ExtractableFile } from "extract-files/extractFiles.mjs";
    4
    import isExtractableFile from "extract-files/isExtractableFile.mjs";
    5
    import { ExecutionResult } from "graphql";
  3. 🎣 useForm hook. Simple as it can get 🎣 useForm hook. Simple as it can get
    1
    import { Dispatch, useReducer } from "react"
    2
    import * as z from "zod"
    3
    
                  
    4
    /**
    5
     * useForm hook
  4. πŸ’€ Custom error and error handler πŸ’€ Custom error and error handler
    1
    export class AppError extends Error {
    2
      public readonly name: string;
    3
      public readonly isOperational: boolean;
    4
      public readonly cause?: Error;
    5
      public readonly additionalProps: { [additionalProps: string]: unknown };
  5. πŸ—„οΈ Back up a postgres database runni... πŸ—„οΈ Back up a postgres database running inside a docker container to S3
    1
    #!/bin/bash
    2
    
                  
    3
    set -e
    4
    set -o pipefail
    5
    
                  
  6. ⛓️ Chain functions as arrays ⛓️ Chain functions as arrays
    1
    export type Fn<Input = any, Output = any> = (input: Input) => Output;
    2
    
                  
    3
    export type Chain<Fns extends Fn[]> =
    4
      // We chain two functions at one time
    5
      Fns extends [infer Fn1, infer Fn2, ...infer RestFns]