Well consider I have two elements: an svg image (icon) and a paragraph (styled to be inline). I wish to render them side to side inside a div, and I wish to align them "in the middle".  Now I "got" this working using display: inline-flex for the outer div as follow:  &lt;div class="grouper borderhelper"&gt; &lt;p style="display:inline"&gt;test&lt;/p&gt;  &lt;svg class="icon" focusable="false" viewBox="0 0 24 24" aria-hidden="true" role="presentation"&gt;&lt;path d="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"&gt;&lt;/path&gt;&lt;path fill="none" d="M0 0h24v24H0z"&gt;&lt;/path&gt;&lt;/svg&gt;  &lt;/div&gt;   css:  .grouper {     display: inline-flex;     vertical-align: middle;     align-items: center;     width: 100%; }  .borderhelper {   border-style: solid;   border-width: 1px;   border-color: 0; }  .icon {     width: 1em;     height: 1em;     display: inline-block;     font-size: 24px; }  p {   margin: 0px; }   .  However I am wondering: why would I need a flexbox in this case? It makes no sense as there's no flexing to happen, only aligning. Yet when I try to change display to "inline-block" the alignment fails.
Why won't vertical-align: middle work?  And yet, vertical-align: top does work.   span{   vertical-align: middle; } &lt;div&gt;   &lt;img src="https://via.placeholder.com/30" alt="small img" /&gt;   &lt;span&gt;Doesn't work.&lt;/span&gt; &lt;/div&gt;
Careers should allow me to add external (authored but not owned) GitHub projects under "other" I have some programs running on start-up like . UAC prompts every time the Windows starts. How can I set a program to make sure that no intervening prompt would appear during start-up? Combinations of sets raised to the power of a prime modulus: $\binom{p^{\alpha}-1}k \equiv (-1)^k \pmod p$ I am trying to automate these steps so that I don't need to do this on every machines manually. I need to install latest app server software (abc.tar.gz) on all the unix boxes.  I need to do this in around 12 machines - "machine1" ... "machine12". I have a master machine "machine0" which has abc.tar.gz file so I was thinking to run my script from this machine only and install abc.tar.gz software by following below steps in all those 12 machines one by one. My unix account id is david and my process runs as golden user.  This is the steps I follow if I am installing abc.tar.gz in "machine1":  david@machine1:~$ sudo scp david@machine0:/home/david/abc.tar.gz . david@machine1:~$ sudo stop test_server david@machine1:~$ sudo su - golden golden@machine1:~$ cd /opt/process golden@machine1:/opt/process$ rm -rf * golden@machine1:/opt/process$ exit david@machine1:~$ sudo cp abc.tar.gz /opt/process david@machine1:~$ sudo chown -R golden /opt/process david@machine1:~$ sudo su - golden golden@machine1:~$ cd /opt/process golden@machine1:/opt/process$ tar -xvzf abc.tar.gz golden@machine1:/opt/process$ exit david@machine1:~$ sudo start test_server   How can I automate this so that it can do the same steps in all 12 machines one bye one? I mean install abc.tar.gz in machine1 first, then install on machine2 and go on..  I want to run this script from machine0 only.  Is there any way to automate this? How to interpret this yum dependency error? I'm trying to install XRDP and I'm hitting the following:  [root@box ~]# yum -y install xrdp Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile  * base: centos.serverspace.co.uk  * epel: mirrors.coreix.net  * extras: mirror.sov.uk.goscomb.net  * updates: mirror.sov.uk.goscomb.net Resolving Dependencies --&gt; Running transaction check ---&gt; Package xrdp.x86_64 1:0.9.10-1.el7 will be installed --&gt; Processing Dependency: xrdp-selinux = 1:0.9.10-1.el7 for package: 1:xrdp-0.9.10-1.el7.x86_64 --&gt; Processing Dependency: xorgxrdp for package: 1:xrdp-0.9.10-1.el7.x86_64 --&gt; Running transaction check ---&gt; Package xorgxrdp.x86_64 0:0.2.10-4.el7 will be installed --&gt; Processing Dependency: xorg-x11-server-Xorg(x86-64) = 1.20.4 for package: xorgxrdp-0.2.10-4.el7.x86_64 ---&gt; Package xrdp-selinux.x86_64 1:0.9.10-1.el7 will be installed --&gt; Finished Dependency Resolution Error: Package: xorgxrdp-0.2.10-4.el7.x86_64 (epel)            Requires: xorg-x11-server-Xorg(x86-64) = 1.20.4            Installed: xorg-x11-server-Xorg-1.20.1-5.6.el7_6.x86_64 (@updates)                xorg-x11-server-Xorg(x86-64) = 1.20.1-5.6.el7_6            Available: xorg-x11-server-Xorg-1.20.1-3.el7.x86_64 (base)                xorg-x11-server-Xorg(x86-64) = 1.20.1-3.el7            Available: xorg-x11-server-Xorg-1.20.1-5.el7.x86_64 (updates)                xorg-x11-server-Xorg(x86-64) = 1.20.1-5.el7            Available: xorg-x11-server-Xorg-1.20.1-5.1.el7.x86_64 (updates)                xorg-x11-server-Xorg(x86-64) = 1.20.1-5.1.el7            Available: xorg-x11-server-Xorg-1.20.1-5.2.el7_6.x86_64 (updates)                xorg-x11-server-Xorg(x86-64) = 1.20.1-5.2.el7_6            Available: xorg-x11-server-Xorg-1.20.1-5.3.el7_6.x86_64 (updates)                xorg-x11-server-Xorg(x86-64) = 1.20.1-5.3.el7_6  You could try using --skip-broken to work around the problem  You could try running: rpm -Va --nofiles --nodigest   Now, I get that it's missing a dependency, however, it appears to be saying it requires xorg-x11-server-Xorg version 1.20.4.   It then continues to say version 1.20.1-5.6.el7_6 is installed.  From where I'm sitting, 4 is in the range 1-5 so I'm unclear what the issue is. They all seem to be for the right architecture.  Is 1-5 a version string in and of itself as opposed to a range, or -if not- what am I missing?  Solution: Thanks to , here's a workaround:     Having the same issue, I installed manually archived xorgxrdp   yum -y install https://archive.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/x/xorgxrdp-0.2.9-1.el7.x86_64.rpm   then   yum -y install xrdp and it works Current situation: I'm required to cite "normative" documents (read: standards and manuals) separately from articles and books etc. Using biblatex and biber with the numeric style I'm doing that by issuing multiple printbibliography commands like so:  \usepackage[style=numeric,backend=biber,bibencoding=utf8]{biblatex} %... lots of stuff \printbibliography[type=standard,title=Standards \&amp; Manuals] \vskip\baselineskip \printbibliography[type=manual,heading=none] \printbibliography[nottype=standard,nottype=manual]   which gives a heading Standards &amp; Manuals, prints a list of manuals, leaves a bit of space then the list of standards and finally, under a new heading Bibliography gives books and articles etc. Thus far everything is fine, enter:  The Problem: I'm using the shorthand field in my database for the standards and manuals which works perfect as far as output within the text is concerned and sets the shorthand as the label in the bibliography and prints the details to the right of it - problem is: my shorthands are considerably longer than the labels generated by the numeric style, but even though they're in three different \printbibliography commands, everything gets indented to the maximum width of the label, making the part for books and articles look quite ridiculous.  The following shows the problem with only two separate \printbibliography (and an obviously exaggeratedly long shorthand):   Now  what I would obviously want is for each of the \printbibliography commands to only use the indentation actually necessary to accommodate the largest label appearing within, i.e. rendering the Manuals section as above, but the Bibliography section like follows:   Can anyone help me to achieve this? Or give me some pointer where to look?  The above was produced with the following MWE on an up-to-date TeXLive 2014:  \documentclass[10pt,british]{scrbook}  \usepackage{babel} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern}  \usepackage{filecontents} \begin{filecontents*}{\jobname.bib} @manual{HowTo,     title = {How to Make the World Go Round},     shorthand = {HowToMakeTheWorlGoRound},     publisher = {The Publisher},     year = {2000} }  @article{Article,     author = {Author, A. and Buthor, B.},     journal = {Journal Title},     pages = {113--126},     title = {The Article},     volume = {65},     year = {1900} } \end{filecontents*}  \usepackage[style=numeric,backend=biber,bibencoding=utf8]{biblatex} \addbibresource{\jobname.bib}  \usepackage[hidelinks]{hyperref}  \begin{document} \let\cleardoublepage\relax \chapter{The Document} Nothing to see here, but we refer to the \parencite{HowTo} based on a principle discovered by \textcite{Article}.  \printbibliography[type=manual,title=Manuals] \printbibliography[nottype=manual] \end{document} I am very new to being able to use LaTeX to type up mathematical papers, and I just got my "system" set up. Currently I have installed TexWorks, and MikTex, and I have put together a 'hello world' article which seems to run well.   I have also used the syntax "\usepackage{amsmath}" and "\usepackage{amssymb}" in the beginning of my .tex file to write math symbols, only because some online tutorial said so.   My question is, firstly, are those the only packages I need to use for writing math, and secondly, I remember reading about some shortcuts(?) that can be used for writing math symbols, and/or user defined shortcuts that can be 'set' in the beginning so as to reduce the amount of LaTeX code needed to write mathematical symbols. However, I do not know if this is true, and if it is, how to go about 'installing' such a thing.   Does such a thing exist? Am I able to make my own shortcuts?  Thanks! Is it possible to set start-up applications to initialize in certain workspaces? I'd like to not have to manually distribute my start-up applications across my numerous workspaces every time I boot up my machine. I'm running Ubuntu 12.04 .  Any Help ? Two similar limit problems I have two limit problems which are quite similar, so I've put them both into this post.   $((4^{10}+2^{n})^{\frac{1}{n}})$ $((3n^{2}+n)^{\frac{1}{n}})$   Attempt:  For 1, I'm not sure if this is permissible. I know that $\lim_{n \to \infty}(x^{n}+y^{n})^{\frac{1}{n}} = \max\{x,y\}$. Obviously $4^{10}$ is a constant so it's not quite in the same form, but I believe it is still okay to use this result, and so the limit is $2$.  For 2, I've got $((3n^{2}+n)^{\frac{1}{n}}) = (n(3n+1)^{\frac{1}{n}})$, but then I'm not too sure how to proceed.   I also thought of taking the log and proceeding that way, however in the notes I'm learning from they haven't covered l'hopital yet, so I'm trying to not use it.  Thanks. Do fluorescent lighting and shutter speed create a problem with color cast? I took a bunch of photos at my son's martial arts club using a D90 with a 50mm F1.8.  The club is lit with overhead fluorescent lighting, and I was getting some weird results where some shots are "white", others have an "orange cast", and still others are partly white and partly orange in the same shot.  I suspect it has to do with the combination of the frequency of the light flicker and with the camera shutter speed. Here is a sequence of 3 shots that show the problem.  The shots were taken with 1/500s at F2 and ISO-800 and with Auto-WB.  First shot ("white/normal"):    Second shot ("orange cast" at top):   Third shot ("orange cast" at bottom):   These were taken in burst mode within a second of each other.  Can anybody tell me what is going on?  And, how I can avoid this? Example of a finite non-commutative ring without a unity Give an example of a finite, non-commutative ring, which does not have a unity.    I can't think of any thing which fits this question. I was thinking $M_2(\mathbb{R})$ but it has the identity. Any help is appreciated. Usage of into vs in vs inside When should 'into', 'in' and 'inside' be used?  What are the differences between the three?   For example, what are the differences between the following statements?  Are any of them incorrect?        The frog jumped into the well.   The frog jumped in the well.   The frog jumped inside the well. Is "Call me when you are available to talk" correct? Call me when you are available to talk   Is that correct? Can I use it that way? A real nxn matrix always has a real eigenvalue when n is odd what do it mean by "A real nxn matrix always has a real eigenvalue when n is odd?" Shouldnt it be that regardless of odd or even there will always have a real root?  hope to hear from you guys soon:) I am looking to sell and buy a house. But with the current market being as crazy as it is (houses are selling fast for sometimes 150,000 over asking), I'm afraid if we sell first, we could be stuck without a new house. Or stuck settling on or over-paying for something and wishing we never sold at all. I'm wondering if it's possible to buy first. What is the best way to secure my next house before selling my current house without getting locked into a B-lender mortgage or risking too much?  I know there would be some risk putting an offer on a new house without knowing how much the current house will sell for, or the risk we don't sell the current house before the new house closes. I'm also afraid conditional offers will not be considered. Are there any other options?  (We do have a mortgage on the current house, but because the market has gone up so much there is also a good chunk of equity.) Number of possible permutations of n1 1's, n2 2's, n3 3's, n4 4's such that no two adjacent elements are same? java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuterFilter I have two LED lamps in my corridor, and when I switch them off, they keep emitting light (not very strong, but it's annoying at night).  What can it be? How can I fix it? https:// search results appearing on Google for purely http:// site I started weeding through my site's search results from Google today, using a site: search, to determine if there are any links that cause 404s and thus need redirecting. To my amazement I noticed numerous https:// results relating to various pages. My site doesn't have a SSL certificate, doesn't serve such pages, doesn't internally link to https:// pages, doesn't include any such files in its sitemap.xml and, for all of these, never has.  I decided to do a Google search for https://&lt;my site&gt; and found one site that incorrectly refers to the root of my site with a https:// prefix - I will try to contact them to get them to correct this.  I'm not sure however how Googlebot managed to index the non-root files as https://. I can't find any external links to them and surely, without certification, Googlebot should have stalled at the first request?  I've just added the following lines to the site's .htaccess (although the surfer still has to navigate through the browser's "This site is a security risk. Abandon hope all ye who enter here!" message(s) first to get there):  RewriteEngine On RewriteCond %{HTTPS} on RewriteRule ^(.*)$ http://www.&lt;my site&gt;.org/$1 [R=301,L]    replacing &lt;my site&gt; with my domain name.   My big question is this though - I would like to use the Google Webmaster Tools Remove URLs feature to remove the https:// pages from the index. Can I be guaranteed that this will only remove the https:// versions of each relevant page and not the valid http:// versions?  My thanks to anyone who can help me out with this particular question and the issue in general. I have a bunch of views/reports built for my client. The reviewers then click download csv for the excel file. They asked if the views could download themselves daily to a folder.  Is that possible? And could you share links or knowledge how to handle this. I have been trying to figure it out.  Note: Right now the user is downloading CSV's from Drupal 7, an install of Moodle 1.9 in a Drupal 6 Shell and Survey Monkey. After they download and combine using Excel, the user creates reports that way for the users we have come to our events. Being a Front-end developer, coding is not my strength.