-
Continue reading →: Raspberry Pi Sense Hat (Raspberry Pi)The Raspberry Pi is a fantastic computer and the GPIO (General Purpose Input / Output) pins allow for lots of a different hats, or phats (Pi Hats). I have used some of these options in past project (e.g. a temperature project, a countdown display) and installation of the hats is…
-
Continue reading →: Learning C++: Switch StatementsMy previous blog post looked at If, Else and Else If statements which work, however C++ also has a tidier approach called switch statements. In the below example I have defined a character variable called response, initialised with the character ‘y’. I am then taking input and storing this input…
-
Continue reading →: Learning C++: For Loops, If, Else If and Else StatementsIn this C++ blog post I am going to look at For loops, If / Else and Else If statements. For Loops The for loop layout is made up of three parts: for (initialisation; conditional; iteration) { CODE-TO-CARRY_OUT } Initialisation Statement Carried out before the first loop is run and…
-
Continue reading →: Learning C++: Preprocessor, Compiler, Linker and “Hello, World!”My blog posts on C++ so far have looked at the basic data types and arrays, structs, enums and unions. With this blog post I am going to look at the 3 steps used to compile C++ and a brief look at writing “Hello, World!” in C++. C++ is a…
-
Continue reading →: Learning C++: Arrays, Enumerations, Structs and Unions (C++)In this blog post I am going to take a look at arrays, enumerations, structs and unions within C++. As with my previous post I am creating this blog entry as notes to myself for reference, but they also benefit others. First though some excellent (for me) news, on my…
-
Continue reading →: Learning C++, Basic Data Types and Operators (C++)The Coronavirus lockdown here in the UK is starting to ease, but it still means a lot of time at home. I’m trying to use that time to be more productive and learn more, which has lead me to C++. C++ C++ has a long history (going back to 1985)…
-
Continue reading →: Ansible’s Copy and Fetch ModulesIf you are moving files between computers then you may be doing this by transferring the files to a physical medium (e.g. a USB pen drive), via email or via scp. However, there are other options including Ansible which has two modules to help, Copy and Fetch. Copy The Copy…
-
Continue reading →: Installing And Configuring NGINX As A Reverse Proxy Via An Ansible PlaybookToday I am looking at installing and configuring NGINX with an Ansible playbook. In my previous blog posts I have looked at using an Ansible playbook to install the ELK (Elasticsearch, Logstash, Kibana) stack across three different computers, and then how Ansible roles can be used to organise a playbook.…
-
Continue reading →: Using Ansible Roles, aka ELK Stack Ansible Playbook (V2)I have a working Ansible Playbook that installs the ELK stack (Elasticsearch, Logstash, Kibana and for this example, Filebeat) across three different computers. I have tested the playbook several times and it works each time which is a great sign, however the playbook itself is a little messy. Note: All…
-
Continue reading →: Creating An ELK Stack Via An Ansible Playbook (V1)I’m currently spending time learning more about the ELK stack, which is made up of ElasticSearch, Logstash, Kibana (ELK) and Beats. The ELK stack can be created and run within containers (e.g. Docker) but I am going to use an Ansible Playbook to install and configure the ELK stack. You…




