Sunday, 8 December 2019

How to filter a matrix on R

mm = matrix(1:9, ncol=3)
ifelse(mm==5, mm, 0)

Sunday, 18 August 2019

How to disable autoclosing parenthesis brackers jupyter notebook

From
https://github.com/jupyterlab/jupyterlab/issues/5741

https://github.com/jupyterlab/jupyterlab/issues/5741#issuecomment-500550173

commented on Jun 10

I just figured out how to make this (thank god) finally stop manually:
In JupyterLab, under "Setting" -> "Advanced Settings Editor" -> Notebook -> "User Overrides" add the following:
{
    "codeCellConfig": {
        "autoClosingBrackets": false
    }
}
and then hit the tiny "save" button in the upper right.

Tuesday, 6 August 2019

Sunday, 19 May 2019

How to disable ð (Eth) - a spin-weighted partial derivative character mac

 For iterm users

https://www.iterm2.com/faq.html



Installing Ukulele and removing it there allows you to disable it system wide