Skip to content

Instantly share code, notes, and snippets.

@viviparous
viviparous / wav2flac.sh
Last active December 1, 2021 03:10 — forked from amitsnyderman/wav2flac.sh
Convert wav to flac (16-bit / 44.1 kHz)
find . -iname "*.wav" -exec ffmpeg -i {} -af aformat=s16:44100 {}.flac \;
@viviparous
viviparous / SimpleHTTPServerWithUpload.py
Created July 16, 2016 20:52 — forked from UniIsland/SimpleHTTPServerWithUpload.py
Simple Python Http Server with Upload
#!/usr/bin/env python
"""Simple HTTP Server With Upload.
This module builds on BaseHTTPServer by implementing the standard GET
and HEAD requests in a fairly straightforward manner.
"""
@viviparous
viviparous / chat.go
Created May 30, 2016 09:44
simple golang chat server
package main
import (
"bufio"
"net"
)
type Client struct {
incoming chan string
outgoing chan string