This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for f in *.wav; do sox "$f" "${f%.wav}.aif"; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.db import models | |
""" | |
add get_or_none(...) method to a Django model | |
usage: Thing.objects.get_or_none(thing='something') | |
courtesy of https://stackoverflow.com/users/245672/kaapstorm | |
""" |