Code Repositories & Snippets.
Personal Blog
This blog is made using Zola, a Static Site Generator (SSG). You can view it, and any modifications I've made to the theme, on GitHub.
Snippet: Generate a battery usage report
A Powershell script to generate a graphical battery usage report and open it in your default browser. Useful in Windows 10, where battery statistics are limited.
Snippet: Calculate the energy costs of a PC
A Python script to calculate the monthly cost to run systems of different average power draws, useful for comparing it to alternatives such as cloud-hosted services.
Snippet: Calculate the energy costs of an appliance
A Python script to calculate the cost to run appliances of different average power draws, broken down by day, week, month and year, and accounting for Economy tariffs.
Snippet: Disable Android RUN_IN_BACKGROUND permission
A Batch script to prevent Android apps from running in the background. More useful on older, stock versions of Android, which did not provide as many options for restricting this activity. Requires adb.
Snippet: Disable Android READ_CLIPBPOARD permission
A Batch script to prevent Android apps from reading the contents of your clipboard. More useful on older versions of Android, which did not restrict clipboard access to foreground apps. Requires adb.
Snippet: Disable Android system applications
A Batch script to disable applications that Android does not normally let users disable. Useful for disabling invasive or unwanted apps. Requires adb.