Category Archives: Uncategorized

Saved by my past self

Wiped Arch, put on Ubuntu 14.04 on laptop. Everything works fine, except for the speaker makes nonstop whine/beeping sound after unplugging power cord. Went through a bunch of results that didn’t help. The one that did was this one, and the … Continue reading

Posted in Uncategorized | Leave a comment

Compiling against manually installed packages

I’m trying to compile the openEphys GUI on Ubuntu 14.04. The program requires libhdf5 of version greater than 1.8.12. Unfortunately Ubuntu 14.04 only has libhdf5-1.8.11 in the repository. The openEphys wiki suggest compiling from source, but I’m afraid doing that might … Continue reading

Posted in Uncategorized | Leave a comment

Adding Matlab to launcher in Ubuntu

I screwed up my Matlab2013b installation on Ubuntu 14.04, so decided to re-install. Upgraded to Matlab2014b in the process. Installation was straight forward – download linux 64-bit from Mathworks site, install to /usr/local/MATLAB and have the installer make the symbolic … Continue reading

Posted in Uncategorized | Leave a comment

Ubuntu 14.04: Auto-mounting internal HDDs to named folders

I dual-boot Ubuntu 14.04 and Windows 7, though I’ve only used Windows once. Both ‘/’ and windows are installed on my SSD. For data, I have two 2TB internal HDDs. The file-system is NTFS. By default, to access the data … Continue reading

Posted in Uncategorized | Leave a comment

Handy bash code

Rather than thinking about it every time, I’m collecting all my handy bash things. for file in $(ls|grep mp3) do ffmpeg -i $file ${file/mp3/wav}; done Takes all the foo.mp3 files, use ffmpeg to convert and output foo.wav for file in … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

R – Plotting boxplots, with multiple per point

Plotting this took me a while to figure out, after going through a bunch of posts. In my data, I have a control and an experimental group. Multiple measurements are taken for these groups at different time points. I want to … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

New Project: nRF24LE1

Nordic semiconductor makes probably the best commercial ultra-low power, high bandwidth radio transceivers. We have used the nRF24L01 2.4GHz chips in wireless headstages previously. I’m working on a new project that uses these transceivers. But since I’m too lazy to … Continue reading

Posted in Uncategorized | Leave a comment