Skip to content

Instantly share code, notes, and snippets.

View joeyfigaro's full-sized avatar
🦀
Becoming a Rustacean

Joey Figaro joeyfigaro

🦀
Becoming a Rustacean
View GitHub Profile
@joeyfigaro
joeyfigaro / 194286737.json
Last active September 1, 2023 14:57
Release flags for projects
{
"source": "toggl",
"enabled": false
}
@joeyfigaro
joeyfigaro / rainbow.py
Last active November 17, 2022 15:12
Kids Python Learning
from turtle import*
pensize(15)
penup()
goto(50,70)
left(90)
@joeyfigaro
joeyfigaro / favorites.json
Created April 5, 2022 21:23
gitstumble-settings
[]
@joeyfigaro
joeyfigaro / theme.ts
Created January 6, 2022 21:38
Stitches Debugging
import { createStitches } from '@stitches/react'
export const {
theme,
styled,
css,
config,
globalCss,
createTheme,
keyframes,
@joeyfigaro
joeyfigaro / aws-osx-resolution.md
Created April 16, 2021 13:35
Fix display resolution on AWS mac1.metal machines

Install displayplacer

brew tap jakehilborn/jakehilborn && brew install displayplacer

Grab persistent screen id and desired resolution from output:

displayplacer list

Use screen id and resolution from previous step

displayplacer "id:<persistentScreenID> res:<resolution> origin:(0,0) degree:0"

@joeyfigaro
joeyfigaro / find-with-filtering.md
Created April 6, 2021 14:19
['find' with path filtering] Find target files while ecluding a set of specified directories #osx #find #monorepos #commandline
find / -name MyFile ! -path '*/Directory/*'

Example

Find all package.json files in monorepo packages (excluding node_modules/* and specific package location)

find . -name 'package.json' ! -path '*/node_modules/*' ! -path '*/prisma/generated/*'
@joeyfigaro
joeyfigaro / useInviteContacts.ts
Last active December 14, 2020 19:45
useInviteContacts
import React from 'react'
import { Contact } from 'react-native-contacts'
import { difference, without } from 'rambda'
type RoleStateKey = 'administrator' | 'guest' | 'contributor'
export type UseInviteContacts = {
toggleRecipient: (c: Contact) => void
toggleAdministrator: (c: Contact) => void
toggleContributor: (c: Contact) => void
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">
<Document>
<name>Valid Polygon.kml</name>
<Style id="s_ylw-pushpin">
<IconStyle>
<scale>1.1</scale>
<Icon>
<href>http://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png</href>
</Icon>
@joeyfigaro
joeyfigaro / SketchSystems.spec
Last active June 7, 2019 18:07
# Flight-Planning (KML Imports without S3 Uploading/Persisted KML)
# Flight-Planning (KML Imports without S3 Uploading/Persisted KML)
Flight Planning*
# User dropped / imported KML file
Empty*
drop KML file -> KML Added
import KML file manually -> KML Added
KML Added
# Begins as soon as a user drops/attaches a KML file
Create Readable File