Skip to content

Instantly share code, notes, and snippets.

View avkoval's full-sized avatar

Oleksii (Alex) Koval avkoval

View GitHub Profile
@avkoval
avkoval / transcribe-via-whisper
Created September 10, 2026 17:33
whisper.cpp integrartion for linux via babashka
#!/usr/bin/env bb
;; transcribe-via-whisper.cpp — local whisper.cpp transcription for a video file.
;;
;; Outputs .wav, .vtt, .srt, .txt next to the video.
;;
;; Defaults assume Oleksii's setup:
;; - whisper.cpp installed via pacman (whisper-cli on PATH)
;; - model at ~/Models/whisper.cpp/ggml-large-v3-turbo-q5_0.bin
;; - i7-1185G7 (4 physical cores) — 4 threads optimal
;; - Ukrainian by default
@avkoval
avkoval / get_ical.py
Created January 8, 2017 10:22
Save some ICS files
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import requests
GOOGLE_CAL_URL = 'https://calendar.google.com/calendar/ical/'
CALENDARS = {
'My': 'alex.v.koval%40gmail.com/private-somehash%%%/basic.ics'
}