Mopidy is an extensible music server written in Python. It provides a lot of different music sources, such as Spotify, SoundCloud, Google Play Music, and more. It’s a perfect open-source solution and alternative for SONOS, running on a Raspberry Pi. It’s nearly perfect for kids, and the only thing missing is a kids-compatible interface. That’s […]
Mastering Vim: Motions and marks
This time I’d like to talk about some some useful tips how to move through a file. Vim motions and marks cannot only be helpful to jump to a specific location, but also to select, copy-paste and delete text passages.
Mastering Vim: Undo, redo and repeat
This time I’ll show you how to undo, redo and repeat stuff in Vim. With just a few simple keystrokes you can improve your daily workflow.
Mastering Vim: Working with multiple files
In this blog post, I’d like to show you how to use Vim to open and edit multiple files. Use the right techniques and you’ll be even more productive in handling multiple files at the same time.
Mastering Vim: Opening files
I think every *NIX admin knows this little gem – the Vi or Vim (Vi Improved) text editor. While the origin vi was written by Billy Joy, vim was cloned, improved and released in 1991 by Bram Moolenaar. In the blog series Mastering Vim, I’d like to show you some tips & tricks.
Introduction Python (at least IMO) is a very nice programming language, based on really powerful fundamentals. In this post, I don’t want to compare Python to other programming languages or value it. However, when it comes to the fundamentals of a programming language, Python has some interesting constructs which can differ from other languages. Namespaces […]
How Git’s reflog can save your ass
I think we all know, and hopefully love Git. Git is very powerful and even so, a lot of people (including myself) haven’t experienced the full power of Git. I for myself haven’t used reflog or even heard about it for a long time. However, reflogs can probably become really important.
Accessing a model’s verbose names in Django templates
I love building web applications with Django and I love its ORM. Defining models is fairly simple and rendering forms and list is (more or less) straight forward. However, if you want to access the properties of the model’s fields in templates, then you might find a dead end really fast. This is especially hard […]
Sublime Text or Atom?
Hello, my name’s Domi and I’m a extensive Sublime Text abuser. I’m also on Twitter and I saw the uprising of GitHub’s Atom lately, so I decided to give it a chance. This is my story about switching from Sublime Text to Atom for a couple of days.
Django 1.8+ and MySQL / MariaDB full-text search
If you want to use MySQL’s or MariaDB’s full-text search feature with Django then you might have a problem, because Django doesn’t support MySQL’s full-text search out of the box. You can either do that by performing raw SQL queries or you extend the model’s SearchManager.