Tuesday, October 30, 2012

Script for importing data file from WinEDR to MATLAB

I put this script together a few years ago for importing data from WinEDR into MATLAB:


Ubuntu 12.04 boot times on solid state vs. regular hard drive

Comparing (almost) completely clean new installations of Ubuntu 12.04 on my home (an old hp Pentium 4) on

1) 1.0 TB Western Digital SATA 64MB Cache 3Gbps?
I got to the login screen about 37.5 seconds after pressing the power button, and to the desktop about 10.3 seconds later.

and 2) 80 Gb Intel SSD? (I already screwed it to the inside of the box...)
I got to the login screen about 30.5 seconds after pressing the power button, and to the desktop about 7 seconds later.

So, the SSD saves about 10 seconds per startup.

Saturday, October 20, 2012

Installing php and apache

In the spirit of logging changes I make to my new laptop: I'm setting up php and apache to test some little php scripts:


sudo apt-get install apache2
sudo apt-get install php5
sudo /etc/init.d/apache2 restart

And it seems to have worked.

Thursday, October 18, 2012

Plot binned mean and mean plus/minus std using python

python scripts to plot mean and mean plus/minus std for data in time bin:


Thursday, October 4, 2012

Mounting an external hard drive in Ubuntu

Lately Ubuntu hasn't been recognizing my external hard drives when I plug them into the USB ports. Here is a manual way to mount one named "weir17":


sudo mkdir /media/weir17
sudo mount /dev/disk/by-label/weir17 /media/weir17  


I'm not sure why this is not happening automatically, maybe something to do with them being formatted in NTFS?