- Django custom users
I’ve been looking at Django recently and I wanted to share some notes on how to create custom users. Django comes with a built-in user model, but sometimes you need to extend it or create a new one. Here’s how you can do it. Basically there will be several steps to follow: Create a custom user model Update the myproject/settings.py file Create a view for the custom user model Update the admin confiruration Create the migration and apply The files for this blog post can be found here: https://github.
- Recursion in Python
So, I’ve started the 100 days of code again. This is an attempt to keep the brain ticking over and keep coding fun. There are certain things I do at work, that really aren’t always that taxing. But they are necessary. This is to explore other areas that I typically wouldn’t use. I think I haven’t used recursion before at work. This is probably unusual for developers, but it’s not really in what I do.
- Working on the ICL 2900
Back in the late 80’s I worked on the ICL 2900. This was a cluster of machines that made up a mainframe. The retro orange panels and the air-lock that we had to pass to get to the resources, made it feel like something from a sci-fi movie. We were in a purpose built building. I dread to think how much it cost, which was a waste of money in the long term because in about 3-4 years, desktops will be making an appearance and the mainframe will be a thing of the past.
- Managing Azure Resources with Azure DevOps and Terraform - pt. 1
This post will show you how to create a simple Azure DevOps pipeline that can use the Azure CLI command within a Microsoft hosted agents on Azure DevOps.
- Using Mastodon Instead of Twitter
So, Twitter is currently a problem.
- AWS CI/CD Pipelines
This document will outline how to use an Amazon Web Services (AWS) CodePipeline to push a static html website from a code repository to an S3 bucket.
- Python - split a list in to smaller lists
So, you end up with a big list, that has a lot of entries, and you want to split them in to smaller lists.
- Azure DevOps Variables
Azure DevOps has a funny kind of virtualization. When you run your pipelines, the jobs can be on different hosts. This creates a head-scratching moment for people like me who have been working on linux bare-metal for quite a while and thinking that variables are just inherited.
- Gilbert White's Zig-Zag Walk
We went for a walk around Selborne, the home of Gilbert White, who some claim was the first English Naturalist.
- Test Driven Development
So, I started learning Golang recently, and decided that Learn Go with Tests was a good way to go.