Logs | Page 2 of 6

These logs are random snippets of information that have been useful to me in the past. Hopefully they help you too!


Setting AFS permissions recursively

In order to recursively set AFS ACL permissions for a directory, you need to manually use find -exec as follows: find <dir> -type d -exec fs sa {} <...

Git notes

You can find a good reference for git notes here. Also, of course, git help notes. Notes can be used, for instance, to add extra information to a commit with...

Exporting multi-page pdfs with GIMP

Gimp imports multi-page pdfs as one layer-per-page. But it does not re-export multi-layer figures as a multi-page pdf, with one page-per-layer. It just expor...

Linear regression in numpy and scipy

Note that there are multiple numpy/scipy functions that do regression, fitting, etc. Of these, scipy.stats.linregress fits a line and forces an intercept. Yo...

Nautilus: open windows in the foreground.

To make nautilus open windows in front of the terminal in 14.04, install compizconfig-settings-manager and set the “Focus Prevention Level” to “Off” under “G...

Vim bundle submodule repository

I made the .vim/bundle folder into a repo of submodules. Find it here. In order to successfully clone and set up this folder, first clone bundle, then run gi...

Single quotes in bash

In bash, single-quotation causes all characters within to be treated as literal. “A single quotation mark may not appear within single quotes; not even when ...

sed ‘top/htop/g’

To check out CPU utilization using a fancier top command, try htop.

Log Message

Tools for improving your efficiency with the terminal: https://github.com/rupa/z/ and https://github.com/sjl/t/