When building or working with docker containers, you may get error messages like the one below relating to a lack of space: The error occurs because Docker objects accumulate over time and can eventually exhaust available storage. To resolve do the following: This will tell you how much space Docker objects are taking up in …
Tech
Encryption using Python and AWS
In this post I’ll show you how to encrypt and decrypt strings using the AWS Encryption SDK and AWS KMS. Step 1: Install the AWS SDK for Python and the Encryption SDK You’ll need boto3 to create a Master Key programmatically and the aws-encryption-sdk for encrypting and decrypting data. Step 2: Add AWS credentials to …
Installing nginx on Linux
In this post, I show you two ways of installing and configuring nginx on Linux.
SCP: Sending files between servers using SSH
SCP or Secure Copy is a useful program for sending files between two or more computers over a secure shell (SSH) connection. In this post, I’ll show you how to use SCP to send files from your local computer to a remote, copy files from a remote computer to your local or copy files between …
Tmux
A part of my job involves connecting to a couple of Amazon EC2 instances(Linux servers) regularly to run commands, build, debug and deploy code. All along I’ve been using tabs terminal tabs to keep track of each server connection and the processes running in it. Using the terminal emulator’s tabs feature works okay for simple …
How to connect and use two different networks simultaneously on Windows
In this post, I show you how to use two different network connections in Windows simultaneously.
Security in AWS
An overview of security within the cloud environment using the multi-tiered architecture.
Installing a self signed SSL certificate on Elastic Beanstalk
Learn how to create a self signed SSL certificate for use with Elastic Beanstalk
Git: How to add modified files and ignore untracked ones
Whenever you make changes to a bunch of files already tracked by git, there’s an easy way to add them without adding untracked files. The command is: git add –update or git add -u That’s it!
Linux: How to increase video volume without re-encoding video
Pycon Africa 2020 took place on August 4 to 8 of 2020. I had the privilege of giving a talk at this conference. I knew that I wouldn’t be able to give my talk live, so I sent the organisers a recording of the talk that I had made a few days before. I hadn’t …