Archives for February 2013

Swap alt and ctrl keys

Another addition to the cybernetic memory: how to use xmodmap to swap the alt and ctrl keys on linux. A very useful change if you happen to use Emacs, especially on a laptop. Step zero Use the xev program to determine the keycodes for all four keys to be swapped. On my system they were […]

A quine in SAS

I’ve been playing around with quines in various languages. I searched for one written in SAS, but had no luck. So in accordance with the principle of plentitude, I wrote one. Here it is; tested under SAS versions 9.2 and 9.3. data _null_; q = put(byte(34),$char1.); length C1-C10 $ 80; array C{10} $ C1-C10 ( […]