Skip to content

Instantly share code, notes, and snippets.

View Jinksi's full-sized avatar

Eric Jinks Jinksi

View GitHub Profile
@Jinksi
Jinksi / Testing-instructions-for-critical-flows.md
Last active November 11, 2024 23:41
WooPayments critical flow testing instructions – Deposits → Payouts rename
@Jinksi
Jinksi / emojilist.txt
Created July 18, 2024 04:33
Skribbl.io emoji word list
🐱,🐶,🐼,🐨,🐷,🐸,🐵,🦁,🦊,🐯,🐧,🐢,🐍,🐠,🐳,🌸,🌻,🌼,🌷,🌹,🌺,🌞,🌛,🌟,🌈,🌪,☂️,⛄,🎃,🎄,🎉,🎁,🎈,🎨,🎭,🏆,⚽,🏀,🏈,🏐,🎾,🎳,🏓,🏸,🎣,🎿,🛷,🏂,🚗,🚕,🚙,🚌,🚎,🚓,🚑,🚒,🚚,🚲,🛴,🚀,✈️,🚁,🛳,⛵,🚤,🏍,🚜
@Jinksi
Jinksi / typeguard.tsx
Last active September 25, 2023 01:24
An example of using TypeScript type guard functions
interface LostDispute {
status: 'lost';
metadata: {
// Mandatory for lost disputes
__dispute_closed_at: string;
// Optional for lost disputes
__evidence_submitted_at?: string;
}
}
@Jinksi
Jinksi / marvin-woo.py
Created March 31, 2023 02:16
Hello Woo product ChatGPT bot with marvin
import asyncio
import requests
from marvin import ai_fn, plugin, plugins, settings, Bot
consumer_key = "ck_"
consumer_secret = "cs_"
url = "https://woo-store-url.com"
@plugin
client/components/component
├── index.tsx - the root of the component lives here.
├── large-child-component - for components that are used only in the parent component, but are large enough to require separate styles and tests, assisting with merge conflicts.
│   ├── index.tsx
│   ├── style.scss
│   └── test
│       └── index.test.tsx
├── small-child-component.tsx - for components that are used only in the parent component, but are small enough to share style and unit test files with the parent.
├── strings.ts - for defining translatable strings used throughout this component and children.
@Jinksi
Jinksi / WCS 4.7.0-rc-1.md
Created December 2, 2022 04:43
Testing WCS 4.7.0-rc-1

I have tested the following flows and have found no issues 🙌

Environment:

  • A fresh Jurassic Ninja site
  • WP 6.1.1
  • WC 7.1.0
  • WCPay 5.1.0 + Dev Tools
  • WCS 4.7.0-rc-1

Flows tested:

@Jinksi
Jinksi / chord-sets.json
Last active October 17, 2022 22:54
Chord sets from Roland J-6
[
{
"number": 1,
"genre": "Pop",
"chordNames": [
"Cadd9",
"C#M9/C",
"Dm7",
"D#M7",
"Cadd9/E",
@Jinksi
Jinksi / words.txt
Last active September 30, 2022 03:43
skribbl.io words
Stapler,Desk,Pay cheque,Fax machine,Phone,Paper,Light,Chair,Desk lamp,Notepad,Paperclip,Binder,Calculator,Calendar,Sticky Notes,Pencils,Notebook,Esky,Book,Chairs,Coffee cup,Chairs,Coffee mug,Glue,Clipboard,Paperclips,Chocolate,Secretary,Work,Paperwork,Workload,Employee,Coffee,Golf,Laptop,Sandcastle,Monday,Vanilla,Bamboo,Sneeze,Scratch,Celery,Hammer,Frog,Tennis,Hot dog,Pants,Bridge,Bubblegum,Candy bar,Bucket,Skiing,Snowboarding,Snowman,Polar bear,Cream,Waffle,Pancakes,Ice cream,Sundae,beach,Sunglasses,Surfboard,Watermelon,Baseball,Bat,Ball,T-shirt,Kiss,Jellyfish,Jelly,Butterfly,Spider,Broom,Spiderweb,Mummy,Candy,Bays,Squirrels,Basketball,Water Bottle,Unicorn,Dog leash,Newspaper,Hammock,Video camera,Money,Smiley face,Umbrella,Picnic basket,Teddy bear,Ambulance,Pyramids,Bacteria,Goosebumps,Pizza,Platypus,Goldfish bowl,Skull,Spiderweb,Smoke,Tree,Ice,Blanket,Seaweed,Flame,Bubble,Hair,Tooth,Leaf,Worm,Sky,Apple,Plane,Cow,House,Dog,Car,Bed,Furniture,Train,Rainbow,Paintings,Drawing,Cup,Plate,Bowl,Cushion,Sofa,Sheet,Ki
@Jinksi
Jinksi / STF_pseudocode.py
Last active September 10, 2020 03:39
Lud Behaviour STF pseudocode
temporal_filtering_length = 5
video_predictions = [
# ...{"frame_number", "xmin", "xmax", "ymin", "ymax", "predicted_behaviour"}
]
updated_video_prediction = [
# ...{"frame_number", "xmin", "xmax", "ymin", "ymax", "predicted_behaviour"}
]
for current_prediction in video_predictions:
# find temporally-linked predictions
@Jinksi
Jinksi / main.yml
Created August 14, 2019 21:47
Netlify scheduled build trigger with Github Actions
# .github/workflows/main.yml
name: Trigger Netlify Build
on:
schedule:
# Run at 0815 daily
- cron: '15 8 * * *'
jobs:
build:
name: Request Netlify Webhook