Skip to content

Instantly share code, notes, and snippets.

@byrnehollander
byrnehollander / AuthedHealthieProvider.tsx
Created March 18, 2024 18:40
Healthie SDK Troubleshooting
import {
ApolloClient,
ApolloProvider,
HttpLink,
InMemoryCache,
split,
} from "@apollo/client";
import { getMainDefinition } from "@apollo/client/utilities";
import { HealthieProvider } from "@healthie/sdk";
import * as ActionCable from "@rails/actioncable";
@byrnehollander
byrnehollander / sp.txt
Created October 24, 2023 03:08
Inspecting SimplePractice
---
CREATE CLIENT REQUEST
---
curl 'https://secure.simplepractice.com/frontend/clients?include=phones%2Cemails%2Caddresses%2CclientRelationships.relatedClient.emails%2CclientRelationships.reminderEmail%2CclientRelationships.reminderPhone%2CclientRelationships.documentReminderPhone' \
-H 'authority: secure.simplepractice.com' \
-H 'accept: application/vnd.api+json' \
-H 'accept-language: en-US,en;q=0.9' \
-H 'content-type: application/vnd.api+json' \
-H 'cookie: builderSessionId=001b5bb5ef574b6890804a0e1b683d1e; user.id=eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBOGpURlE9PSIsImV4cCI6bnVsbCwicHVyIjoiY29va2llLnVzZXIuaWQifX0%3D--d3bc04900bc05b0adabb914cbc72f20cb84c80cb; accuracy_check_tracked=true; _slvs=62fa5e39-0912-4ea3-b173-60d83af279a5; _slvddv=true; _slvlcl=en; __stripe_mid=1bf0b19f-aaca-496c-8670-0d5baf5d4b1f890e32; __stripe_sid=0983e72d-287e-4b6b-ac3a-0da720721b8a5422e6; user.expires_at=eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaFZPaUJCWTNScGRtVlRkWEJ3YjNKME9qcFVhVzFsVjJsMGFGcHZibVZiQ0VsMU9nbFVhVzFsRFFIbkhzQVBJe
@byrnehollander
byrnehollander / README.md
Created February 14, 2023 19:02
Upload Sentry source maps on `eas update`

expo-sentry-sourcemaps-update

Requirements

  • This requires Expo SDK 47, with sentry-expo@6.0.0 or above and expo-updates@0.15.5 or above.
  • You should also install @babel/cli and @sentry/cli
  • See Expo docs
  1. Configure the sentry-expo/upload-sourcemaps postPublish hook in app.json or app.config.ts. Expo docs. The script will retrieve your Sentry auth config through theses props.
import csv
import requests
import datetime
import os
# follow https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/ to generate token
GITHUB_TOKEN = ''
REPO = 'seatgeek/tixcast' # format is username/repo
ISSUES_FOR_REPO_URL = 'https://api.github.com/repos/%s/issues' % REPO
LABEL = "team: checkout"

Keybase proof

I hereby claim:

  • I am byrnehollander on github.
  • I am byrne (https://keybase.io/byrne) on keybase.
  • I have a public key whose fingerprint is 9BE8 FEE2 4868 6733 2E21 F9B6 E456 ECAF D328 EDBD

To claim this, I am signing this object: