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 …
Installing nginx on Linux
In this post, I show you two ways of installing and configuring nginx on Linux.
How to use Postman to authenticate to Django Rest Framework
Authenticating with Django REST APIs using HTTP Client
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 …
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 …
Installing a self signed SSL certificate on Elastic Beanstalk
Learn how to create a self signed SSL certificate for use with Elastic Beanstalk
How to add CORS Headers to Django responses
How to add CORS headers to a Django Application
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!