An ode to the pipe operator
What I particularly like about the tidyverse is
the pipe operator %>%
. For me it is more than a convenient way of
concatenating tasks, prettifying and/or reducing the amount of code.
I intrinsically connect it to the first two principles of the UNIX
philosophy:
Mounting VirtualBox's shared folders
When mounting VirtualBox folders shared by Windows with mount -t vboxsf <shared folder> <mountpoint>
on a Unix machine, the permissions of files and
folders are often incorrect. Both files and folders are mounted with umask 000
.
Samba's file and directory masks
When setting up Samba shares, I always wonder how to
set file and directory masks correctly. The following is a best practice
example that works quite well in smb.conf
:
Easy deployment with git hooks
I use Git for managing this website. After commiting content
locally, I push it to the remote side. Traditionally, then, I would ssh
into remote and copy the repositories content somewhere under /var/www
.
This was before I found out about a very handy feature implemented in Git
called "hooks".