Monthly Archives: April 2014

Getting motherboard model

sudo dmidecode -t 2

Before Congress 1977: Hubble Space Telescope

John Bahcall 1977 The [Hubble] Space Telescope: Out Where the Stars Do Not Twinkle

Using harpoon vector symbol in LaTeX

My favorite vector symbol is a harpoon, but the harpoon package defaults to text mode, which will fail when math characters like \ell are used in the math mode. To fix this, in your document header put: \usepackage{harpoon} \newcommand*{\vect}[1]{\overrightharp{\ensuremath{#1}}} then $\vect{d\ell}$ will work. reference: http://tex.stackexchange.com/questions/66723/nudging-overset-characters-downwards

Manually putting external USB drives into standby

You can manually put a USB HDD that doesn’t automatically spin-down after inactivity to sleep with the following command: sg_start 0 –pc=3 /dev/sdc where I assumed your HDD was at /dev/sdc. You can determine which /dev/sd* you’re at with the command df The HDD should automatically spring back to active spinning mode when you write […]

Using Phoronix Test Suite 5

Prerequisites sudo apt-get install php5-cli php5-curl php-fpdf install Download from http://phoronix-test-suite.com/?k=downloads, then type: sudo gdebi phoronix-test-suite_5*.deb if you don’t have gdebi, you can install gdebi on Ubuntu 14.04 by: sudo apt-get install gdebi-core run tests (from terminal) phoronix-test-suite benchmark c-ray phoronix-test-suite benchmark hpcc phoronix-test-suite benchmark scimark2 phoronix-test-suite benchmark xonotic Listing all results on this PC […]

Matlab Compiler tbb.dll errors

Even with a fresh install of Windows 7 x64 and Matlab R2013b, I was getting tbb.dll related errors after compiling M-scripts using Matlab Compiler deploytool. The exe would compile, but upon running it would issue various tbb.dll errors. This problem happened across multiple PCs. To fix this problem, I followed this process: 1) download latest […]