Bun is an all-in-one JavaScript runtime & toolkit designed for speed, complete with a bundler, test runner, and Node.js-compatible package manager. You might have heard the hype – it promotes itself as a much faster replacement for Node and Yarn and with a quick test, bun install took 9 seconds vs npm install‘s 68 seconds. Quite impressive! Let’s see… read more
Code like a pro with a tricked-out terminal
When I first started learning HTML and CSS many years ago, I sometimes saw people using the terminal and didn’t understand why a web developer would need to use it. Now as a full-stack developer, I use it every day for a variety of tasks including using GIT, SSH to deploy sites on a server,… read more
The Next Level-Up for ChatGPT Integration
Almost everyone seems to have integrated ChatGPT into their platforms, but it’s often just another way to generate text. I believe the real benefit from AI API’s will come from integrating it into the user flow allowing for automated, contextually aware actions. A user could ask the AI to do something outside of just editing… read more
Effective prompts for ChatGPT
Save time prompting ChatGPT by spending a bit more time upfront writing a comprehensive prompt to help it understand what you need. These are my โจ 3 Top Tips โจ 1. Provide context Paste in other parts of your code that are relevant and explain why you need an answer – “What problem am I… read more
๐ฌ Running MySQL (MariaDB) and phpMyAdmin locally in docker
This a simple docker-compose file.yml file to help speed up development with a MySQL server, connection details and phpMyAdmin interface: Note: You’ll need Docker Desktop app from the official Docker website to run this file. Run the following command in this directory to open the database and PHPmyAdmin: docker-compose up Navigate to localhost:8080 in your… read more
๐ทโโ๏ธ Listening to local ethereum events while testing with Hardhat
Testing smart contracts in Ethereum requires testing for more than just the expected return values. It is important to verify that the events that should be emitted when the contract is invoked are also occurring as expected. In this article, we’ll explore how to listen and record local Ethereum events while testing with Hardhat to… read more
๐งน Removing the build folders when deploying Next.js on Plesk
Following on from my previous article Setting up a Next JS app on Plesk control panel with git auto-deploy, this post will show you how to remove the node_modules folder from Plesk after you’ve deployed your site, freeing up room on your server. We’ll change the build process from Next.js and add a rewrite rule… read more
๐ฑ Converting a GameMaker Studio HTML5 game into a Progressive Web App (PWA)
Progressive Web App’s (PWA) are an exciting method to create web-based apps that can be ‘installed’ on iOS and Android without going through their respective app stores and the hassle that goes with it. If you are creating an HTML5 game with Game Maker Studio, this blog will show you how to convert it to… read more
๐๏ธ Setting up a Next JS app on Plesk control panel with git auto-deploy
Plesk is a great multi-function control panel capable of hosting different types of apps on a VPS, and I hope they continue to build on and improve support for Node apps. This post shows how to deploy a Node based Next.js app to use with SSR or SSG, along with connecting to GIT for source-controlled… read more
๐ง Optimising GameMaker Studio 2.3 for HTML5 web and mobile games
GameMaker Studio is a great tool but still leaves room for improvement when exporting games to HTML5.
If you want to know how to improve mobile touch, resolution and performance for your Game Maker games for HTML5, these two steps will help.