Ryan Fitton
BlogTagsPortfolioAbout

Development

Tags

All Posts
  • development (60)
  • code-snippets (47)
  • uncategorized (27)
  • design (15)
  • photos (6)
  • video-talks (4)
  • personal (1)
  • Published on
    11 March 2018

    VestaCP API firewall suspend and unsuspend bash script

    • Development
    • Code-Snippets
    VestaCP offers an API which allows the firewall rules to be changed, but I could only find examples which use PHP and cURL and I required a script which would work as a Bash script. I’ve created a script below which you’re free to use. Ensure your host URL, admin username and password are correct ...
  • Published on
    3 February 2018

    Multiple videos using the YouTube API within a Bootstrap 3.3.7 carousel slider

    • Development
    • Code-Snippets
    This is an example of how to use the YouTube API with multiple videos within a Bootstrap carousel. I have added Play/Pause functionality to a custom button and added the ability for the videos to be paused when the carousel is transitioned. A CodePen is attached below to see the example in action, and the ...
  • Published on
    5 January 2018

    PHP: Finding a multi-dimensional array key’s associated value

    • Development
    • Code-Snippets
    I thought I would share this simple PHP function to hopefully help anyone needing a quick solution...
  • Published on
    5 December 2017

    Version 2.0.0: Backup MySQL (Bash script)

    • Development
    • Code-Snippets
    This is similar post to be read together with this. And a follow-up update to ‘Backup SQL files to FTP server‘ script. Some of my similar Backup scripts reside in a a GitHub here: https://github.com/ryanfitton/lxc-mysql-tar-backup-script-collection Version 2.0.0, now adds additional features and bug fixes: Now searches to ensure the required packages are installed. Uses ‘lftp‘ ...
  • Published on
    25 November 2017

    Version 2.0.0: Backup server files as tar.gz (Bash script)

    • Development
    • Code-Snippets
    This is a follow-up post with an update to the ‘Backup Files as Tar.GZ‘ script. Some of my similar Backup scripts reside in a a GitHub here: https://github.com/ryanfitton/lxc-mysql-tar-backup-script-collection Version 2.0.0, now adds additional features and bug fixes: Now searches to ensure the required packages are installed. Uses ‘lftp‘ to upload files via FTP. Lftp allows ...
Previous6 of 12Next
mailMailgithubGithubkeybaseKeybaselinkedinLinkedinyoutubeYoutubeinstagramInstagram
ColophonPoliciesSocial LinksRSS FeedStatusPGP Key
© 2025 Ryan Fitton. All rights reserved. License.