Skip to content

Dear Internet Explorer user: Your browser is no longer supported

Please switch to a modern browser such as Microsoft Edge, Mozilla Firefox or Google Chrome to view this website's content.

Python logo

Crop images in Python with array indexes

Posted 22nd May 2024

No comments

The advantage of this simple procedure for image cropping is that there’s no need to install special image manipulation packages.

Read the full story...

Stop Git from always asking for user credentials

Posted 11th April 2024

No comments

Here are a few methods for preventing Git from asking for user credentials upon every push.

Read the full story...

R logo

Export an R data frame into a formatted Excel sheet

Posted 22nd March 2024

No comments

A straightforward method for exporting an R data frame to a formatted Excel workbook.

Read the full story...

Dark Theme in WSL2

Posted 9th November 2023

2 comments

Implement a “dark theme” for GUI apps in Windows Subsystem for Linux (WSL2)

Read the full story...

Microsoft Outlook logo

BCC meeting recipients in Microsoft Outlook

Posted 2nd November 2023

No comments

A simple procedure to anonymise or hide all of the recipients in a Microsoft Outlook calendar invitation.

Read the full story...

Create a new Python environment on Linux

Posted 29th October 2023

No comments

Easy steps for creating new Python environments in Windows Subsystem for Linux (WSL).

Read the full story...

Jupyter Notebook in Windows Subsystem for Linux (WSL)

Posted 24th October 2023

No comments

Here’s a procedure for enabling Jupyter Notebooks to run on a Windows brower from a Linux environment on the same machine.

Read the full story...

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.

Read the full story...

Python logo

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.

Read the full story...

Python logo

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.

Read the full story...