Skip to content

Instantly share code, notes, and snippets.

View work.txt
https://github.com/Mitsos101/plan9front/pull/1
Installation, on 9front:
git/clone https://github.com/Mitsos101/plan9front 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)
end
end
@Mitsos101
Mitsos101 / mfctosvm.sh
Created Oct 18, 2015
Convert Sphinx .mfc to libsvm input file
View mfctosvm.sh
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