home.social

#hashbangcode — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #hashbangcode, aggregated by home.social.

fetched live
  1. 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.

    hashbangcode.com/article/creat

  2. 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.

    hashbangcode.com/article/creat
    #php #image #chart #gd #hashbangcode

  3. 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: luma.com/32oe5rig

  4. 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: luma.com/32oe5rig
    #hashbangcode

  5. 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.

    hashbangcode.com/article/drupa

  6. 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.

    hashbangcode.com/article/drupa
    #drupal #drupal10 #drupal11 #migrate #jadu #hashbangcode

  7. 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.

    hashbangcode.com/article/gener

  8. 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.

    hashbangcode.com/article/gener
    #php #gd #colour #histogram #hashbangcode

  9. 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:
    luma.com/32oe5rig

  10. 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:
    luma.com/32oe5rig
    #hashbangcode #hashbangcodeMeetup

  11. 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:
    luma.com/79wr1g2e

  12. 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:
    luma.com/79wr1g2e
    #hashbangcode #ai #ethicalAi

  13. 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.

    hashbangcode.com/article/local

  14. 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.

    hashbangcode.com/article/local
    #drupal #drupal10 #drupal11 #localGovDrupal #hashbangcode

  15. 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:
    luma.com/79wr1g2e

  16. 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:
    luma.com/79wr1g2e

    #hashbangcode #ai #ethicalAi

  17. 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.

    hashbangcode.com/article/stega

  18. 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.

    hashbangcode.com/article/tufty

  19. 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.

    hashbangcode.com/article/tufty
    #tech #review #tufty2350 #pimoroni #hashbangcode

  20. 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.

    hashbangcode.com/article/gener

  21. 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.

    hashbangcode.com/article/gener
    #php #chrome #pdf #hashbangcode

  22. 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.

    hashbangcode.com/article/local

  23. 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.

    hashbangcode.com/article/local
    #drupal #drupalCamp #localGovDrupal #hashbangcode

  24. 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.

    hashbangcode.com/article/inter

  25. 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.

    hashbangcode.com/article/inter
    #dns #hashbangcode

  26. 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.

    hashbangcode.com/article/drupa

  27. 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.

    hashbangcode.com/article/drupa
    #drupal #drupalDevelopment #hashbangcode

  28. 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.

    hashbangcode.com/article/drupa

  29. 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.

    hashbangcode.com/article/drupa

    #drupal #drupal11 #htmx #drupalDevelopment #hashbangcode

  30. 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.

    hashbangcode.com/article/drupa

  31. 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.

    hashbangcode.com/article/drupa
    #drupal #drupalDevelopment #drupalMigration #hashbangcode

  32. 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.

    hashbangcode.com/article/drupa

  33. 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.

    hashbangcode.com/article/drupa
    #drupal #drupalDevelopment #drupal11 #htmx #hashbangcode

  34. 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.

    hashbangcode.com/article/look-

  35. 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.

    hashbangcode.com/article/look-

    #htmx #php #hashbangcode

  36. 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.

    hashbangcode.com/article/drupa

  37. 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.

    hashbangcode.com/article/drupa
    #drupal #drupal11 #drupalDevelopment #drupalHtmx #hashbangcode

  38. 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.

    hashbangcode.com/article/drupa

  39. 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.

    hashbangcode.com/article/drupa
    #drupal #drupalDevelopment #hashbangcode

  40. 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.

    hashbangcode.com/article/drupa

  41. 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.

    hashbangcode.com/article/drupa
    #drupal #htmx #drupalDevelopment #hashbangcode

  42. 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.

    hashbangcode.com/article/drupa

  43. 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 : luma.com/kyr1krhe

  44. 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 : luma.com/kyr1krhe
    #hashbangcode

  45. 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.

    hashbangcode.com/article/runni

  46. 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.

    hashbangcode.com/article/runni
    #ai #raspberryPi #drupal #hashbangcode

  47. 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.

    hashbangcode.com/article/look-

    This ties into a package just released that shows a lot of different examples of HTMX working with a PHP backend.

    github.com/hashbangcode/htmx-p

  48. 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.

    hashbangcode.com/article/look-

    This ties into a package just released that shows a lot of different examples of HTMX working with a PHP backend.

    github.com/hashbangcode/htmx-p

    #htmx #php #hashbangcode

  49. 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.

    hashbangcode.com/article/leavi

  50. 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.

    hashbangcode.com/article/leavi
    #api #php #hashbangcode

  51. 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.

    hashbangcode.com/article/nothi

  52. 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.

    hashbangcode.com/article/nothi
    #tech #review #nothing #hashbangcode

  53. 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.

    hashbangcode.com/article/creat

  54. 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.

    hashbangcode.com/article/creat
    #godot #gameDev #hashbangcode

  55. 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.

    hashbangcode.com/article/drupa

  56. 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.

    hashbangcode.com/article/drupa
    #drupal #drupal11 #javascript #hashbangcode

  57. 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.

    hashbangcode.com/article/getti

  58. 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.

    hashbangcode.com/article/getti
    #git #programming #hashbangcode

  59. 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.

    hashbangcode.com/article/drupa
    #drupal #drupal11 #drupalDevelopment #hashbangcode

  60. 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.

    hashbangcode.com/article/creat
    #php # #hashbangcode