Django S3 Pre Signed URLs

How much memory does my server use uploading files? Say you are creating a voice recording app and a user records 30 minutes audio clip and sends it to your django server. How much system memory do you eat up? The browsers media capture will record in its favored compressed audio format and send about…

Creating a dotfiles repo

Your zshrc on one computer is different than the next. Don’t do that. Create a repo called “dotfiles” and put your zshrc, vimrc, and other quality of life dot files into a version controlled home. Now when you make improvements, you can pull down and iterate on every computer.

Docker Beginner Tutorial

Let’s assume you are sold on Docker – you need and love Docker. How is it used? On your computer:– install docker (docker desktop is most popular, podman is gaining ground) – develop an application adjusting your Dockerfile– use Dockerfile to build a “image” – a portable package of your app– test locally by running…

Why Docker? Most servers run Linux

Imagine a world where most servers run Linux. A little bit of chaos In this same world (the real world), developers build software on personal computers that run many different operating systems – Mac, Windows, wacky new forks of Linux. For developers to deploy their software, someone must SSH into a server, install dependencies, run…

Downloading postgres with brew

How to install postgres What is happening? ^ is this more readable outside the code block? So by default, psql automatically tries to connect to– a postgres role also named after your username– a database also named after your username When you install and initialize Postgres via Homebrew:It sets up:– A data directory where all…