pdfnup --landscape --nup 2x2 --frame true --no-tidy --delta '5mm 5mm' --scale 0.95 input.pdf
I needed to keep track and made public the solution to (some of) all those little tricky details that make our life so miserable sometimes...
Wednesday, 11 June 2014
Print four beamer slides per sheet
Of course, on Linux CLI:
Saturday, 22 February 2014
Clean up filled up partitions in Linux: mount subdirectories elsewhere
I have two major partitions in my Linux box:
I had the following idea: mount some large subdirectory from
Here is how I did it. First, I moved move the required directories:
Then, I edited the
Finally, I ran
/
and /home
. My root partition was getting dangerously crowded and I got a "disk full" error a number of times.I had the following idea: mount some large subdirectory from
/
in /home
. In particular, I decided to move there my /usr/local/lib/R/site-library
directory (R packages, in the order of 1GB).Here is how I did it. First, I moved move the required directories:
su -
cd /usr/local/lib/R/
mv site-library /home
Then, I edited the
/etc/fstab
file adding the linetmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
to it in order to persist the changes. (Mind that the spaces are actually tabs).Finally, I ran
mount -a