Today, I had to create twenty-six directories each corresponding to an English alphabet. I wrote a simple bash script that uses for loop with mkdir to do it as shown below.
for alphabet in {a..z}; do mkdir $alphabet done
Today, I had to create twenty-six directories each corresponding to an English alphabet. I wrote a simple bash script that uses for loop with mkdir to do it as shown below.
for alphabet in {a..z}; do mkdir $alphabet done
Today, I encountered an issue while running tests for one of my Scala SBT projects. Each time, ran sbt test command hang. After running jvisualvm, I discovered that it is due to thread deadlock. I couldn’t figure out why deadlock is happening. Test cases worked fine when ran individually. To work through this issue, I disabled parallel execution of tests.
From command-line, you can use following command to disable parallel execution of test:
$ sbt 'set parallelExecution in Test := false' test
You can also set this setting in your build.sbt to avoid setting this setting manually.In your build.sbt , add the following line.
parallelExecution := false
Yesterday, I released hands-on guide to building Serverless applications using AWS Lambda and Serverless framework. The guide is open-source and available on Github. Checkout the guide and please give feedback.
Serverless is an overloaded word. Serverless means different things depending on the context. It could mean using third party managed services like Firebase, or it could mean an event driven architecture style or it could mean next generation compute service offered by cloud providers or it could mean a framework to build Serverless applications. This series will start with an introduction to Serverless compute and architecture. Once we learned the basics, we will start developing application in a step by manner.
Read more https://github.com/shekhargulati/hands-on-serverless-guide.