Profile cover photo
Profile photo
Michael Elman
109 followers
109 followers
About
Posts

Post has attachment
Some hard-to-find sales on Amazon for Prime Card holders
20% off selected items until November 27th. 10% off selected musical instruments until December 31st. 10% off selected LG TVs until December 31st. 10% off selected premium audio products until December 31st. All discounts are for Prime Card holders and the ...

Post has attachment
Why you should be careful when using Lombok or other code generation tools
Look at the following code: Will the testHashCode succeed or fail? The answer it will fail, since the second assert: assertTrue(set.contains(myEntity)) will not find myEntity in the HashSet. But it's there, right? It was never removed. So what we have here ...

Post has attachment
Running arbitrary command when using auto-completion in Zsh
Did you ever wanted to run an predefined command as auto-completion in zsh? For example, you may have a script that accepts only predefined values as input. Actually it's possible and quite easy. First, you will need a file that will be invoked to auto-comp...

Post has attachment
How do I avoid the error "Unable to validate the following destination configurations" when using S3 event notifications in CloudFormation?
There is a very important post about avoiding the "Unable to validate the following destination configurations" in AWS. Too bad it's not mentioned just next to both S3 and SNS/SQS reference documentation. BUT! This post is lacking some important part: You w...

Post has attachment
CloudFormation Tips
Some tips of using the CloudFormation: 1. Don't specify a resource name, unless absolutely must doing so. This way you can avoid names clashes, since CloudFormation will automatically assign unique names to your resources. 2. If you need to specify a name, ...

Post has attachment
Print Gradle Dependencies
One way to print the project's Gradle dependencies is 'gradle dependencyReport'. However it creates a very large file with many scopes that are sometimes hard to track. Sometimes it can be useful just to print the list of dependencies of a specific scope. A...

Post has attachment

Post has attachment

Post has attachment
Dropwizard: Add thread name to log
This should have been trivial, but somehow it isn't. So I'll put it here. Adding the thread name to Dropwizard logs:

Post has attachment
Unix Shell: Use of functions to create complicated aliases
In *nix shells it sometimes useful to create aliases that receive parameters. This can be done using functions:
Wait while more posts are being loaded