Skip to content

Instantly share code, notes, and snippets.

View mshick's full-sized avatar
💭
🥇

Michael Shick mshick

💭
🥇
View GitHub Profile
@mshick
mshick / install.sh
Last active April 2, 2020 10:01
Installing Node.js with Homebrew and nvm
# Install Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Install nvm
brew install nvm
# Export nvm environment
export NVM_DIR="$HOME/.nvm"
. "$(brew --prefix nvm)/nvm.sh"

Keybase proof

I hereby claim:

  • I am mshick on github.
  • I am mshick (https://keybase.io/mshick) on keybase.
  • I have a public key ASAK0I32-sdxpOVjR43i_p1n_zC9rP8JH_YxZgczqxckpgo

To claim this, I am signing this object:

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mshick
mshick / animated.svg
Created July 9, 2020 21:22
animated svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mshick
mshick / README.md
Last active July 27, 2020 18:05
dnsmasq script

Running

$ bash <(curl -Ls https://gist.githubusercontent.com/mshick/414612f1f5426242d4fa0744d509a82a/raw/dnsmasq-setup.sh)

sudo permissions are required

What?

@mshick
mshick / stripe-fragment.md
Last active August 9, 2021 19:31
stripe-fragment.md
"stripeCustomer": {
    "title": "Stripe Customer",
    "description": "",
    "@ref": "stripe:Customer",
    "@resolver": {
        "name": "rest:get",
        "service": "stripe",
        "options": {"path": "/v1/customers/{customer}"},
 "argsMapping": {
{
    "searchParamsMapping": [
        [
            "expand[]", 
            [
                ["get": {"path": "somepath"}], ["concat": {"path": "somepath"}]]
        ], 
        ["expand[]", 
 [["set": {"value": "somepath"}]]
@mshick
mshick / code-examples.md
Last active September 29, 2021 21:08
mapping

Fabric EComm Project

TARGET

{
  getProductDetails(input: { sku: "FUR_BED_02" }) {
    itemId
    categories {
      id
{
  "resultsMapping": [
    ["expressionEval", { "expression": "{...steps[0], sku: steps[0].id}" }]
  ]
}
{