mfz.github.io

Recent posts

Jun 15, 2022
Logging into singularity instance using ssh

Sometimes we want to connect into a singularity instance using ssh. For example, when setting up a pseudo-distributed environment, Hadoop tries to ssh into the pseudo nodes to start up the services.

The way to achieve this is to install a sshd within the container, and specify a different port than 22 (as this is used by the host).

Dec 5, 2021
Using iMac bluetooth keyboard and mouse in Ubuntu (20.04 LTS)

How to use an iMac’s bluetooth keyboard and mouse after wiping out MacOS and setting up Ubuntu.

Dec 1, 2021
Installing Ubuntu 20.04 LTS on iMac with safe graphics

Problem: On iMac 2009, Ubuntu 20.04 can boot from USB in safe graphics mode, but after installation it only shows black screen

Nov 27, 2021
Pasting image from clipboard into org-mode

How to paste an image from the clipboard into an Emacs org-mode buffer. Requires `xclip` to be installed.

Nov 25, 2021
Replicating a conda environment in singularity

How to replicate a conda environment in a singularity container, and automatically activate the environment on startup.