Posts

Raspberry Pi as a Music Server

8 minute read Published:

How I set up my Raspberry Pi as a simple music server
Introduction I’ve finally managed to get a Raspberry Pi. I’ve already thought a long time of buying one, but because of missing ideas what to do with it I didn’t buy one. A school project came by which served the perfect reason to finally buy one (hint: self made monitoring camera) and now I’m lucky to have one. Mopidy and stuff So what is running on my RPI now? Currently there is a raspian installed and except the whole music-server-software nothing special.

Why I like wc

3 minute read Published:

Wc is a small handy tool which I use often. I’m calling it word-count in my head.(Today I learned by looking wc up on Wikipedia: it is actually called word count) It is part of the GNU coreutils it should be on nearly any system. What can you do with wc? With wc you can simply count lines, words or characters of a file or string, and thats it. Nothing more or less.

You might not need scripty

2 minute read Published:

Because no one should be shell-scripting inside a JSON file. That’s cool, but why should I use scripty? I could do this well without. What is the advantage of another dependency in my project? Recently I had to work on a project and the build were broken because of an update of scripty. That wouldn’t be a problem if our version constraints were more strict or we would had a shrinkwrap.

Execute multiple commands on files with find

2 minute read Published:

Hello everybody In this post I will show you how you can execute multiple commands on files via find. Firstly how to use find: find -type f -iname "*.extension" This will find all files under the working dir with the given extension. Of course you can use other things like filesize, user who owns that file etc. But for that example I will using this. For example if we have multiple .

Writing a simple CLI-tool in Haskell

14 minute read Published:

Hello folks, I want to write a small tutorial on how to write a simple CLI-tool in Haskell. For all who did not know, Haskell is a pure functional programming language which was released in 1990. What I personally like the most is list comprehension, this is a really powerful and great feature. But there are also other really cool things like maybe for example. It is really packed with a lot of cool stuff.