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 8.8.8.8 with a local DNS server such as 192.168.1.1. You can also specify multiple DNS servers. Separated them with spaces, for example:

–dns 8.8.8.8 –dns 192.168.1.1

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.

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

Notes:
check some values for the params for virt-install

  • virt-type: virsh capabilities
  • virt-install –os-variant list
  • download image: http://ubuntu.osuosl.org/releases/15.10/ubuntu-15.10-server-i386.iso

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

Preseed

  • https://gist.github.com/smoser/1057704
  • http://blog.dustinkirkland.com/2011/03/ubuntu-server-quick-install-no.html
  • https://help.ubuntu.com/lts/installation-guide/i386/ch04s06.html

Docker stuff

  • https://github.com/dave-tucker/docker-network-demos/blob/master/multihost-local.sh
  • https://docs.docker.com/machine/

MY iPhone is MINE – after jailbreak

Here is the list of the programs that I use

Activator – shortcuts
OpenSSH
iCleaner Pro 7.3.0 beta from  repository http://exile90software.com/cydia/beta
FlipControlCenter – replace the original shortcut icons
IPPeek – via activator
from: https://cydia.angelxwind.net/
AppSync Unified – you need this to install unsinged ipa files.

=====TERMINALS=======

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

MTerminal works good –  from the BigBoss repo.

http://repo.thireus.com – 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 http://limneos.net/repo or

AppCake – from http://cydia.iphonecake.com/

Bridge – import music to Music from http://canolli.yourepo.com/

Tried but not using
https://appaddict.org/ios-app/ – trying now
https://www.yourepo.com/repo/canolli/pack/bridge – tring now and want to try those also
killbackground8
vShare
iFile – from here http://www.sinfuliphonerepo.com/

Not working
PasswordPilot – inserts your apple password automatically
LocallApStore from http://system.in-appstore.com/repo

Want to try

http://www.xmodgames.com/

Winterboard, Dreamboard

Nice liste of more apps http://www.islamadel.com/en/notes/8-iphone/14-iphone-apps-and-settings

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

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

helper:

How slow is to do dynamic extend vs “native”

Increment all serial numbers at once for bind

Increment all serial numbers at once in a named/bind dns zone file.
Just run the script in the current directory /etc/bind/namedb and all serial numbers will be incremented by one.