Skip to content

Instantly share code, notes, and snippets.

View dbillion's full-sized avatar
🏠
Working from home

Oludayo Adeoye dbillion

🏠
Working from home
  • dbillion
  • Tallinn
View GitHub Profile
@juanmc2005
juanmc2005 / diart_whisper.py
Last active July 8, 2025 18:50
Code for my tutorial "Color Your Captions: Streamlining Live Transcriptions with Diart and OpenAI's Whisper". Available at https://medium.com/@juanmc2005/color-your-captions-streamlining-live-transcriptions-with-diart-and-openais-whisper-6203350234ef
import logging
import os
import sys
import traceback
from contextlib import contextmanager
import diart.operators as dops
import numpy as np
import rich
import rx.operators as ops
@Da9el00
Da9el00 / docker-compose.yml
Created February 7, 2023 09:08
How to create a docker-compose setup with PostgreSQL and pgAdmin4
version: "3.8"
services:
db:
container_name: postgres_container
image: postgres
restart: always
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: root
POSTGRES_DB: test_db
[
{
"Title": "Avatar",
"Year": "2009",
"Rated": "PG-13",
"Released": "18 Dec 2009",
"Runtime": "162 min",
"Genre": "Action, Adventure, Fantasy",
"Director": "James Cameron",
"Writer": "James Cameron",