Skip to content

Instantly share code, notes, and snippets.

@rvnd
rvnd / gist:c41450541b69d6cbe2117bdda0af5300
Created October 18, 2016 04:02 — forked from riywo/gist:5023060
Join mp3 files with homebrew
$ brew install -v mp3wrap ffmpeg id3lib
$ mp3wrap tmp.mp3 1.mp3 2.mp3 3.mp3 ....
$ ffmpeg -i tmp_MP3WRAP.mp3 -acodec copy all.mp3 && rm tmp_MP3WRAP.mp3
$ id3cp 1.mp3 all.mp3
shell.js: internal error
TypeError: Cannot read property 'on' of undefined
at execAsync (/Users/anarayanan/code/patram/node_modules/shelljs/src/exec.js:145:11)
at Object._exec (/Users/anarayanan/code/patram/node_modules/shelljs/src/exec.js:212:12)
at Object.exec (/Users/anarayanan/code/patram/node_modules/shelljs/src/common.js:182:23)
at server.js:22:11
at Layer.handle [as handle_request] (/Users/anarayanan/code/patram/node_modules/express/lib/router/layer.js:95:5)
at next (/Users/anarayanan/code/patram/node_modules/express/lib/router/route.js:131:13)
at Route.dispatch (/Users/anarayanan/code/patram/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/Users/anarayanan/code/patram/node_modules/express/lib/router/layer.js:95:5)
unmap <C-i>
unmap <C-e>
unmap <C-u>
unmap <C-o>
unmap <C-y>
unmap <C-p>
unmap <C-h>
unmap <C-l>
unmap <C-f>
unmap <C-b>
export RUBY_GC_MALLOC_LIMIT=256000000
export RUBY_HEAP_MIN_SLOTS=600000
export RUBY_HEAP_SLOTS_INCREMENT=200000
export RUBY_HEAP_FREE_MIN=100000