March 12, 2013

How to resize FAT partition in Linux without losing data

I have a small external hard drive that had three partitions on it. One I created for TimeMachine backups, one for keeping movies and one that I was not aware of. It had a boot flag so I suspect it was created by TimeMachine itself. So once I got a bigger HD just for TimeMachine I no longer needed the allocated 100GB on that older drive. Getting rid of it however without losing data seemed a bit too complicated in Mac OS X. Read more

October 26, 2012

How to install matplotlib on Mac OS X Lion

I was struggeling with installation of matplotlib on Mac OS X Lion. While trying to pip install matplotlib I saw a lot of bad stuff like src/ft2font.h:16:22: error: ft2build.h: No such file or directory src/ft2font.h:17:10: error: #include expects "FILENAME" or <FILENAME> ... lipo: can't open input file: /var/tmp//ccuS7mkF.out (No such file or directory) error: command 'llvm-gcc-4.2' failed with exit status 1 It seemed that that issue was caused by REQUIRED DEPENDENCIES numpy: 1. Read more

Powered by Hugo & Kiss.