case vs if

I notice that a lot of people are writing tons of ifs instead of use the case operator.

The case operator is much more readable. It can do more work than the ifs. And it should be faster by definition. Unfortunately in ruby it is faster only in > 2.x

With case you compare objects and match multiple values.

Continue reading “case vs if”

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.

Create virtual machines from the command line

install the first one with

Then clone them

check some values for the params for virt-install

  • virt-type: virsh capabilities
  • virt-install –os-variant list
  • download image:

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



Docker stuff


MY iPhone is MINE – after jailbreak

Here is the list of the programs that I use

Activator – shortcuts
iCleaner Pro 7.3.0 beta from  repository
FlipControlCenter – replace the original shortcut icons
IPPeek – via activator
AppSync Unified – you need this to install unsinged ipa files.


it has nice list of shortcuts, works bad on ios 9.3.3
MobileTerminal (mine bad choice)  from Karens repo    which is on the same code base iOS Terminal form BigBoss

MTerminal works good –  from the BigBoss repo. – install recommended ios9/ios8/ios7 hacker tools, this includes “newterm” which is updated through ios9. The hacker package installs a bunch of command line utilities like ping, nmap, get, top wget, etc as well. otherwise if you just want terminal just install newterm.


AudioRecored2 from or

AppCake – from

Bridge – import music to Music from

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

Not working
PasswordPilot – inserts your apple password automatically
LocallApStore from

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

Benchmark the usage of partial/helper/render collection

here is the code



Know who you are going to meet – – :) – nice features to gmail