- Install required packages
brew install cuetools flac ffmpeg shntool
- Split flac file by cue
$ shnsplit -o flac -f file.cue file.flac
brew install cuetools flac ffmpeg shntool
$ shnsplit -o flac -f file.cue file.flac
This Gist: http://is.gd/dokkudjango
DigitalOcean: https://www.digitalocean.com/
Dokku: https://github.com/progrium/dokku
Dokku-Postgres: https://github.com/Kloadut/dokku-pg-plugin
| #!/bin/bash | |
| VENV=/home/greencall/webapps/greencall | |
| do_check () { | |
| if ps ux | grep -v grep | grep "$1" > /dev/null | |
| then | |
| exit | |
| else | |
| echo "Restarted with command $1" | |
| $1 |
L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns
Mutex lock/unlock ........................... 25 ns
Main memory reference ...................... 100 ns
Compress 1K bytes with Zippy ............. 3,000 ns = 3 µs
Send 2K bytes over 1 Gbps network ....... 20,000 ns = 20 µs
SSD random read ........................ 150,000 ns = 150 µs
Read 1 MB sequentially from memory ..... 250,000 ns = 250 µs
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>author</key> | |
| <string>Michael Sheets, James Cleveland</string> | |
| <key>name</key> | |
| <string>TwilightMod</string> | |
| <key>settings</key> | |
| <array> |