Skip to content
View jaygooby's full-sized avatar
✏️
working on https://writiny.com in my sparse spare time
✏️
working on https://writiny.com in my sparse spare time
Block or Report

Block or report jaygooby

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
jaygooby/README.md

👋 Did someone say gist?

Pinned

  1. build-nginx build-nginx Public

    Fetches nginx and any optional third-party modules and dependencies you specify, such as openssl and PCRE and then configures and builds.

    Shell 52 12

  2. ttfb.sh ttfb.sh Public

    Measures time-to-first-byte in seconds, for single or multiple URLs. Can calculate fastest, slowest & median TTFB values, and optionally log all response headers. Uses curl and the calculation `%{t…

    Shell 237 37

  3. sqlock sqlock Public

    Mutex for distributed tasks, ideally suited for cron tasks that might otherwise run on duplicate servers in a cluster unnecessarily. Uses Mysql's GET_LOCK() function to orchestrate the locks.

    Shell

  4. keyframe-tweets keyframe-tweets Public

    Extracts i-frames as jpegs from an rtmp video stream for use with live tweeting

    Shell 1

  5. Git, you bloody git Git, you bloody git
    1
    # Overwrite untracked files in current branch from a remote branch
    2
    
                  
    3
    In a similar vein to `git reset --hard feature/weavils` you can just overwrite untracked working files (typically left over from branch experiments) which are part of the remote branch you're pulling like this:
    4
    
                  
    5
        git reset --hard origin/feature/weavils
  6. what-user-agent what-user-agent Public

    Humanize user-agent strings using the whatismybrowser.com API

    Shell