Skip to content
View mckeed's full-sized avatar

Block or report mckeed

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. swigit swigit Public

    Just my git utility scripts of varying complexity and usefulness.

    Ruby

  2. Run rubocop on only staged files in ... Run rubocop on only staged files in git pre-commit
    1
    #!/bin/sh
    2
    
                  
    3
    STAGED_FILES=$(git diff-index HEAD --name-only --cached)
    4
    if [[ -z $STAGED_FILES ]]
    5
    then
  3. LoadView: SwiftUI view that calls a ... LoadView: SwiftUI view that calls a load function and shows a `LoadingView: UIView` until the `isLoading` binding is changed to false, then displays its contents.
    1
    import SwiftUI
    2
    
                  
    3
    typealias IsLoadingBool = Bool // To help remember which way the bool goes (false means ready to display)
    4
    
                  
    5
    protocol LoadedView {
  4. Z-Wave Garage Door Opener device typ... Z-Wave Garage Door Opener device type handler
    1
    /**
    2
     *  Z-Wave Garage Door Opener
    3
     *
    4
     *  Copyright 2014 SmartThings
    5
     *
  5. A template for a PostgreSQL Heroku D... A template for a PostgreSQL Heroku Dataclip to be viewed in chart mode. Makes it easy to change what you're querying and the time periods.
    1
    with vars as (select
    2
      date_trunc('hour', localtimestamp - 
    3
      '24 hours'::interval) as start,      -- how far back to start the chart
    4
      '30 minutes'::interval as bin_width  -- width of time slices
    5
    ),
  6. ruby-lsp ruby-lsp Public

    Forked from Shopify/ruby-lsp

    An opinionated language server for Ruby

    Ruby