Skip to content

Instantly share code, notes, and snippets.

View rubasov's full-sized avatar

Bence Romsics rubasov

View GitHub Profile
@rubasov
rubasov / tts
Created January 24, 2023 15:17
gtts-cli wrapper for ease of use in language learning
#! /bin/bash
# tts
# Take some words or short text in a given language,
# make Google's TTS pronounce it and play the pronunciation.
#
# usage
# tts LANG-CODE TEXT TO SPEECH
#
# supported languages
@rubasov
rubasov / pidof-ancestors
Created December 7, 2012 19:12
print the pid chain of process-parent-grandparent-... under Linux
#! /usr/bin/perl
=head1 NAME
pidof-ancestors - print the pid chain of process-parent-grandparent-...
=head1 SYNOPSIS
pidof-ancestors PID