Skip to the content Skip to the Navigation

Red And Green

  • Python Code
  • Rust Programming
  • Bitcoin Programming
  • Contact

March 2023

  1. HOME
  2. March 2023
github-actions
March 26, 2023 / Last updated : March 27, 2023 admin automation

Continuous Deployment with GitHub Actions

“Continuous deployment (CD) is a software engineering approach in which software functionalities are delivered frequently and through automated deployments.” ~ https://en.wikipedia.org/wiki/Continuous_deployment In this article I’ll cover the process and the actual Yaml file to automate your deployment from your development laptop to Webserver simply by pushing a commit to GitHub. Deploy simply by committing to […]

github-actions
March 19, 2023 / Last updated : March 20, 2023 admin Python Code

Sphinx to GitHub Pages via GitHub Actions

This article will cover the full process to document your code with Sphinx to GitHub pages via GitHub-actions in 2 main sections : Clone the repo used in this article : https://github.com/RGGH/jubilant-lamp View the Sphinx generated documentation from this project here on GitHub pages: https://rggh.github.io/jubilant-lamp/ What is Sphinx? “Sphinx is a documentation generator written and […]

plane
March 16, 2023 / Last updated : March 16, 2023 admin Python Code

Enum in a Class in Python

Enum, short for “enumerate” is a robust way for us to enforce a strict set of options in Python. For example a fixed choice of Aeroplane Manufacturers and each choice manufacturers matches a model name. Let’s look at the example below and see we can do this can be done in practice. Example Code Pass […]

python-code
March 14, 2023 / Last updated : March 25, 2023 admin Python Code

Sphinx : How to Document A Python Project

Let’s look at how to create complete documentation for your entire Python project using Sphinx Here is a guide to how to document a very small project, with 2 directories “src” and “docs” where all the source code is in “src” and the Sphinx specific files go inside “docs”. You’ll be able to view each […]

python-code
March 14, 2023 / Last updated : March 14, 2023 admin Python Code

What is a Python Generator?

A Python generator is a “lazy Iterator” – a function that is a memory efficient way of providing an object to loop through We can define a Python generator function just like a normal function. This article will show some simple examples to illustrate how easy they are to use and how effective they can […]

chatGPT
March 10, 2023 / Last updated : March 10, 2023 admin Rust Programming

I asked ChatGPT for Rust code – does it work?

Did the code from ChatGPT compile straight away? No. Keep reading to see what I had to fix… The Cargo file is the main reason why it didn’t compile, and interestingly the screenshot here uses the Coinbase API, but an earlier question to ChatGPT replied with code using CoinGecko. Each time the issues were with […]

bitcoin-core
March 8, 2023 / Last updated : March 8, 2023 admin Bitcoin Programming

Saylor.org Study Sessions

If you have any interest computer science or own any money at all then learning about Bitcoin is time well spent. The best training resource that you can start with is the “Saylor Academy : Bitcoin for developers“ The video below was first broadcast 8th March 2023 and just after halfway through has a great […]

codewars
March 1, 2023 / Last updated : March 7, 2023 admin Rust Programming

Learning Rust and improving with Codewars solutions

One of the frustrations with learning from some text books is that they set vague exercises at the end of a chapter without being explicit in the nature of the task and therefore no solution either…. For example “Write a function to convert text to ascii” Codewars Replace With Alphabet Position I’ve started to use […]

Recent Posts

Protected: Build your first MCP server in Rust and test it with an LLM

May 6, 2025
OpenAPI & FastAPI Generation Automatically generate FastMCP servers from existing OpenAPI specifications (FastMCP.from_openapi()) or FastAPI applications (FastMCP.from_fastapi()), instantly bringing your web APIs to the MCP ecosystem.

Protected: Build an MCP Server from OpenAPI Spec

May 5, 2025
Schemars in Rust

Schemars in Rust: Beyond Basic Structs

May 1, 2025
podman v docker

Getting Started with Podman

April 30, 2025
as_ref

as_ref and Cow

April 30, 2025
what-are-resources

Protected: Dynamic Resources – MCP protocol

April 23, 2025

GitHub Workflows – Rust

April 21, 2025
rust-mcp-servers

Protected: Rust MCP Servers

April 18, 2025

Tokio Async in Rust: tokio::join! vs tokio::spawn()

March 28, 2025

Understanding await in Rust Async

March 27, 2025

Category

  • AI ML
  • automation
  • Bitcoin Programming
  • c
  • ebay api
  • email
  • JavaScript
  • LangChain
  • MySQL
  • Pandas
  • postgres
  • Python Code
  • Raspberry Pi
  • requests
  • Rust Programming
  • Scrapy
  • Selenium
  • Smart Contracts
  • Stellar
  • SurrealDB
  • Uncategorized
  • web scraping

Archive

  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • November 2022
  • September 2022
  • November 2021
  • September 2021
  • August 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • July 2020
  • June 2020
  • April 2020
  • March 2020

Actix-web AI API async Automation axum BDK bitcoin Bitcoin Core blockchain class Closure closures Design Patterns dictionaries GitHub huggingface iced impl langchain LLM MCP ModelContextProtocol mutable Networks Podman python Qdrant raspberry pi Rust Programming scrapy Smart Contracts Sphinx Stellar struct SurrealDB Upsert VectorDatabase Vectors WASM webscraping web scraping Word DOCX xpath Yaml

  • email
  • github
  • YouTube
This site is hosted with https://webdock.io/en Fast Cloud VPS Hosting Flat fee all-inclusive VPS with a Free Control Panel

Copyright © Red And Green All Rights Reserved.

Powered by WordPress & Lightning Theme by Vektor,Inc. technology.

MENU
  • Python Code
  • Rust Programming
  • Bitcoin Programming
  • Contact
Translate ยป