I am beginner for web development and i am trying to align below p element center vertically but its not working can some one help me please   &lt;head&gt;   &lt;meta charset="utf-8"&gt;   &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;   &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css"&gt;   &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"&gt;&lt;/script&gt;   &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js"&gt;&lt;/script&gt;   &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js"&gt;&lt;/script&gt;     &lt;style&gt;     p{     top: 50%;     transform: translateY(-50%);      }     &lt;/style&gt; &lt;/head&gt; &lt;body&gt;  &lt;header class="d-flex flex-column align-content-center bg-secondary py-5"&gt;   &lt;div class="d-flex"&gt;     &lt;img src="img/Icons-14.png"&gt;     &lt;p&gt;hgjsafakfjlajflksjf&lt;/p&gt;   &lt;/div&gt; &lt;/header&gt; &lt;/body&gt; &lt;/html&gt;
I want to center a div vertically with CSS. I don't want tables or JavaScript, but only pure CSS. I found some solutions, but all of them are missing Internet Explorer 6 support. &lt;body&gt;     &lt;div&gt;Div to be aligned vertically&lt;/div&gt; &lt;/body&gt;  How can I center a div vertically in all major browsers, including Internet Explorer 6?
Cardinality of equivalence relations on N Seems that I just proved $2=4$. Solving $x^{x^{x^{.^{.^.}}}}=2\Rightarrow x^2=2\Rightarrow x=\sqrt 2$.  Solving $x^{x^{x^{.^{.^.}}}}=4\Rightarrow x^4=4\Rightarrow x=\sqrt 2$.  Therefore, $\sqrt 2^{\sqrt 2^{\sqrt 2^{.^{.^.}}}}=2$ and $\sqrt 2^{\sqrt 2^{\sqrt 2^{.^{.^.}}}}=4\Rightarrow\bf{2=4}$.  What's happening!? Should I use "who" or "which" when referring to a specific animal species? I'd like to know what option to use, specifically when referring to a species by its scientific name. How to prove this limit composition theorem? How to retain HTML5 Attributes on Markup I have a page with certain html markup and element attributes as shown in the snippit below:  &lt;ul class="accordion" data-accordion=""&gt;  When I edit the page as a user with the WP Administrator Role the &lt;ul&gt; remains intact upon page update. Perfect.  Yet when a user with WP Editor Role edits the page, the ul tag saves as follows:  &lt;ul class="accordion"&gt;  Notice the data-accordion attribute is removed.  How can I get WordPress to retain markup tag attributes for users with the Editor role? When I used listings package to import C# code snippet from within my LaTeX file, I got an output as follows.    At the first line, there is an unnecessary white space because of the BOM (Byte Order Mark) that is intentionally added by Microsoft (R) Visual Studio.  I really want to remove it from the output rather than from the C# file, how to do that?   Here is my LaTeX code:  \documentclass{article} \usepackage{listings,xcolor} \lstset{% language={[Sharp]C}, backgroundcolor=\color{yellow!20}, basicstyle=\tiny, keywordstyle=\color{blue}, identifierstyle=\color{magenta}, breaklines=true}   \begin{document} \lstinputlisting{Program.cs} \end{document} When trying to add a bit more detail to a related , I realized I don't know how to specify which one of the available Bash word types to execute. According to help type there are five word types:   alias keyword function builtin file   It's possible for a word to have several types (true is just an example; a more commonly overridden word would be cd):  $ type -a true true is a shell builtin true is /bin/true   How do you force the execution of a specific synonym? So far, in order of precedence:   alias: This is a special case since it has precedence over all the other synonyms. Forcing this would only be useful when the command should fail if the alias is not defined.  $   keyword:  $   function:  $   builtin:  $ builtin true  file:  $ command true $ $(which true) $ /bin/true    :   Quoting a word excludes aliases and keywords. That is,  $ 'true'   will run only the function, builtin or file. I applied for a 90-day visa and got a long-term visit, single-entry tourist visa. The date given is 09-March-2015, and it's valid until 07-May-2015.  My agent says the 7th is the latest date I can travel to Dubai; once I enter I need to count 90 days. I entered on the 10th of March.    Is it true, or where can I get it checked?    Can I stay for another month, or do I need to leave before the 7th of May? Quick directory navigation in the bash shell I would like to frequently switch between directories that are in totally unrelated paths, for example /Project/Warnest/docs/ and ~/Dropbox/Projects/ds/test/.  But I don't want to type cd /[full-path]/ all the time. Are there any shortcut commands to switch to previously worked directories?  One solution I could think of is to add environment variables to my bash .profile for the frequently used directories and cd to them using those variables.  But is there any other solution to this? GPS PPS signal corresponds to data time? I currently have an Adafruit Ultimate GPS connected to an Arduino that outputing GPS data (nmea sentences) once per second.  There is also a pin on the GPS outputting 1 PPS signal.    My question is whether the pulse of the PPS suppose to match the time that the GPS data is coming in i.e are they are coming in at the same time?    Also does PPS pulse come in at the beginning of a UTC second or is it random and simply once a second? What is difference between have/get/make someone do something? How do I sort a two-dimensional (rectangular) array in C#? I have a two-dimensional array (of Strings) which make up my data table (of rows and columns).  I want to sort this array by any column.  I tried to find an algorithm for doing this in C#, but have not been successful.  Any help is appreciated. Bump right-aligned text to next line iff no room What type of differential equation is $f'(x) = f(x/2)$ and how do you solve it? I have the following different equation $$f'(x) = f(x/2)$$ with $f(0)=10$. What type of DE is this, and how would you solve it? It seems $f(x)$ is likely to be some relative of $e^x$, since $f'(x) = f(x)$, which is close, but I don't even know what that type of DE is called with that $f(x/2)$ feature, so I'm not having any luck searching for a tutorial. The best candidate I've found was a &quot;delay differential equation&quot;, but that seems more suited to $f(x-3)$ than $f(x/2)$. I'm trying to execute a string into my bash script. String contains variables (so I could substitute some CLI arguments depending on circumstances).  The problem is when I use variable containing --argument=value, everything breaks up, giving error:  Missing trailing-' in remote-shell command.   Example code:  #!/bin/bash  rsync_path="/usr/bin/rsync -azhrP" rsync_ssh_cmd="--rsh='ssh -o Compression=no'"  `$rsync_path /path/to/file $rsync_ssh_cmd username@localhost:/tmp`   If I just echo the last string from this code, it looks fine. But if i try to execute this string from script, it doesn't executes as expected.  I found a workaround - everything became OK if I try  eval "my-command-string"   instead of  `my-command-string`   or  (my-command-string)   Why does it so? How could I (should I really?) avoid to use eval?  I use bash 4.3.11(1)-release (x86_64-pc-linux-gnu) (Kubuntu 14.04.3). Alien invasion movie, giant robot aliens with long legs capturing people So I saw this movie about 10 years ago, when I was about 5 years old. Since I was really young, my memory of it isn't really that great.   I think it may have been an alien invasion movie, but the only scene I remember is that there were these giant robot-alien things:   I think they had several long legs. They had a big glass dome on top of them They would grab civilians and drop them in their glass dome.   That's all I remember. If you could please help me out, that would be great.   Again, I was about 5 years old when I watched it, so my memory of it isn't that great, but I hope you know what I'm talking about. Thanks so much :) Make an Ubuntu bootable USB drive for a PC using Mac? Python metaheuristic packages How to add a description to the user name input field in the registration form? I want a description under the user name input field in the Wordpress registration form like in the next example. How can I do this?  //create an extra field in login page for invitation code add_action( 'register_form', 'add_invitation_code_field' );  function add_invitation_code_field() {    ?&gt;       &lt;p&gt;          &lt;label for="invitation_code"&gt;             Invitation code             &lt;input id="invitation_code" class="input" type="text" size="20" value="" name="invitation_code"/&gt;             &lt;span class="description"&gt;&lt;?php _e("Description text"); ?&gt;&lt;/span&gt;          &lt;/label&gt;       &lt;/p&gt;    &lt;?php } Can I kill the Golem pre-hardmode?