Wednesday, April 28, 2010

Building SBA

To build SBA 1.6, I had to pass "-u MAIN__" to the linker. See here:

http://www.ics.forth.gr/~lourakis/sba/faq.html#Q11

To do this, I ran cmake-gui (overwriting the easy-to-read makefile that comes with the source). I found the linker flags options in the "advanced view" and set them to "-u MAIN__". The generated makefile worked.

Sunday, March 28, 2010

Convert between audio encodings

Keywords: convert, audio, mp3, flac, Ubuntu, Linux

Use SoundConverter, a Gnome app.

>> sudo apt-get install gstreamer0.10-plugins-ugly-multiverse soundconverter

http://maketecheasier.com/convert-flac-to-mp3-easily-with-soundconverter/2008/10/22

Saturday, February 27, 2010

Pydev and SciPy

I had the problem where Pydev wouldn't recognize imports from SciPy as valid. For example, see http://old.nabble.com/-pydev---Users--numpy-is-not-recognized-in-the-editor-window-td22595394.html.

I followed Fabio's suggestion, and added "scipy" to the forced builtins, and it worked.

Friday, January 15, 2010

Useful tool for formatting html

This tool takes text input and produces HTML that displays it.

Mounting smb (cifs) from Ubuntu Linux

Key words: Ubuntu 9.10, Karmic Koala, smb, samba, cifs, windows share, command line

Goal: Mount a Windows share from the command line

Platform: Ubuntu 9.10 x64

Solution:

1) Make sure smbfs is installed:
sudo-apt get install smbfs


2) Mount the share with the following syntax:
sudo mount -t cifs //<server>/<share> <local mount point> -o user=<domain>/<username>


Notes:
https://wiki.ubuntu.com/MountWindowsSharesPermanently
http://linux.die.net/man/8/mount.cifs

Intro and purpose

This is a personal "notes-to-self" blog.

I run Linux, and I often spend minutes Googling to figure out how to do X. That's fine. But what sucks is when a few months pass, I forget how to do X, and have to repeat the process. On this blog, I'll record solutions I find, so I can minimize the amount of redundant work I do.