AWS Cognito SRP Login in C# / .NET 13

AWS Cognito SRP Login in C# / .NET
In my latest project I decided to use AWS Cognito User Authentication instead of rolling my own or using something like Cloudfoundry’s UAA. My application is written in C# and is using the AWS SDK for .NET. AWS Cognito supports two ways to authenticate a user, either via SRP or sending the plain credentials to AWS. The ...

MacOSX Bash / Shell Snippet: Convert time between timezones

Today I made a few API calls to debug something and took a look at the timestamps the objects were created at. The time was saved in ISO-8601 UTC but I needed it in my own timezone so I wrote a little shell one-liner. I however noticed that most articles online describe how it’s done ...

Log4r for Ruby on Rails: Part I of “Scalable and Robust Logging for Web Applications” 14

Log4r for Ruby on Rails: Part I of “Scalable and Robust Logging for Web Applications”
Logging, monitoring and the collection of metrics, be it performance metrics or important business metrics, is usually a topic that is not often discussed when building and scaling an application from garage-hack to the startup on the front page of TechCrunch. It is essential to be be aware of the current situation of the system ...