Correctly formatting LaTeX-based pseudocode with the ∀ (for all) symbol
Posted 17th October 2023
No comments
Here’s a methodology for using the ‘for all’ symbol (∀) in LaTeX so that subsequent lines of pseudocode are correctly indented.
Flattening nested lists or arrays in Python
Posted 2nd June 2023
No comments
There may be a requirement to flatten a list of lists in Python in order to extract useful information more easily. Here’s a procedure for flatting nested lists using NumPy.
Batch rename files using a CSV in Python
Posted 19th January 2023
No comments
Use this simple Python script to change hundreds or thousands of file names automatically, based on a CSV. This procedure will work on all operating systems.
List directory contents in CSV file using Python
Posted 18th January 2023
No comments
Do you need to compile a list of all of the files in a folder or directory? This can be automated using a simple Python script which will save a list of the files (and their full paths) into a CSV file that can be read in Excel.
Office rebranded to Microsoft 365
Posted 19th October 2022
No comments
Microsoft has announced that its iconic Office suite of programmes are to be re-branded as Microsoft 365 from November 2022.
Remove sensitivity labels from Office files
Posted 14th October 2022
No comments
If your organisation utilises Microsoft Azure or Purview to apply “security labels” to your Office documents, you may be compelled to have unsightly headers and footers in your documents. There is a way around this, but it’s clunky.
Structuring elements in Python
Posted 1st September 2022
1 comment
Some simple methods to generate structuring elements as part of an image morphology pipeline in Python.
Add your Conda environment to your Jupyter Notebook
Posted 31st May 2022
No comments
By default, Jupyter Notebook will only display a single kernel (called ipykernel) when installed in a new environment. Here’s a procedure for choosing another Conda environment in a Jupyter Notebook.
Launching “.au Direct”
Posted 24th March 2022
No comments
Australia’s domain name manager auDA (.au Domain Administration) today launched the direct registration of .au domain names.
Connect an RStudio project to Github
Posted 23rd March 2022
No comments
Use GitHub to back-up your R projects within RStudio and ensure you maintain version control.