Blog


Serverless Laravel with Bref using AWS Lambda Part 1

November 27, 2022

Having worked on improving my suite of spiders, I wanted to expand the coverage to all the websites in the UK area of Openstreetmap and also incorporate more websites for a search engine I have in...

Read this post ...

Adding A Twitter Card Meta Tag Image

November 25, 2022

Today I have added a Twitter Card image for when I link to a post from Twitter. I had to write a blog post for the Jigsaw Static Site generator to include the image in the build. Here it is:

Read this post ...

Looking Up Domains for DNS Entries with PHP and Dig

November 23, 2022

One improvement I made today to speed up spidering website domains, is looking up the domain for a DNS-A entry. Using Curl or Guzzle is slowed down when the website has no entry in the DNS. So i...

Read this post ...

Using Screen and Links2 to run a PHP Web Spider and Detach the Terminal

November 22, 2022

I run a PHP based web spider to check the status of websites in londinium.com and was looking for a way to run it in the terminal. In the past I have run it using the refresh html header in a normal...

Read this post ...

Fixing Web Spider Errors with Guzzle Cookie Header Redirects and User Agent

November 21, 2022

Over the weekend, i ran a spider on the websites listed in the openstreetmap system. These are the error codes and the counts for these errors HTTP Error Count 401 13 402 6...

Read this post ...

Azure Free Tier Debian 11 and Ansible Installing a Lamp server

November 9, 2022

Today I got an email from Microsoft azure that a 30 day trial was ending and that I now had a 12 month fee basic tier level service, which is nice. I have set up a debian box to play with, just like...

Read this post ...

Ebook Making With Markdown to PDF with Ibis

November 6, 2022

Over the weekend, I was looking into making ebooks out of a directory of markdown files. I use markdown for this blog and also for my to-do list, so i started looking at what was available. I tried...

Read this post ...

Laravel Routes from Database

November 3, 2022

I have grown my website to have over 8000 lines in the routes files! These are only calling 6 controllers and simple static views, like so: But these make up the majority of them, so now it is...

Read this post ...

PHPStan static analysis

October 28, 2022

Today I took the plunge and installed PHPStan, or rather larastan which is a static analysis tool to check code for errors and missing return types. create a rules file called 'phpstan.neon' So...

Read this post ...

Upgrade Apache To PHP 8.1 with Ansible on Debian

October 12, 2022

My local Debian machine has Apache and PHP working and I have set it up with this Ansible playbook github.com/allotmentandy/ansible-debian-install-desktop Today as part of the upgrade process for my...

Read this post ...