Ryan Fitton
BlogTagsPortfolioAbout

Code Snippets

Tags

All Posts
  • development (57)
  • code-snippets (47)
  • uncategorized (27)
  • design (15)
  • photos (6)
  • video-talks (4)
  • personal (1)
  • Published on
    4 June 2022

    Enabling/Disabling Hyper V in Windows 10 for Virtual Box and Docker development

    • Development
    • Code-Snippets
    These instructions offer assistance with enabling/disabling Hyper V in Windows 10. I have found it necessary to disable this service for use with Virtaul Box, then re-enabling it for Docker. To disable Hyper V in Windows 10 (e.g. for use with Virtual Box): Ensure virtualisation is supported by your CPU and enabled in the BIOS ...
  • Published on
    22 August 2020

    WordPress Snippet: Using ACF image and WordPress Featured Thumbnails

    • Development
    • Code-Snippets
    When building WordPress themes, there is often a need to use a featured thumbnail, or image value from ACF; as either a background image or as a <img> tag. This snippet below is something I use frequently, hopefully this will be as benefit for you too. <?php //Custom image sizes - Add these to your ...
  • Published on
    14 July 2020

    Building a Raspberry Pi Zero temperature monitor with web interface

    • Development
    • Code-Snippets
    I’ve recently purchased a few cheap DHT22 temperature sensors from Amazon. They work great and use Python to display the data from the sensors. I found I required a way to log the data, so I though why not make this a project!? I have created a simple Web Interface to view logged data: https://github.com/ryanfitton/rpi-temperature-monitor-logging-interface. ...
  • Published on
    1 April 2020

    How to install Home Assistant within an LXC container

    • Development
    • Code-Snippets
    I have published this blog post to help anyone having issues installing Home Assistant (and Docker) in an LXC container running on Ubuntu. When I was installing Home Assistant on my own hardware, I could not find any straight-forward guides detailing how to do this, and Home Assistant’s own documentation does not help with installing ...
  • Published on
    1 April 2020

    WordPress Example: How to update and refresh current value stored in an ACF field

    • Development
    • Code-Snippets
    The post displays hows to use WordPress Ajax functions to display a field’s value; and automatically refresh the field every 5 seconds. This example also includes examples of how to send an Ajax post to update the field. In this example, each click oft the ‘submit’ button will increase the numerical value stored in the ...
1 of 10Next
mailMailgithubGithubkeybaseKeybaselinkedinLinkedinxXfacebookFacebookyoutubeYoutubemastodonMastodonblueskyBlueskythreadsThreadsinstagramInstagram
AboutColophonPoliciesLinksRSS FeedStatus
© 2025 Ryan Fitton. All rights reserved. License.