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. d-zone-org/d-zone d-zone-org/d-zone Public

    An ambient life simulation driven by user activity within a Discord server

    JavaScript 579 74

  2. really-async really-async Public

    A lightweight library for generators in react 😀

    TypeScript 2

  3. πŸ—„οΈ 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
    
                  
  4. 🎣 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
  5. πŸ’€ 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 };
  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]