Author Archives: mdfecioru

Groovy basics

Semicolon (;) is optional. It is required only when writing multiple statements on the same line. Parentheses are optional. If the compiler can figure out where to put them (to generate them) then you do not need to put parentheses. … Continue reading

Posted in Uncategorized | Leave a comment

2018 resolutions

Here is my list of things I would like to accomplish during 2018. Family I want to spend the weekends with my family. I want to spend 2 incredible vacations with my wife & son I want to take my … Continue reading

Posted in Uncategorized | Leave a comment

Setuid, Setguid and the Sticky Bit

Before getting into setups, let’s quickly review the permission bits as they are displayed by the classic “ls -l” command: The first bit is the file/folder flag: ‘-‘ for file and ‘d’ for folders The rest 9 bits are grouped … Continue reading

Posted in Unix | Leave a comment


Sudo allows you to manage / control the use-case when a user wants to execute commands as another user (usually as “root” but not limited to the super-user). The generic sudo rule Aliases You can assign an alias (a name) … Continue reading

Posted in Unix | Leave a comment

Unicode vs Encoding

In this post I am going to try to explain as quickly and easy as possible the difference between Unicode and Encoding. But first, here is the problem those 2 concepts are aiming to solve: how do we represent different … Continue reading

Posted in Software Engineering | Leave a comment

Bash special parameters

$* Expands to the positional parameters starting from one (the parameter with index “zero” is the script name). When the expansion occurs within double quotes, it expands to a single word with the value of each parameter separated by the … Continue reading

Posted in Unix | Tagged | Leave a comment

Coins in Scala

In this article I’m gonna present my Scala solution for 2 quite popular coin related problems (ask Google for curiosity about these problems and you will see tones of answers). The full code implementation with tests attached can be found … Continue reading

Posted in Scala | Leave a comment