# resources

## Profiling Python Code

Figure out the bottlenecks in your Python scripts.

## Resize and Convert All Images in a Directory

mogrify is part of the ImageMagick suite of tools. It’s simple, powerful, and easy to use.

## Setting Up a Raspberry Pi for Dev Side-projects

The Raspberry Pi is a great device for dev side-projects, such as a home media station, an IoT device, or a local server. Here are some of my go-to configurations when setting one up.

## Spelling Is Next to Godliness

Spelling and grammar are very important. However, when in a rush, we tend to neglect these important aspects. Search engines and humans readers usually don’t appreciate content that includes spelling or grammatical errors.

Documentation doesn’t always have to be boring. Admonition blocks draw the reader’s attention to important notes and warnings that may not directly fit as part of the flow of the text.

## Interprocess Communication with Redis

There are many methods to communicating between processes. Many methods work best when only using a single programming language, while others require custom packets and parsing. Simplicity is key and Redis is an efficient solution. Redis is an open-source in-memory database project implementing a distributed, in-memory key-value store.

## Using MS Word to Check LaTeX Documents

Microsoft Word has great spelling and grammar checking. Use pandoc to convert the LaTeX document to docx and double check your work.

## Testing Python Packages with Docker

Package management is hard. Sometimes in Python package development, your local (development) environment may behave a little differently than a deployment target. Below is a simple method I use to replicate a clean environment and test Python package installs and tests.

## Big Parenthesis in a LaTeX Equation

\begin{equation*} \left( \sum_{i=0}^{n}{i} \right) \end{equation*} $$\left( \sum_{i=0}^{n}{i} \right)$$ \left( and \right) automatically expand to fit the material between them