Skip to content

Instantly share code, notes, and snippets.

View joeshub's full-sized avatar
🔮

Joe Seifi joeshub

🔮
View GitHub Profile
@joeshub
joeshub / _scaffoldGetProp.ts
Created April 22, 2024 13:52 — forked from regevbr/_scaffoldGetProp.ts
scaffold type safe get function up to a desired order
'use strict';
// tslint:disable:max-line-length
// based on https://www.reddit.com/r/typescript/comments/aynx0o/safe_deep_property_access_in_typescript
import * as fs from 'fs';
const method = 'getProp';
const TAB = ` `;
@joeshub
joeshub / machine.js
Last active October 22, 2021 22:16
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@joeshub
joeshub / ST3-with-iCloud-Drive.sh
Last active May 17, 2023 05:20
Sync your Sublime Text 3 Settings using iCloud Drive on multiple Macs
# Notes
# Using iCloud Drive, you can sync your Sublime Text 3
# plugins and prefs so you can always have the same setup
# Prerequisites
# Make sure both machines have the latest version of OSX 10.10.x with
# Yosemite or higher and iCloud Drive turned on
# Quit ST3