Skip to content

Instantly share code, notes, and snippets.

View kylepeeler's full-sized avatar
🌴
Exploring ☀️ San Diego! 😎

Kyle Peeler kylepeeler

🌴
Exploring ☀️ San Diego! 😎
View GitHub Profile
@kylepeeler
kylepeeler / arrow.svg
Created December 10, 2022 17:46
Arrow SCG
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kylepeeler
kylepeeler / make_launcher.sh
Created December 5, 2022 19:58 — forked from rharter/make_launcher.sh
Using this script you can create a tiny macOS app that will always launch the latest version of any JetBrains Toolbox installed IDE. Simply pass the target IDE application as the first argument and the script will create a launcher that you can add to your dock that will always point to the latest installed version of the IDE.
#!/bin/bash
APP_DIR=$1
APP_SCRIPT_NAME="$(ls "${APP_DIR}/Contents/MacOS/")"
APP_FILE_NAME="$(basename "${APP_DIR}")"
CHANNEL_DIR="$(dirname "$(dirname "$1")")"
CHANNEL_NAME="$(basename "$CHANNEL_DIR")"
TOOLBOX_APP_NAME="$(basename "$(dirname "$CHANNEL_DIR")")"
import { isArray, isEmpty, clone, mapValues, defaults } from 'lodash';
/**
* Useful when knobbing a lot of props for a component. Using a generated knobber reduces the amount of
* knob boiler plate and makes prop values clearer.
*
* Always takes the prop name as the label for the prop. // @FUTURE: clean and clarify this sentiment.
*
* @param {object.key} knobInfoByProps a prop name
* @param {object.value} knobInfoByProps a knob function, or an array with the first element as the knob function
@kylepeeler
kylepeeler / cloudSettings
Last active June 7, 2020 23:20
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-06-07T23:20:50.438Z","extensionVersion":"v3.4.3"}
@kylepeeler
kylepeeler / keybase.md
Created April 28, 2020 17:22
Keybase Proof of Identity

Keybase proof

I hereby claim:

  • I am kylepeeler on github.
  • I am kylepeeler (https://keybase.io/kylepeeler) on keybase.
  • I have a public key ASD_cROFjzP3b1dZGW0e2BdjrLoWxiQgVyDBVZEe5Nts7Qo

To claim this, I am signing this object:

@kylepeeler
kylepeeler / cloudSettings
Last active August 20, 2019 21:01
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-08-20T17:06:05.038Z","extensionVersion":"v3.4.1"}
We couldn’t find that file to show.