Py.test Basics

Posted on Fri 27 April 2018 in Posts • Tagged with python, testing, pytest, unittest

Learning some of the basics of Py.test


Continue reading

Tip of the Day: Silver Searcher & VS Code

Posted on Mon 23 April 2018 in Posts • Tagged with vscode, silversearcher, editors

Tip for opening up all files which match a string in separate VS Code tabs.


Continue reading

Screen Capturing for Site Monitoring

Posted on Sat 21 April 2018 in Posts • Tagged with aws, monitoring

An experiment using screen capturing to detect CSS errors


Continue reading

Python Tip of the Day - Simple HTTP Server

Posted on Tue 17 April 2018 in Posts • Tagged with pythonTipOfTheDay, python

Using Python's Simple HTTP Server for fun and profit (and quickly sharing files)


Continue reading

Optimizing Cloudfront

Posted on Thu 12 April 2018 in Posts • Tagged with awsTipOfTheDay, cloudfront, aws

Lets recap some tips & tricks around optimizing your use of AWS CloudFront as a CDN.


Continue reading

Python Tip of the Day - Double If's in Comprehensions

Posted on Wed 11 April 2018 in Posts • Tagged with pythonTipOfTheDay, python

So I was reviewing a coworkers pull request today and saw something I hadn't seen in Python before. As it turns out you can have multiple if clauses on a list comprehension. For example:

>>> [v for v in range(50) if v % 2 == 0 if v > 10]  # all even numbers …

Continue reading

Setting Up A Pelican Site in AWS

Posted on Sun 08 April 2018 in Posts • Tagged with pelican, aws, s3, hosting

So I was going to write a blog post outlining most of the stuff I did in getting this site up off the ground, but then a colleague went ahead and did the same and wrote up his journey. :)

So, in true CodependentCodr fashion, Imma going to stea...err borrow …


Continue reading

Link of the Day: Fighting Burnout

Posted on Wed 04 April 2018 in Posts • Tagged with burnout, health

Today's link of the day is from Stride's blog: https://www.stridenyc.com/blog/11-ways-to-fight-burnout

I found much of the stuff in the article resonated with me, and many of the tips in in are things I do & have found helped, so passing along.


Continue reading

AWS Tip Of The Day - Invalidating Items in the CloudFront Cache

Posted on Sun 01 April 2018 in Posts • Tagged with aws, cloudfront, awsTipOfTheDay

TIL today: in CloudFront, creating an invalidation for /*.html is not the same as creating an invalidation for / even though / redirects to /index.html.

Context: yesterday I set up a CloudFront distribution for this site, so that I could attach an SSL cert to it (more about this in a …


Continue reading

Screencaptures on OSX

Posted on Tue 27 March 2018 in Posts • Tagged with osxTipOfTheDay, osx

Oftentimes you want to take a screenshot. On OSX this is easy: ⌘+SHIFT+4 and you're presented with a rectangle that allows you to click & select what to capture. But what happens when you want things like capturing a tooltip, or the mouse pointer itself.

As it turns out there's …


Continue reading