Actuators AI bash Bitcoin Blockchain cloud ControlSystems Crypto Cryptocurrency DataScience Decentralization DeepLearning docker documentation EmbeddedProgramming EmbeddedSystems Ethereum EvolutionaryAlgorithm Firmware GenerativeAdversarialNetworks IoT latex linux markdown Microcontrollers Microprocessors NLP OpenAI pdf PoW privacity ProofofStake ProofofWork RealTime ReinforcementLearning Robotics security Sensors shell ssh SupervisedLearning tutorial UnsupervisedLearning vpn wiki
-
SSH connection alive and prevent it from timing out (heartbeat)
To keep an SSH connection alive and prevent it from timing out, you can use the ServerAliveInterval option in your SSH client configuration or command line. This option sets the interval at which the client sends keepalive messages to the server. Additionally, the ServerAliveCountMax option controls how many unanswered keepalive messages trigger a connection termination. To set the heartbeat interval in…
-
Set up Grafana monitoring
Grafana and Prometheus are tools used to monitor services, servers and any other software using the Open metrics. Here is an example of implementation using Docker compose: Installing Grafana and Prometheus Target: run Cadvisor In the target side (the service that will be monitored), we must install the exporter, for example Cadvisor. Prometheus: target configuration…
-
Unlocking the secrets of AI: A beginner’s guide to understanding the different types of AI algorithms
There are many types of AI algorithms, but some of the most common ones include: All of these algorithms have their own strengths and weaknesses, and the best one to use will depend on the specific problem you are trying to solve. This text was created with the assistance of OpenAI’s language model, ChatGPT. OpenAI…
-
Blockchain 101: Understanding the difference between PoW and PoS
“Blockchain technology is revolutionizing the way we transfer value, but did you know that there are different ways to validate transactions on a blockchain? Proof of Work (PoW) is the original method used by Bitcoin, where miners race to solve complex mathematical problems to validate transactions and earn rewards. But, Proof of Stake (PoS) is…
-
Two monks and a Woman
A senior monk and a junior monk were traveling together. At one point, they came to a river with a strong current. As the monks were preparing to cross the river, they saw a very young and beautiful woman also attempting to cross. The young woman asked if they could help her cross to the…
-
Configuring SSH securely (the correct way)
First step, install OpenSSH. On Ubuntu you can use “sudo apt install openssh-server” Edit file “/etc/hosts.allow” and allow only specific IPs or network to access over ssh. Block all another IPs editing “/etc/hosts.deny” with: Edit file “/etc/ssh/sshd_config” and include this role: “PermitRootLogin no” Install UFW firewall, allow SSH connections and enable firewall:
-
Easiest way to install Docker and Docker-compose
First step: install Docker Last step: install Docker-compose Source: https://docs.docker.com/compose/install/
-
Gollum – Local Markdown Wiki editor
Install Gollum to edit Markdown Wiki files locally with Docker! Example how it works: Documentation: https://github.com/gollum/gollum#configurationSource: https://github.com/gollum/gollum/wiki/Gollum-via-Docker
-
Converting Markdown to pretty PDF
Download and configure Wandmalfarbe template: https://github.com/Wandmalfarbe/pandoc-latex-template