Monday, July 22, 2013

Save jQuery active tab

$("#tabs").tabs({
activate: function (e, ui) {
 $.cookie('selected-tab', ui.newTab.index(), { path: '/' });
},
active: $.cookie('selected-tab')
});
Post a Comment

How to get the IP address of the docker host from inside a docker container

/sbin/ip route|awk '/default/ { print $3 }'