Deepak KumarSelectively excluding dependency in SBTMany times I have came across issues related to dependency and a lot of time is spend to figure out issues by looking at not so friendly…2 min read·Jul 23, 2021----
Deepak KumarPartial functions in ScalaA partial function as per mathematical definition is a function which is defined for some range of a domain and not defined for some other…3 min read·Oct 16, 2020----
Deepak KumarTurn any method into a Function in ScalaIn Scala you have both methods and functions. A function is kind of a value which can be passed around. At times you might need to pass a…1 min read·Oct 7, 2020--2--2
Deepak KumarRandom 8 letter key$ tr -cd “[:alnum:]” < /dev/urandom | fold -w8 | head -n11 min read·Dec 6, 2016----
Deepak KumarFix for missing png terminal in gnuplotIn production servers where there is no GUI is required when we install package like gnuplot, some of the graphic support libraries will be…1 min read·Sep 22, 2016----
Deepak KumarRegexp non greedy and greedy patternLets get into the matter right away, take the regular expression below as an example. It will try to match any character at least once.1 min read·Sep 19, 2016----