adlfkjfadslkjfads

Using namedtuple's to convert dicts to objects

Posted on Fri 25 August 2023 in Posts • Tagged with python, dict, namedtuple

Quick and dirty way to convert a dict into an object in Python using namedtuple's


Continue reading

Python Tip of the Day - contextlib.contextmanager

Posted on Thu 21 October 2021 in Posts • Tagged with python, pythonTipOfTheDay, contextmanager, testing

How to use contextlib.contextmanager to combine context managers into one


Continue reading

Git Tip of the Day - Committer vs Author

Posted on Fri 06 August 2021 in Posts • Tagged with git, gitTipOfTheDay

There's a distinction in git between committer and author. Lets learn about that.


Continue reading

F-Strings Are F'ing Cool Part 2

Posted on Sun 11 July 2021 in Posts • Tagged with python, pythonTipOfTheDay, fstrings

I learned some new tricks with f-strings, lets check 'em out.


Continue reading

VS Code Tip Of The Day - Selectively Adding Files To A Git Commit

Posted on Sat 03 April 2021 in Posts • Tagged with git, vscode

Recently I figured out a way to selectively add files to a Git commit.


Continue reading

The Wild World of Apple Silicon

Posted on Sat 06 March 2021 in Posts • Tagged with apple, m1, apple_silicon, applesilicon

A recap of my experience setting up my new M1-powered Macbook Air.


Continue reading

Using Starship For Terminal Prompt Goodness

Posted on Sat 27 February 2021 in Posts • Tagged with terminal, starship

I recently discovered Starship & converted my old prompt to using it. Lets see what I learned.


Continue reading

Building A VS Code Extension Without Installing Node By Docker Magic

Posted on Fri 26 February 2021 in Posts • Tagged with vscode, nodejs, docker

How to build a VS Code extension without installing Node.js locally.


Continue reading

Git Image Diff with iTerm2

Posted on Sun 14 February 2021 in Posts • Tagged with iterm, iterm2, git, terminal, shell

iTerm has a imgcat function. Lets use it with Git for image diffing


Continue reading

Fixing a Slow Bash Prompt

Posted on Mon 01 February 2021 in Posts • Tagged with bash, git, osx, homebrew

My bash prompt seemed to be slow. Here's how I fixed it


Continue reading