Skip to content

Instantly share code, notes, and snippets.

View jeremyosih's full-sized avatar
😶‍🌫️

Jeremy Osih jeremyosih

😶‍🌫️
View GitHub Profile
# documentation: https://twenty.com/developers/section/self-hosting/docker-compose
# slogan: Twenty is a CRM designed to fit your unique business needs.
# tags: crm, self-hosted, dashboard
# logo: svgs/twenty.svg
# port: 3000
services:
change-vol-ownership:
image: ubuntu
user: root
function getAbout(json) {
const aboutComponent = json?.included?.find((d) =>
d.entityUrn?.includes("ABOUT")
);
return aboutComponent?.topComponents?.[1]?.components?.textComponent?.text
?.text;
}
function getExperience(json) {
const experienceEntity = json?.included?.find(
@pesterhazy
pesterhazy / building-sync-systems.md
Last active December 11, 2025 08:15
Building an offline realtime sync engine

So you want to write a sync system for a web app with offline and realtime support? Good luck. You might find the following resources useful.

Overview articles

@patarapolw
patarapolw / Google Sheets API for TypeScript.ts
Last active March 14, 2024 15:38
Google Sheets API for TypeScript
// yarn add googleapis@27 @types/node
import fs from "fs";
import readline from "readline";
import {google} from "googleapis";
import { OAuth2Client } from "google-auth-library";
const CRED_PATH = "secret/credentials.json";
const TOKEN_PATH = "secret/token.json";
const SCOPES = ["https://www.googleapis.com/auth/spreadsheets.readonly"];