Skip to content

Instantly share code, notes, and snippets.

View mzwoelfer's full-sized avatar
📎

M. mzwoelfer

📎
  • Germany
View GitHub Profile
@danirukun
danirukun / whisper-transcribe.bash
Last active September 2, 2025 08:37
Transcribe (and translate) any VOD (e.g. from Youtube) using Whisper from OpenAI and embed subtitles!
#!/usr/bin/env bash
# Small shell script to more easily automatically download and transcribe live stream VODs.
# This uses YT-DLP, ffmpeg and the CPP version of Whisper: https://github.com/ggerganov/whisper.cpp
# Use `./transcribe-vod help` to print help info.
# MIT License
# Copyright (c) 2022 Daniils Petrovs
@vitalyisaev2
vitalyisaev2 / personal_access_token.py
Last active April 26, 2024 05:02
Script for obtaining Gitlab API Personal Access Token
#!/usr/bin/python3
"""
Script that creates Personal Access Token for Gitlab API;
Tested with:
- Gitlab Community Edition 10.1.4
- Gitlab Enterprise Edition 12.6.2
- Gitlab Enterprise Edition 13.4.4
"""
import sys
import requests
@PurpleBooth
PurpleBooth / README-Template.md
Last active March 18, 2026 19:10
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@jmini
jmini / WorkaroundAsciidoctor858.java
Last active February 15, 2019 23:41
Workaround for Asciidoctor #858 (fix the HTML Ouptu)
//Workaround using JSoup to obtain the desired behavior described in #858 for the HTML output.
//see https://github.com/asciidoctor/asciidoctor/issues/858
static private Pattern pattern = Pattern.compile("Figure ([0-9]+)\\.");
/**
* Main method for the #858 workaround.
*
* @param doc
* JSoup document (type is {@link org.jsoup.nodes.Document})
# Author: Pieter Noordhuis
# Description: Simple demo to showcase Redis PubSub with EventMachine
#
# Update 7 Oct 2010:
# - This example does *not* appear to work with Chrome >=6.0. Apparently,
# the WebSocket protocol implementation in the cramp gem does not work
# well with Chrome's (newer) WebSocket implementation.
#
# Requirements:
# - rubygems: eventmachine, thin, cramp, sinatra, yajl-ruby