Impossible is nothing

case vs if

case can do more work, then it will be slow. for example comparing objects

Valid docker container/image names

Valid container names are: [a-zA-Z0-9][a-zA-Z0-9_.-]
as pointed here

And probably the valid container names are

hostnameComponentRegexp = match((?:[a-z0-9]|[a-z0-9][a-z0-9-]*[a-z0-9]))

as pointed

Building docker image with host network aka –net=host

There is no option to provide the net as param while building the docker images.
So the container doesn’t have internet from inside.
and is common to get this kind of errors

One (stupid) solution is to put in the Docker file

Another is to help Docker with the networking.

Here is a solution is pointed here

And also to configure docker to use a dns server as pointed here

Docker official doc gives instruments to Configure a DNS server for use by Docker

Open the /etc/default/docker file for editing.

Add a setting for Docker.

Replace with a local DNS server such as You can also specify multiple DNS servers. Separated them with spaces, for example:

–dns –dns

Warning: If you’re doing this on a laptop which connects to various networks, make sure to choose a public DNS server.

ps: nm-tool can be used to check local host DNS server

Save and close the file.

Restart the Docker daemon.

Create virtual machines from the command line

install the first one with

Then clone them

check some values for the params for virt-install

If you don’t want to answer questions during the install here is more reading


Docker stuff

Benchmark the usage of partial/helper/render collection

here is the code


Good readings for today

Ansible multistage vault file

in ‘staging’ file

vault_file: 'vault_staging'

in ‘production’ file

vault_file: 'vault_production'

in the tasks

- include_vars: "group_vars/{{ vault_file }}"

How to ban lol (League of Legends)

If you want your kid to play outside instead in League of Legends this might help you.

You need to find the ip addresses associated with lol. This is done by visiting this url

Then you need to ban all UDP traffic here is how I have done this with iptables.

I understand that there should be much more simpler way.

here is how I block the website of the “great” game.

MY iPhone is MINE – after jailbrake

Here is the list of the programs that I use

Activator – shortcuts
PasswordPilot – inserts your apple password automatically
iCleaner Pro 7.3.0 beta from  repository
FlipControlCenter - replace the original shortcut icons
IPPeek – via activator
LocallApStore from

AppSync Unified – you need this to install unsinged ipa files.

AudioRecored2 from

AppCake –

Tried but not using – trying now – tring now and want to try those also
iFile – from here

Want to try

Winterboard, Dreamboard

Nice liste of more apps

Under linux I use this command to install ipa files.
ideviceinstaller -i /home/guda/Documents/iphone/ipa/openmaps.ipa
This comes from

You have to enable to access to your filesystem, maybe apt-get re-install fuse
here here here

Zaffira B headlight bulb change

The cables should point to the engine (at least on the right headlight). Then turn clockwize, until the curved top points the top