Author Archives: mdfecioru

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

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

3, 2, 1 or Yet Another Productivity Tool

This is not a new idea at all… Ironically, you will find this in so many articles and books but many of us still seam to have difficulties in applying these concepts in practice. Leo Babauta was one of the … Continue reading

Posted in Personal Development | Leave a comment

Learning how to learn

I’ve just finished this “Learning how to learn” (https://www.coursera.org/learn/learning-how-to-learn/home/welcome) course on Coursera which is full of interesting, easy to use and practical ideas for improving your memory and ability to learn new things. Definitely a course that I highly recommend. … Continue reading

Posted in Personal Development | Leave a comment