Skip to content
View codebycarlos's full-sized avatar
🚢
Shipping
🚢
Shipping

Block or report codebycarlos

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

Pinned Loading

  1. withPreventDefault withPreventDefault
    1
    /**
    2
     * A higher-order function that wraps a given function with a call to
    3
     * `preventDefault` on the event.
    4
     */
    5
    export function withPreventDefault<T extends (...args: any[]) => any>(
  2. debounce debounce
    1
    /**
    2
     * Creates a debounced function that delays invoking `func` only for subsequent
    3
     * calls within the `debounceDelayMs` period after the first call.
    4
     *
    5
     * - `func`: Function to debounce. Can be asynchronous.
  3. connectRouter connectRouter
    1
    import type { ReactElement, ComponentType } from "react";
    2
    
                  
    3
    import { useLocation, useNavigate, useParams } from "react-router-dom";
    4
    
                  
    5
    export type Router = {
  4. stats stats
    1
    """
    2
    This script fetches and processes GitHub repository statistics.
    3
    4
    - Fetches contributor statistics and pull requests from a specified GitHub repo
    5
    - Aggregates data by quarter and author