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…Jul 23, 2021Jul 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…Oct 16, 2020Oct 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…Oct 7, 20202Oct 7, 20202
Deepak KumarRandom 8 letter key$ tr -cd “[:alnum:]” < /dev/urandom | fold -w8 | head -n1Dec 6, 2016Dec 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…Sep 22, 2016Sep 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.Sep 19, 2016Sep 19, 2016