Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
🥇

Michael Shick mshick

💭
🥇
View GitHub Profile
View fabric-results.md
{
  "resultsMapping": [
    ["expressionEval", { "expression": "{...steps[0], sku: steps[0].id}" }]
  ]
}
{
View fabric-ecomm.md

Fabric EComm Project

TARGET

{
  getProductDetails(input: { sku: "FUR_BED_02" }) {
    itemId
    categories {
      id
View code-examples.md
View search-params.md
{
    "searchParamsMapping": [
        [
            "expand[]", 
            [
                ["get": {"path": "somepath"}], ["concat": {"path": "somepath"}]]
        ], 
        ["expand[]", 
            [["set": {"value": "somepath"}]]
@mshick
mshick / stripe-fragment.md
Last active Aug 9, 2021
stripe-fragment.md
View stripe-fragment.md
"stripeCustomer": {
    "title": "Stripe Customer",
    "description": "",
    "@ref": "stripe:Customer",
    "@resolver": {
        "name": "rest:get",
        "service": "stripe",
        "options": {"path": "/v1/customers/{customer}"},
        "argsMapping": {
@mshick
mshick / README.md
Last active Jul 27, 2020
dnsmasq script
View README.md

Running

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

sudo permissions are required

What?

View animated.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View qr-code.transparent.min.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View keybase.md

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:

@mshick
mshick / install.sh
Last active Apr 2, 2020
Installing Node.js with Homebrew and nvm
View install.sh
# 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"