Here’s how to override the size of the root volume on your AWS EC2 instance using CDK. Not at all obvious! Step 1: Check The Root Device…
Problem By default, Spring Boot doesn’t fail when there are missing/unresolved environment variables defined in application properties…
Had this idea and just getting it down on paper. Concept Your core business logic lives in containerized application, running on Kubernetes…
When using Spring Cloud AWS, getting the AWS credentials and region configuration properties right can be tricky. The preferred option is…
If you’re using Spring Cloud AWS, it’s likely you’ll want to disable it when running locally and for integration tests. The solution…
Problem Brave Browser Sync is not working. Passwords, history, autofill, etc. are not being synced across devices. Solution Make sure you…
A simple strategy for maintaining isolation between a DynamoDB repository layer and the rest of the application which permits a seamless transition to a different database provider
The JS GraphQL plugin for WebStorm/IntelliJ provides much needed features which don't come out of the box with these IDEs. However, Gatsby does not have a GraphQL schema file to inform the plugin. Here, I show how to introspect the Gatsby GraphQL schema using the plugin and demonstrate its schema-aware auto-completion feature.
In my first ever screencast, I show how to set up Spring Java Format using the Gradle Plugin and IntelliJ IDEA plugin.
Tips and ideas for troubleshooting Spring issues, e.g. useful packages and classes places to enable debug logging
My first post published on freeCodeCamp!
Spring is known and loved for its convention of configuration approach. But this can occasionally cause a challenge when automatically enabled features need to be disabled. Here we see how to completely disable Spring Security's HTTP security
How to transparently handle OAuth2's Client Credentials authorization grant request and subsequent token refresh requests when making service to service requests from a client to a resource server. One solution uses Spring WebFlux's WebClient together with Spring Security OAuth2 Client abstractions and is complex but highly configurable. Another solution uses OAuth2RestTemplate which is simple but not at all customizable.
Working with heterogeneous item collections with the Java SDKs can be tricky. Here we see how to handle them with the AWS SDK v2 for Java's Enhanced Client.
The AWS SDK v2 for Java's DynamoDB Enhanced Client requires setters for every attribute. Missing the setter for a given attribute may cause a misleading exception or the attribute being silently ignored.
A work in progress: open questions, lessons learned, tips, etc. from working with DynamoDB and Java
A work in progress: open questions, lessons learned, tips, etc. from working with the Java type system
A work in progress: open questions, lessons learned, tips, etc. from data modeling for DynamoDB
What I'm currently working on: personal projects, learning, open source, etc.
A running list of my favorite talks, podcast episodes, etc…
My notes from Tim Wagner's thought-provoking talk from AWS Serverless Days 2020
Based on a question I received from a former intern after I got my AWS Certified Developer - Associate certification.
React Hooks have taken the web development community by storm. Many of their benefits are well-documented. Here I talk about custom hooks as a tool for abstraction and encapsulation. Published in The Startup.
Prevent simple mistakes by sharing properties between Serverless Framework config and code.
Your apps can’t access your photos on iPhone. You’ve tried a half dozen supposed solutions but nothing works. Do not despair!
Java logging reference. Work in progress.
Clean, maintainable code is very often undervalued and underappreciated...
I had never published an NPM package, so I went through the process from start to finish and documented the steps hoping that it will help others.
Depending on your setup, adding TypeScript to your existing project might take as little as a minute or two.
TypeScript has really come of age. Type definitions are widely available, the community has grown by leaps and bounds, the productivity...
Put an end to the bloatware, McAfee AV, Dell pop-ups and reminders, etc. I was surprised that I couldn’t find a comprehensive, yet simple guide on how to do this. Hope this will help others and no doubt my future self!
I struggled with Jest at first. I wrote this after I couldn't find the solution anywhere and hoped this would help others. Now, two and a half years later, it is published in Frontend Weekly and has 48k views and 34k reads!