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
#!/usr/bin/env python | |
# -*- coding:utf-8 -*- | |
""" | |
Example app using bottle and multiprocessing for queuing long jobs | |
and using several workers. | |
""" | |
from multiprocessing import Process, Queue, cpu_count | |
from bottle import Bottle, run |
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
#!/bin/bash | |
# Converts audio formats in bulk | |
# requires avconv | |
fformat=m4a | |
tformat=mp3 | |
c=0 | |
t=0 | |
files=*.$fformat |