I don't do that much that's clever with git, but I've found the following helpful. Automatically prune When you do a git fetch or git pull, you can ask it to remove remote tracking branches for a branch that has been removed on the remote by using the --prune flag. This can be automated globally with: [crayon-6076ae50b10c5527885981/] and if you only want it for a specific repository, you can use: [
Continue reading 'A few Git tips'
Welcome to the third in this series of blogs focusing on sustainability by Business, Economics and Finance student, Debbie Andrews. In this blog she is focusing on single use plastics: 60% of people saying reducing […]
Continue reading 'Single Use Plastics'
One of my clients has recently moved to AnyConnect VPN and I've been having routing problems with the official Mac client. As my colleagues on Linux on the project have not had these issues, I investigated and installed the OpenConnect client. These are my notes after scouring the Internet to set it up how I want it. Installation I used Homebrew: [crayon-6076ae50b1a6b936615491/]OpenConnect is a CLI
Continue reading 'OpenConnect on Mac'
Want to become more sustainable and save money? You're in the right place! Welcome to the second in this series of blogs focusing on sustainability by Business, Economics and Finance student, Debbie Andrews:
Continue reading 'Sustainable Drinks for Students'
Student Wellbeing Champion and MRes student Georgie Sherrard tells us about the International Day of Forests: March 21st is the day that the UN have named as ‘International Day of Forests’. As we all know, […]
Continue reading 'International Day of Forests'
When writing PHP for AWS Lambda, Bref is the way to do it. One thing I like about Bref is that you can use PSR-15 Request Handlers to respond to API Gateway HTTP events as documented in the API Gateway HTTP events section of the Bref docs. The request handler is the same as used in PSR-7 micro-frameworks like Slim or Mezzio and can be thought of as a controller action. As such, it's really… continu
Continue reading 'Dependency injection in Serverless PHP with Bref'
One thing that has annoyed me about receiving email is so-called tracker pixels. These usually 1x1px transparent images that are remotely loaded into HTML email enable the sender to track information about be. A good resource about them is No To Spy Pixels. As such I've tended to run my email clients with remote resource loading disabled, which isn't the best experience as a surprising number of le
Continue reading 'MailTrackerBlocker'
With the release of Big Sur, my scripts for keyboard control of macOS notification alerts stopped working. With a bit of experimentation and help from Google, I have written new ones. Closing an alert To close a notification alert on Big Sur, conceptually we want to press the X button that appears when you hover over it. The AppleScript to do this is: [crayon-6076ae50b2043233824139/] This is much m
Continue reading 'Keyboard control of Big Sur notification alerts'
I'm very happy to be speaking at The Online PHP Conference this year. As you can guess from the title, this is an online event so is easily accessible right from your desk. thePHP.cc have very kindly made available a couple of tickets to me, so you could attend for free.
Continue reading 'Free ticket to The Online PHP Conference!'
As we reach the end of 2020, I continue my tradition of looking back at my year through the photos that I took as I have done every year since 2009. I have been doing a Project 365 for a good few years which acts as a diary too, so I have the opportunity to appreciate what happened this year in my life. This has been quite a year with the pandemic hitting the UK… continue reading.
Continue reading '2020 in Pictures'
Since 1Password added Apple Watch unlock I've wondered if there are other situations when I need to enter my password where it instead require a click of my Watch instead. I recently came across an article about how to make sudo work with Touch ID, which is nice, but my iMac Pro doesn't have Touch ID. I went searching though and found pam-watchid! This is a PAM module for using the Watch – ex
Continue reading 'Add Apple Watch authentication to sudo'
“The creative adult is the child who survived.” Ursula Le Guin Introducing the new format, skinny Creative Spark e-news…I’m sorry it’s been such a long time since my last e-news. I’ve been busy, which is great, however, it feels a bit hectic. I’ve heard a lot of friends who work in the creative sector saying […]
Continue reading '5 Things You Can Do If You’ve Got a Lot On'
When working on OpenWhisk, I discovered that it needed a different Java to the one I had installed. Looking around the Internet, I discovered jenv which shouldn't have surprised me as I use pyenv and I'm aware of rbenv too. As I use Homebrew, these are the commands I used. Firstly install jenv, the latest Java (15 at this time) and any other versions you need. Java 8 and 12 in this example: $ brew…
Continue reading 'Using jenv to select Java version on macOS'
UPDATE: Since this was published, PR 1087 has been raised and merged with restores pecl to the Docker PHP 8 images. I discovered recently that pecl is no longer shipped in the PHP Docker images for PHP 8. This appears to be related to the deprecation of --with-pear in PHP core as noted in issue 1029. Consider this Dockerfile: FROM php:8.0.0RC5-cli-buster RUN pecl install mongodb && docker-php-
Continue reading 'Installing PHP extensions without pecl in PHP 8 Docker images'
This was the second 99 minute workshop on visual facilitation and sketchnoting. I incorporating some activities from the first workshop, but also introduced some new ones as well. I designed this workshop to be fun and interactive and also the sort of workshop that you could attend multiple times. Last time, I found hosting a […]
Continue reading 'Visual Facilitation and Sketchnote Workshop (4th November 2020)'
On Wednesday 4th November, I will be running my 99 minute workshop on sketchnoting and visual facilitation. How did I prepare for this talk? I decided to complete my 99 second sketchnotes from TestBash Manchester. The 99 second talks are a popular feature of the Ministry of Testing conferences. They are a great way to […]
Continue reading '99 Second Talk #Sketchnotes (TestBash Manchester 2020)'
On Thursday 29th October 2020 was the next test bash conference – test.bash(); Due to the changing circumstances caused by the COVID-19 pandemic, the way conferences are run has had to change a little – well, a lot! As a reult, this conference has had its name changed to test.bash(‘online’); But its not just the […]
Continue reading 'Test.Bash(“#Sketchnotes”);'
This will take place on Friday 2nd October 2020. I will be sketchnoting all the talks including the 99 second talks. These will be added to this post as each sketchnote is completes (hopefully soon after each talk). TestBash Manchester also included a series of pre-TestBash talks which took throughout the week. All the sketchnotes […]
Continue reading 'Test-Bash Manchester 2020 – Fridays talks'
TestBash Manchester has moved online, so instead of taking a trip to the same city that contains the set of Coronation Street, Blue Peter gardens and the Lowry Theatre, we watched the event from the comfort of our own homes (or offices, if you’d returned to them yet). The main event took place on the […]
Continue reading 'TestBash Manchester 2020 – Pre-Bash #Sketchnotes'
This title might give the impression that I know very little about programming. This is not true! I have experience in several programming languages including Java, Python and C#. So why do I wish I knew more about programming? No matter how much you know about a topic, there will always be more to learn. […]
Continue reading 'I Wish I Knew More About…Programming!'