Creating an image in Docker is rather easy and well documented.
You start by editing a file which describes the image, then run a few commands, and voilà.
In this post we’ll cover how to create a very basic Docker image which will let us spawn elasticsearch instances very easily.
Continue reading Docker 101 : Creating an Elasticsearch image
Just because I struggle every time to find how to do that, here’s the procedure to delete an event without responding :
- Click on events
- Click on the event you want to get rid of
- In the guest list you’ll see yourself as well as your invited friends. There’s a cross beside your name. Click on it to remove yourself
BAM ! DONE !
The goal of this tutorial is to show you how to create an encrypted LVM on Linux. This will help you keep your data safe in the event of, for example, your laptop computer being stolen.
Continue reading Linux : Encrypted LVM quick and easy howto
Here are a couple of pointers to perform an installation of OpenBSD on a media which will be read-only most of the times. I hope I didn’t forget anything otherwise I’ll be in trouble next time I reinstall…
Continue reading OpenBSD : Read only Compact Flash installation
Or why you usually use ls -l *txt without quotes, but use quotes in find . -name "*txt".
Continue reading Unix 101 : Shell wildcards expansion, to quote or not to quote
Spotify is a great way to listen to music. Unfortunately the official client only runs on Windows and Mac machines. There is an experimental unsupported client for linux, however it’s provided as a DEB (ubuntu/debian) package.
Here’s a gross hack for whom is desperate to get it working on Gentoo.
Continue reading Getting Spotify to run on Gentoo/Linux: A Gross and Cruel Hack
… or anyone else really, with a little trick to implement a black list and filter unwanted callers.
Continue reading Asterisk 101 : How to get rid of your mother-in-law …
GoogleVoice (GV for short) is a great service (I won’t go into the details, but you can read up about it here), but it is unfortunately accessible only if you are in the USA.
Granted there is already plenty of documentation about how to circumvent this, but I’m not aware of any of those using Asterisk.
So this post will document how to sign up for a GV account as well as how to use it with Asterisk afterwards, in the prospect of using it if you are not in the USA.
In order to be able to sign up for GV, you need to meet 2 prerequisites :
- You need to have a US IP address
- You need to have a US phone number, which will be used to validate your GV account
Step 1 is left as an exercise to the reader (“Good luck ! I’m behind 7 proxies !” :D).
Step 2 is the one we’re going to describe here, as an example of what you can pull with simple Asterisk configurations.
Continue reading Asterisk 101 – Ghetto GoogleVoice : Signing up for / using GV even if you’re not in the USA using Asterisk
A non-printing character is a character which won’t actually get directly printed (or displayed) but rather interpreted. Such non-printing characters are for example line-feed or tabulation. The interpretation of those characters can differ from one system to the next. For example the line-feed character is different on Unix or DOS.
If you need an easy way to confirm that a text file is DOS or UNIX formatted (they differ with respect to the end of line character(s) for example) or if you wish to display normally non-printing characters of a text file, you can use the -vET command line switches of the cat utility.
As explained in the man page :
- -v : will use the ^ and M- notation for control and multibytes characters
- -E : will make ends of lines visible
- -T : will make tabulations visible
For example : Continue reading Unix 101 : Showing non-printing characters in text files (ex : DOS files)
If like me you get tons of telemarketers calls, there’s an easy way to get rid of them with a quick Asterisk hack. The following Asterisk configuration snippet will immediately send any hidden caller ID (99% telemarketers, and I have a general policy of not picking up the phone for hidden caller ID anyway) to a holding music making them waste money and time…
Continue reading Asterisk 101 : How to troll telemarketers (aka automatically send hidden Caller ID to a waiting music forever)