Calling Puppeteer via PHP
A blog post detailing an issue where a Puppeteer screenshot script, triggered through a PHP application using CodeIgniter, stopped working due to Chromium not starting under the Apache www-data user on Debian.
Posts, statuses and bookmarks on philipnewborough.co.uk tagged with: "javascript"
Find more posts tagged with "javascript" on Mastodon .
A blog post detailing an issue where a Puppeteer screenshot script, triggered through a PHP application using CodeIgniter, stopped working due to Chromium not starting under the Apache www-data user on Debian.
A long time ago in a galaxy far, far away, there was a web developer who wanted a silly animation for his custom 404 error page. philipnewborough.co.uk/demos/canvas...
Working on a single-page application. It's not something I would normally do and I didn't start it as a SPA, it just kind of happened. The application may never be published, but I had a free Saturday afternoon and it was kind of fun to hack on.
Just found myself writing a function named damage_by_plant. It has nothing to do with angry plants.
Adding what3words support to an existing PWA. Pleasantly surprised by the clear API documents and ease of set-up. Good job what3words devs!
I've just dragged my ESLint config file into an old project and all I can see is red lines.
This morning I am mostly playing around with HTML, CSS, JavaScript and Puppeteer to dynamically create Open Graph images.
Looking at an old version of Dompdf and considering if I should update it, or switch the app to use a service built with Puppeteer or similar. I'm thinking Puppeteer might provide faster PDF renders.
I wrote a book about service workers. It’s called Going Offline. It was first published by A Book Apart in 2018. Now it’s available to read for free online.
howler.js is an audio library for the modern web. It defaults to Web Audio API and falls back to HTML5 Audio. This makes working with audio in JavaScript easy and reliable across all platforms.
Its proponents can be weird, it takes itself far too seriously, and its documentation is interminable. These are some ways that some people have described Christianity. This video is about React.js.
Encouraging visitors to install an Ad-blocker is a nifty idea.
Modern websites don't have to feel broken. Better is possible. This series walks through today's network and device ground truth, stares into abyss of developer practices, and closes with advice for managers and engineers who want to avoid the same mistakes.
Leaflet is the leading open-source JavaScript library for mobile-friendly interactive maps. Weighing just about 42 KB of JS, it has all the mapping features most developers ever need.
My name is Philip Newborough and I’m a full stack web developer living and working in Lincoln, England. This website (philipnewborough.co.uk) serves as my personal homepage. When I’m not working with tech, I love to ride bicycles with my wife and friends.