Posts

Showing posts from February 21, 2019

line continuation when using docker exec bash with double quotes

Image
0 I want to be able to pass variables inside the `docker exec bash -c " " which also include line continuation character. Consider below command which works with line continuation but without variables inside the bash command docker exec -t $hostname bash -c 'authconfig --enableldap --enableldapauth --ldapserver="myldap.docker.com" --ldapbasedn="dc=docker,dc=com" --enablesssd --enablesssdauth --enableldaptls --enablemkhomedir --disablecache --disablecachecreds --update' If i want to pass variables inside the bash e.g. --ldapserver='$ldaphost' --ldapbasedn='dc=$domain,dc=com' and i need to replace single quotes ' by double quotes " and also remove the line continuation '' ,otherwise it doesn't work. docker exec -t $hostname bash -c &qu

Fresno el Viejo

Image
Fresno el Viejo Herb Flaga Państwo   Hiszpania Wspólnota autonomiczna Kastylia i León Prowincja Valladolid Alkad Luis Miguel Muñumer Garcia Powierzchnia 64,46 [1] km² Populacja  (2011) • liczba ludności • gęstość 990 [1] 15,36 os./km² Kod pocztowy 47480 Tablice rejestracyjne VA Położenie na mapie Kastylii i Leónu Fresno el Viejo Położenie na mapie Hiszpanii Fresno el Viejo 41°11′53″N   5°08′32″W / 41,198056   -5,142222 Multimedia w Wikimedia Commons Strona internetowa Portal Hiszpania Fresno el Viejo – gmina w Hiszpanii, w prowincji Valladolid, w Kastylii i León, o powierzchni 64,46 [1] km². W 2011 roku gmina liczyła 990 [1] mieszkańców. Przypisy | ↑ a b c d Ministerio de Hacienda y Administraciones Públicas: Datos del registro de Entidades Locales ( hiszp. ) . [dostęp 2013-06-16]. p   •   d   •   e Gminy prowincji Valladolid Ada

Filling a box excluding circles inside it

Image
3 I was trying to create an image in TIKZ. My code is as below: documentclass[10pt]{article} usepackage[utf8]{inputenc} usepackage{tikz} usetikzlibrary{shapes.geometric, shadows, fit, arrows, positioning} begin{document} begin{center} tikzset{ neuron/.style={shape=circle,draw,inner sep= 0pt,minimum size = 2.5 em, node distance = 10ex and 1 em }, every loop/.style={min distance=10mm,looseness=5}, dot/.style={shape=circle,minimum size=1mm, inner sep=0pt, fill=black, node distance= 1ex and 2 em }, group/.style={rectangle,draw, inner sep=1pt,rounded corners,minimum height= 3.5em,minimum width=15.5 em, node distance= 1ex and 1em}, conn/.style={draw,-latex'} } begin{tikzpicture} node[neuron](x1){$x_1$}; node[neuron,right=of x1](x2){$x_2$}; node[dot,right=of x2](dot_1){}; node[dot,right=of dot_1](do