Category Archives: sysadmin

use Quick Look as a Firefox application handler

I really dislike getting screen-shots in the format of power-point files. Thankfully, 10.5′s Quick Look can help me preview power-point files. What I needed was a way to have Firefox automatically Quick Look all power-point files that I downloaded. Here’s how to do it: Open up Script Editor and paste this: on open filelist repeat [...]
Also posted in shell, tips | 1 Comment

Repairing your MySQL database

Today one of our computer’s /usr partition filled up and caused data corruption in the database. After space was freed up on the partition, we (Moises and I) ran some commands to repair the database. Here is what we did: cd into your directory where your db files are stored. In our case it was [...]
Also posted in programming | Tagged , , | 1 Comment

Backspace in Screen

I finally got sick of hitting Ctrl-H to backspace while in a screen session today, so I found a way around it: Try editing ~/.bashrc And adding: alias screen='TERM=screen screen' Not sure if this has adverse effects and there might be a better way to do it, but hey, it works!
Posted in sysadmin | 1 Comment