Recent Posts

AWS CLI: Assuming a role

less than 1 minute read

You can configure the AWS Command Line Interface to use a role by creating a profile for the role in the ~/.aws/config file. The following example shows a ro...

Matplotlib: Get current axis

less than 1 minute read

matplotlib.pyplot.gca(**kwargs) gets the current Axes instance on the current figure matching the given keyword args, or create one.