Skip to content

Instantly share code, notes, and snippets.

View work.txt
Installation, on 9front:
git/clone plan9front-oauth
cd plan9front-oauth
git/branch oauth
bind sys/include /sys/include
@{cd sys/src/libauth && mk install}
@{cd sys/src/cmd/auth && mk install}
View loop.jl
for i in 1:(length(samples) - 1)
if (samples[i + 1] - samples[i]) < 500
deleteat!(samples, i:i+1)
Mitsos101 /
Created October 18, 2015 20:27
Convert Sphinx .mfc to libsvm input file
cat *.mfc >> svm.input
awk '{for(i=1;i<=NF;++i) $i=i":"$i}1' svm.input > tmp.input && mv tmp.input svm.input && rm -f tmp.input
sed -i -e 's/^/+1 /' svm.input