Skip to content

Instantly share code, notes, and snippets.

View alexruimy's full-sized avatar

Alex Ruimy alexruimy

View GitHub Profile
@alexruimy
alexruimy / Whirlwinds in creation myths and religious texts.md
Created May 7, 2024 05:22
Whirlwinds in creation myths and religious texts.md

Search terms: whirlwind, vortex, tornado, cyclone, wind, winds, swirl, spiral

Phillipines

![[Pasted image 20240504221025.png]] https://www.aswangproject.com/bathala/

When the world first began there was no land, but only the sea and the sky, and between them was a kite. One day the bird which had nowhere to alight grew tired of flying about, so she stirred up the sea until it threw its waters against the sky. The sky, in order to restrain the sea, showered upon it many islands until it could no longer rise, but ran back and forth. Then the sky ordered the kite to alight on one of the islands to build her nest, and to leave the sea and the sky in peace.

@alexruimy
alexruimy / data.md
Last active December 27, 2022 19:26
sample email data

Message Data for User1 (uid1)

[
    {
        "messageId": "mid1",
        "timestamp": 1609459200,
        "preview": "Hey, just wanted to check in on the project",
        "subject": "Project update",
        "to": "uid1",
        "from": "uid2",
@alexruimy
alexruimy / email.ts
Last active August 10, 2022 21:50
Email model notes
import { faker } from "@faker-js/faker";
// maps to firestore root collection: EmailThread
class EmailThread {
id: string;
eeid: string; // emailengine thread id
subject: ThreadSubject;
participants: Participants;
}
@alexruimy
alexruimy / inlinereply
Created November 18, 2019 21:09
Slack Inline Reply [betterTouchTool]
[
{
"BTTGestureNotes" : "Inline Reply",
"BTTTriggerType" : 0,
"BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
"BTTPredefinedActionType" : -1,
"BTTPredefinedActionName" : "No Action",
"BTTLayoutIndependentActionChar" : "F6",
"BTTAutoAdaptActionToKeyboardLayout" : true,
"BTTShortcutToSend" : "56,97",
@alexruimy
alexruimy / dae-sample.py
Created December 26, 2018 19:35
DAE Sample
import base64
import requests
from PIL import Image
API_KEY = 'xxxxxxxx'
UPLOAD_URL = 'https://api.deeparteffects.com/v1/noauth/upload'
STYLES_URL = 'https://api.deeparteffects.com/v1/noauth/styles'
RESULT_URL = 'https://api.deeparteffects.com/v1/noauth/result?submissionId=%s'
HEADERS = {'x-api-key': API_KEY}