Skip to content

Instantly share code, notes, and snippets.

View Headline's full-sized avatar

Headline

View GitHub Profile
@Headline
Headline / LineCounter.py
Last active September 5, 2017 08:42
A python script to count the amount of lines of text for all of it's adjacent files & files in sub directories.
import os
import os.path
import mimetypes
import locale
def get_clean_path(array):
somestr = ""
for x in range(0, len(array) - 1):
somestr += array[x] + "\\"
return somestr
@Headline
Headline / README.md
Last active June 2, 2017 17:27
A simple TTS class which uses Talkify.net's TTS service to play a given input.

Simple TTS

A simple TTS class which uses Talkify.net's TTS service to play a given input. Test out the service today http://talkify.net/

Dependencies

Unforunately this also requires mp3plugin.jar to be added to your class path in order for mp3 decoding to work properly. mp3plugin.jar is an old library that's hard to find on the internet now adays. I've provided a link to one from my dropbox below. Enjoy

https://www.dropbox.com/s/0nztyq0ghvjdnyh/mp3plugin.jar?dl=0