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.
Adding and removing nginx response headers
If you’re using nginx as your preferred web server, reverse proxy, load balancer or HTTP cache, then you might be familiar with HTTP response headers. Nginx allows you to customise those HTTP response headers very easily.
Python namespaces
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 […]
Wi-Fi analysis and site surveys with NetSpot
Call me old fashioned, but I really prefer a good old classic Ethernet cable over all these black magic wireless technologies. However, I must admit I also love mobility and therefore I’m kinda forced to use Wi-Fi. But what happens if your wireless signal is bitching around again?
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.
Sending signals to a Docker container
We all know Docker, right? Running processes in Docker containers is nice and we can easily stop, start or restart the container with simple commands. However, you probably don’t want to “fully restart” a container all the time so sending signals to a Docker container becomes important.
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.
Backup a MySQL or MariaDB Docker container
When it comes to databases running in Docker containers then a consistent backup of the data with classic backup methods becomes a bit tricky. So you’ve to use a quite different approach to backup a MySQL or MariaDB Docker container.