Download and extract a tarball in Python
Posted 9th October 2024
No comments
A simple method for downloading a tarball from the internet and then extracting its contents in Python.
Installing RStudio in WSL2
Posted 22nd July 2024
No comments
Installing RStudio within the Windows Subsystem for Linux was not as simple as expected, once I started installing packages in R. Here’s my procedure for getting it all to work seamlessly.
Replace a string in file names recursively in Linux
Posted 5th June 2024
No comments
Use this simple BASH script to recursively rename parts of file names in Linux.
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.
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.
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.
Dark Theme in WSL2
Posted 9th November 2023
3 comments
Implement a “dark theme” for GUI apps in Windows Subsystem for Linux (WSL2)
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.
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).
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.