Skip to content

Instantly share code, notes, and snippets.

@DavidDobr
DavidDobr / download_my_podcasts.py
Created January 16, 2017 20:09 — forked from janetriley/download_my_podcasts.py
A Python script to download podcasts from an xml feed and tag the MP3s.
"""
A script for downloading some podcasts and tagging the files so I can import them to iTunes.
"""
import pycurl
import os.path
import sys
from BeautifulSoup import BeautifulStoneSoup
import eyed3
@DavidDobr
DavidDobr / pull_settings_to_backup.sh
Created January 8, 2017 10:58
Script to copy local config and settings files into a github repo
#!/usr/bin/env bash
HOME=$HOME
# DESTINATION_DIR is the github repo to save current user's settings to
DESTINATION_DIR="$HOME/code_projects/settings_backup/"
# This is a secondary Dropbox backup
REDUNDANT_BACKUP="$HOME/Dropbox/settings_backup"
function check {
##### USER GENERATED ALIASES
PATH=$PATH:$HOME/anaconda3/bin:$HOME/
alias howdoi='howdoi -c -n 5'
alias la='ls -a1'
alias brc="vi ~/.bashrc"
alias sbrc="source ~/.bashrc"
EDITOR=vim
alias vi=vim