#hashbangcode — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #hashbangcode, aggregated by home.social.
-
From the archive! Creating Sparklines In PHP
A sparkline is a very small line graph that is intended to convey some simple information, usually in terms of a numeric value over time. They tend to lack axes or other labels and are added to convey context to numbers.
In this article Phil goes through the steps needed to generate an inline sparkline using PHP.
https://www.hashbangcode.com/article/creating-sparklines-php
#php #image #chart #gd #hashbangcode -
From the archive! Creating Sparklines In PHP
A sparkline is a very small line graph that is intended to convey some simple information, usually in terms of a numeric value over time. They tend to lack axes or other labels and are added to convey context to numbers.
In this article Phil goes through the steps needed to generate an inline sparkline using PHP.
https://www.hashbangcode.com/article/creating-sparklines-php
#php #image #chart #gd #hashbangcode -
Just under a week left until the next #! code meetup. This time we are doing lightning talks!
Pick a (vaguely technical) subject and talk about it for 10 minutes. Slides are optional.
Or, just come along and listen in :)
Tue 11th August, 7pm UK time, online.
Sign up here: https://luma.com/32oe5rig
#hashbangcode -
Just under a week left until the next #! code meetup. This time we are doing lightning talks!
Pick a (vaguely technical) subject and talk about it for 10 minutes. Slides are optional.
Or, just come along and listen in :)
Tue 11th August, 7pm UK time, online.
Sign up here: https://luma.com/32oe5rig
#hashbangcode -
New! Drupal 11: Migrating From Jadu Into LocalGov Drupal: Part 1
In this article we look at how the Jadu API is used to get hold of site content, and what we can do in Drupal to facilitate the migration of this content. We then look at a simple part of the migration as an introduction to the whole process.
https://www.hashbangcode.com/article/drupal-11-migrating-jadu-localgov-drupal-part-1
#drupal #drupal10 #drupal11 #migrate #jadu #hashbangcode -
New! Drupal 11: Migrating From Jadu Into LocalGov Drupal: Part 1
In this article we look at how the Jadu API is used to get hold of site content, and what we can do in Drupal to facilitate the migration of this content. We then look at a simple part of the migration as an introduction to the whole process.
https://www.hashbangcode.com/article/drupal-11-migrating-jadu-localgov-drupal-part-1
#drupal #drupal10 #drupal11 #migrate #jadu #hashbangcode -
From the archive! Generating Histogram Colour Analysis Graphs From Images In PHP
In this article Phil looks at extracting the colour frequency from an image and generating a histogram based on the information found. He then looks at using colour ranges to segment the colour frequency into bins to create a simplified analysis.
https://www.hashbangcode.com/article/generating-histogram-colour-analysis-graphs-images-php
#php #gd #colour #histogram #hashbangcode -
From the archive! Generating Histogram Colour Analysis Graphs From Images In PHP
In this article Phil looks at extracting the colour frequency from an image and generating a histogram based on the information found. He then looks at using colour ranges to segment the colour frequency into bins to create a simplified analysis.
https://www.hashbangcode.com/article/generating-histogram-colour-analysis-graphs-images-php
#php #gd #colour #histogram #hashbangcode -
The next #! code meetup will be on 11th August, 7pm UK time, online.
This month we have lightning talks!
If you have a short (5-10 minute) talk you want to give on anything even vaguely technical or programming related then come along!
Register here:
https://luma.com/32oe5rig
#hashbangcode #hashbangcodeMeetup -
The next #! code meetup will be on 11th August, 7pm UK time, online.
This month we have lightning talks!
If you have a short (5-10 minute) talk you want to give on anything even vaguely technical or programming related then come along!
Register here:
https://luma.com/32oe5rig
#hashbangcode #hashbangcodeMeetup -
Tomorrow night! The next #! code meetup will be tomorrow (Tuesday, 21st July). Online, 7pm, UK time.
This time we have @greg_harvey , who will be talking about ethical AI solutions.
Sign up here and join in the fun:
https://luma.com/79wr1g2e
#hashbangcode #ai #ethicalAi -
Tomorrow night! The next #! code meetup will be tomorrow (Tuesday, 21st July). Online, 7pm, UK time.
This time we have @greg_harvey , who will be talking about ethical AI solutions.
Sign up here and join in the fun:
https://luma.com/79wr1g2e
#hashbangcode #ai #ethicalAi -
New! LocalGov Drupal: Rewriting Waste Collection Data Provider Classes To Alter Data
In this article Phil goes through how to use the hook_data_provider_info_alter() hook to change waste collection data without needing to alter the way in which the underlying system works.
https://www.hashbangcode.com/article/localgov-drupal-rewriting-waste-collection-data-provider-classes-alter-data
#drupal #drupal10 #drupal11 #localGovDrupal #hashbangcode -
New! LocalGov Drupal: Rewriting Waste Collection Data Provider Classes To Alter Data
In this article Phil goes through how to use the hook_data_provider_info_alter() hook to change waste collection data without needing to alter the way in which the underlying system works.
https://www.hashbangcode.com/article/localgov-drupal-rewriting-waste-collection-data-provider-classes-alter-data
#drupal #drupal10 #drupal11 #localGovDrupal #hashbangcode -
The next #! code meetup will be next Tuesday, 21st July. Online, 7pm, UK time.
This time we have @greg_harvey , who will be talking about ethical AI solutions.
Sign up here:
https://luma.com/79wr1g2e -
The next #! code meetup will be next Tuesday, 21st July. Online, 7pm, UK time.
This time we have @greg_harvey , who will be talking about ethical AI solutions.
Sign up here:
https://luma.com/79wr1g2e -
From the archive! Steganography With Images In PHP
Steganography is the process of hiding data in plain sight. Instead of relying on encryption you simply create output or files that contain the hidden data, if you know what to look for.
In this article, Phil Norton looks at using PHP to hide messages in an image using steganography.
https://www.hashbangcode.com/article/steganography-images-php
#php #steganography #hashbangcode -
Tufty2350 LCD Badge: A Review
The Tufty2350 LCD badge is a 2.8 inch screen with a rechargeable battery in a sturdy case and a lanyard so you can hang it around your neck
In this article I'll look at the Tufty2350 LCD badge, some features about the badge, and then how to create a custom badge application.
https://www.hashbangcode.com/article/tufty2350-lcd-badge-review
#tech #review #tufty2350 #pimoroni #hashbangcode -
Tufty2350 LCD Badge: A Review
The Tufty2350 LCD badge is a 2.8 inch screen with a rechargeable battery in a sturdy case and a lanyard so you can hang it around your neck
In this article I'll look at the Tufty2350 LCD badge, some features about the badge, and then how to create a custom badge application.
https://www.hashbangcode.com/article/tufty2350-lcd-badge-review
#tech #review #tufty2350 #pimoroni #hashbangcode -
From the archive! Generating A PDF From A Web Page Using PHP And Chrome
Last month we published an article about using Chrome to take screenshots of web pages for a link directory. This article uses the same underlying Chrome driver package, written in PHP, to generate PDF documents from web pages.
https://www.hashbangcode.com/article/generating-pdf-web-page-using-php-and-chrome
#php #chrome #pdf #hashbangcode -
From the archive! Generating A PDF From A Web Page Using PHP And Chrome
Last month we published an article about using Chrome to take screenshots of web pages for a link directory. This article uses the same underlying Chrome driver package, written in PHP, to generate PDF documents from web pages.
https://www.hashbangcode.com/article/generating-pdf-web-page-using-php-and-chrome
#php #chrome #pdf #hashbangcode -
New! LocalGov Drupal Camp 2026
LocalGov Drupal Camp 2026 was held on 11th and 12th June in the city of Sheffield in the north of England. The camp itself consisted of a Wednesday night social night, a day of talks and other sessions, followed by a day of workshops and sprints.
https://www.hashbangcode.com/article/localgov-drupal-camp-2026
#drupal #drupalCamp #localGovDrupal #hashbangcode -
New! LocalGov Drupal Camp 2026
LocalGov Drupal Camp 2026 was held on 11th and 12th June in the city of Sheffield in the north of England. The camp itself consisted of a Wednesday night social night, a day of talks and other sessions, followed by a day of workshops and sprints.
https://www.hashbangcode.com/article/localgov-drupal-camp-2026
#drupal #drupalCamp #localGovDrupal #hashbangcode -
From the archive! Interrogating DNS Records
This article is from over 10 years ago, but the details it contains are just as relevant as ever for looking at DNS records.
https://www.hashbangcode.com/article/interrogating-dns-records
#dns #hashbangcode -
From the archive! Interrogating DNS Records
This article is from over 10 years ago, but the details it contains are just as relevant as ever for looking at DNS records.
https://www.hashbangcode.com/article/interrogating-dns-records
#dns #hashbangcode -
New! Drupal 11: Building A Link Directory: Part 1
This is the first part in a series of articles looking at creating a link directory in Drupal.
In this article Phil goes through how he set up the link directory in Drupal, how links are added, and how the site is able to take screenshots of the links as they are added to the directory.
https://www.hashbangcode.com/article/drupal-11-building-link-directory-part-1
#drupal #drupalDevelopment #hashbangcode -
New! Drupal 11: Building A Link Directory: Part 1
This is the first part in a series of articles looking at creating a link directory in Drupal.
In this article Phil goes through how he set up the link directory in Drupal, how links are added, and how the site is able to take screenshots of the links as they are added to the directory.
https://www.hashbangcode.com/article/drupal-11-building-link-directory-part-1
#drupal #drupalDevelopment #hashbangcode -
New! Drupal 11: Cascading Select Forms With HTMX
This is part four of a series of articles looking at HTMX in Drupal.
In this article we will look at creating a form that contains multiple select elements and then use HTMX (and a little bit of the form states API) to tie them together so that selecting one element updates the others.
https://www.hashbangcode.com/article/drupal-11-cascading-select-forms-htmx
-
New! Drupal 11: Cascading Select Forms With HTMX
This is part four of a series of articles looking at HTMX in Drupal.
In this article we will look at creating a form that contains multiple select elements and then use HTMX (and a little bit of the form states API) to tie them together so that selecting one element updates the others.
https://www.hashbangcode.com/article/drupal-11-cascading-select-forms-htmx
-
From the archive! Drupal 10: Testing Migration Process Plugins
Creating migration process plugins is quite easy in Drupal. What isn't easy is fixing things in content after the migration has run.
This article goes over creating a migration process plugin, and then writing unit tests for it. Essential if you want to ensure that they change content correctly before running the migration.
https://www.hashbangcode.com/article/drupal-10-testing-migration-process-plugins
#drupal #drupalDevelopment #drupalMigration #hashbangcode -
From the archive! Drupal 10: Testing Migration Process Plugins
Creating migration process plugins is quite easy in Drupal. What isn't easy is fixing things in content after the migration has run.
This article goes over creating a migration process plugin, and then writing unit tests for it. Essential if you want to ensure that they change content correctly before running the migration.
https://www.hashbangcode.com/article/drupal-10-testing-migration-process-plugins
#drupal #drupalDevelopment #drupalMigration #hashbangcode -
New! Drupal 11: Creating A Tabbed Interface With HTMX
This is part three of a series of articles looking at HTMX in Drupal.
In this article we will be creating a tabbed interface in Drupal, where HTMX is used to power loading the data in a tab like section without reloading the page.
https://www.hashbangcode.com/article/drupal-11-creating-tabbed-interface-htmx
#drupal #drupalDevelopment #drupal11 #htmx #hashbangcode -
New! Drupal 11: Creating A Tabbed Interface With HTMX
This is part three of a series of articles looking at HTMX in Drupal.
In this article we will be creating a tabbed interface in Drupal, where HTMX is used to power loading the data in a tab like section without reloading the page.
https://www.hashbangcode.com/article/drupal-11-creating-tabbed-interface-htmx
#drupal #drupalDevelopment #drupal11 #htmx #hashbangcode -
From the archive! A Look At HTMX With PHP
We have more Drupal and HTMX articles coming next week. In the meantime, here's a look at HTMX and PHP.
-
From the archive! A Look At HTMX With PHP
We have more Drupal and HTMX articles coming next week. In the meantime, here's a look at HTMX and PHP.
-
New! Drupal 11: Building A "Load More" Feature For Paginating Nodes Using HTMX
In this article a controller action is created to load some pages of content to display them as a list.
New items can be appended to the existing list using a HTMX callback, creating a load more feature.
https://www.hashbangcode.com/article/drupal-11-building-load-more-feature-paginating-nodes-using-htmx
#drupal #drupal11 #drupalDevelopment #drupalHtmx #hashbangcode -
New! Drupal 11: Building A "Load More" Feature For Paginating Nodes Using HTMX
In this article a controller action is created to load some pages of content to display them as a list.
New items can be appended to the existing list using a HTMX callback, creating a load more feature.
https://www.hashbangcode.com/article/drupal-11-building-load-more-feature-paginating-nodes-using-htmx
#drupal #drupal11 #drupalDevelopment #drupalHtmx #hashbangcode -
From the archive! Drupal 9: Extending Drupal Base Classes Without Overriding Constructors
This article details a technique for injecting dependencies into constructors, forms, and plugins without needing to override the constructor.
We break down how to use dependency injection and what the technique does to improve this in Drupal.
Despite the article being written for Drupal 9, the technique is still relevant in Drupal 11.
https://www.hashbangcode.com/article/drupal-9-extending-drupal-base-classes-without-overriding-constructors
#drupal #drupalDevelopment #hashbangcode -
From the archive! Drupal 9: Extending Drupal Base Classes Without Overriding Constructors
This article details a technique for injecting dependencies into constructors, forms, and plugins without needing to override the constructor.
We break down how to use dependency injection and what the technique does to improve this in Drupal.
Despite the article being written for Drupal 9, the technique is still relevant in Drupal 11.
https://www.hashbangcode.com/article/drupal-9-extending-drupal-base-classes-without-overriding-constructors
#drupal #drupalDevelopment #hashbangcode -
New! Drupal 11: Making Interactive Elements With HTMX
HTMX is a JavaScript library that allows you to make ajax calls and create CSS transitions without writing any JavaScript code.
In this article we will look at how HTMX is integrated into Drupal, and what services exist to help you use it within the Drupal system.
https://www.hashbangcode.com/article/drupal-11-making-interactive-elements-htmx
#drupal #htmx #drupalDevelopment #hashbangcode -
New! Drupal 11: Making Interactive Elements With HTMX
HTMX is a JavaScript library that allows you to make ajax calls and create CSS transitions without writing any JavaScript code.
In this article we will look at how HTMX is integrated into Drupal, and what services exist to help you use it within the Drupal system.
https://www.hashbangcode.com/article/drupal-11-making-interactive-elements-htmx
#drupal #htmx #drupalDevelopment #hashbangcode -
New! DrupalCamp England 2026
Last weekend Phil attended DrupalCamp England 2026, at the University of Salford.
In this article, Phil writes about his experiences at the camp over the two day event.
https://www.hashbangcode.com/article/drupalcamp-england-2026
#drupal #drupalCampEngland #drupalCampEngland2026 #hashbangcode -
Next Tuesday is the first #! code meetup.
For our first session, @philipnorton42 will be talking about HTMX in Drupal.
This will be an online event, hosted via zoom.RSVP here : https://luma.com/kyr1krhe
#hashbangcode -
Next Tuesday is the first #! code meetup.
For our first session, @philipnorton42 will be talking about HTMX in Drupal.
This will be an online event, hosted via zoom.RSVP here : https://luma.com/kyr1krhe
#hashbangcode -
New! Running An LLM With Llama.cpp Using Docker On A Raspberry Pi
In this article we will look at how to get an LLM running on a Raspberry PI via a docker container, and what sort of things we might be able to do with it.
https://www.hashbangcode.com/article/running-llm-llamacpp-using-docker-raspberry-pi
#ai #raspberryPi #drupal #hashbangcode -
New! Running An LLM With Llama.cpp Using Docker On A Raspberry Pi
In this article we will look at how to get an LLM running on a Raspberry PI via a docker container, and what sort of things we might be able to do with it.
https://www.hashbangcode.com/article/running-llm-llamacpp-using-docker-raspberry-pi
#ai #raspberryPi #drupal #hashbangcode -
From the archive! A Look At HTMX With PHP
In this article we will look at how to get HTMX working with a vanilla PHP backend. With a few examples of the two systems working together.
https://www.hashbangcode.com/article/look-htmx-php
This ties into a package just released that shows a lot of different examples of HTMX working with a PHP backend.
-
From the archive! A Look At HTMX With PHP
In this article we will look at how to get HTMX working with a vanilla PHP backend. With a few examples of the two systems working together.
https://www.hashbangcode.com/article/look-htmx-php
This ties into a package just released that shows a lot of different examples of HTMX working with a PHP backend.
-
New! Leaving Meetup.com And Extracting Past Event Data Without API Access
In this article Phil shows how he was able to dig into the meetup.com site to see how the data was presented, and how he was able to MacGyver a solution in PHP to download the past data for a group as a CSV file.
https://www.hashbangcode.com/article/leaving-meetupcom-and-extracting-past-event-data-without-api-access
#api #php #hashbangcode -
New! Leaving Meetup.com And Extracting Past Event Data Without API Access
In this article Phil shows how he was able to dig into the meetup.com site to see how the data was presented, and how he was able to MacGyver a solution in PHP to download the past data for a group as a CSV file.
https://www.hashbangcode.com/article/leaving-meetupcom-and-extracting-past-event-data-without-api-access
#api #php #hashbangcode -
New! Nothing Phone (3): A Review
In this article, Phil looks at the main features of the Nothing Phone (3) and what it's been like to use it for the last few months.
https://www.hashbangcode.com/article/nothing-phone-3-review
#tech #review #nothing #hashbangcode -
New! Nothing Phone (3): A Review
In this article, Phil looks at the main features of the Nothing Phone (3) and what it's been like to use it for the last few months.
https://www.hashbangcode.com/article/nothing-phone-3-review
#tech #review #nothing #hashbangcode -
From the archive! Creating A Text Adventure Game In Godot
In this article Phil will goes through the steps required to create a (very simple) text adventure game that allows for navigation around a number of rooms and interacting with locks and keys.
The system uses a JSON data structure to create the rooms and items so can be adapted for different games.
Fun fact; this is one of our most popular articles.
https://www.hashbangcode.com/article/creating-text-adventure-game-godot
#godot #gameDev #hashbangcode -
From the archive! Creating A Text Adventure Game In Godot
In this article Phil will goes through the steps required to create a (very simple) text adventure game that allows for navigation around a number of rooms and interacting with locks and keys.
The system uses a JSON data structure to create the rooms and items so can be adapted for different games.
Fun fact; this is one of our most popular articles.
https://www.hashbangcode.com/article/creating-text-adventure-game-godot
#godot #gameDev #hashbangcode -
New! Drupal 11: Finding A Better Way To Display Code Examples
In this article I will look at a few code sandboxes and how they might be integrated into Drupal.
I'll then look at one code sandbox in particular and allow this to be embedded into article content.
https://www.hashbangcode.com/article/drupal-11-finding-better-way-display-code-examples
#drupal #drupal11 #javascript #hashbangcode -
New! Drupal 11: Finding A Better Way To Display Code Examples
In this article I will look at a few code sandboxes and how they might be integrated into Drupal.
I'll then look at one code sandbox in particular and allow this to be embedded into article content.
https://www.hashbangcode.com/article/drupal-11-finding-better-way-display-code-examples
#drupal #drupal11 #javascript #hashbangcode -
From the archive! Getting Started With Git Bisect
This is a detailed introduction into using git bisect to find problems in git repos.
We look into the bisect algorithm, how it's used in git, and some examples of using the system to find where a problem was introduced in a repo.
https://www.hashbangcode.com/article/getting-started-git-bisect
#git #programming #hashbangcode -
From the archive! Getting Started With Git Bisect
This is a detailed introduction into using git bisect to find problems in git repos.
We look into the bisect algorithm, how it's used in git, and some examples of using the system to find where a problem was introduced in a repo.
https://www.hashbangcode.com/article/getting-started-git-bisect
#git #programming #hashbangcode -
New! Drupal 11: Theming The Search API Search Input
In this article we will look at how we can use a combination of form alters and suggestion hooks to change the Search API form submit input to a button. This is so that an SVG magnifying glass icon can be embedded inside.
https://www.hashbangcode.com/article/drupal-11-theming-search-api-search-input
#drupal #drupal11 #drupalDevelopment #hashbangcode -
From the archive! Creating A Character Bitmap In PHP
In this article, Phil looks at re-creating a method of character encoding from the early days of computing.
The code converts numbers into binary and then converts that into dots on a matrix.
https://www.hashbangcode.com/article/creating-character-bitmap-php
#php # #hashbangcode