Skip to content

Instantly share code, notes, and snippets.


Andy Barilla andybarilla

View GitHub Profile
#!/bin/env python
import os
base_url = ''
root_dir = '/home/username/mp3s'
m3u_name = '000_all_songs.m3u'
audio_exts = ['.mp3', '.ogg', '.m4a']
def handle_dir(base_dir, root_dir):
files = []
for path in os.listdir(root_dir):
full_path = os.path.join(root_dir, path)
View .vimrc
" my vimrc with some chunks borrowed from
set nocompatible
filetype off
" install Vundle
" git clone ~/.vim/bundle/Vundle.vim
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
andybarilla /
Last active Mar 2, 2020
DDNS Script for Hover (using their unofficial API)
#!/usr/bin/env python
""" Provides dynamic DNS functionality for using their unofficial API.
This script is based off one by Dan Krause:"""
__author__ = "Andrew Barilla"
__credits__ = ["Andrew Barilla", "Dan Krause"]
__license__ = "GPL"
__version__ = "1.0"
__maintainer__ = "Andrew Barilla"
You can’t perform that action at this time.