How to reset an user password without knowing his current password?
How do I reset a lost administrative password?
Is there a way to adjust the torch/flash brightness level on an iOS device? $m$ is a perfect square iff $m$ has an odd number of divisors? I'm trying to convert some LaTeX into HTML but my code listings don't preserve their code coloring. Why is that and how do I fix it?  This is what it looks like:    Side note: I'm also wondering why the caption on the table was removed.  Edit  Here is an example listing with colors:  \documentclass{article} \usepackage{color} \usepackage{listings} \lstset{     basicstyle=\footnotesize\ttfamily,     language=[Sharp]C,      keywordstyle=\color[rgb]{0,0,1.0}\bfseries,       commentstyle=\color[rgb]{0.133,0.545,0.133}\bfseries, }  \begin{document} \begin{lstlisting} int x = 10;  // This is a comment string str = "hello"; \end{lstlisting} \end{document}   This produces the following HTML when doing: htlatex myfile.tex:  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"     "http://www.w3.org/TR/html4/loose.dtd"&gt;   &lt;html &gt;  &lt;head&gt;&lt;title&gt;&lt;/title&gt;  &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;  &lt;meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)"&gt;  &lt;meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)"&gt;  &lt;!-- html --&gt;  &lt;meta name="src" content="LaTeX4.tex"&gt;  &lt;meta name="date" content="2012-07-20 12:30:00"&gt;  &lt;link rel="stylesheet" type="text/css" href="LaTeX4.css"&gt;  &lt;/head&gt;&lt;body  &gt;    &lt;!--l. 12--&gt;    &lt;div class="lstlisting" id="listing-1"&gt;&lt;span class="label"&gt;&lt;a   id="x1-2r1"&gt;&lt;/a&gt;&lt;/span&gt;&lt;span  class="cmtt-8"&gt;int&lt;/span&gt;&lt;span  class="cmtt-8"&gt;&amp;#x00A0;&lt;/span&gt;&lt;span  class="cmtt-8"&gt;x&lt;/span&gt;&lt;span  class="cmtt-8"&gt;&amp;#x00A0;&lt;/span&gt;&lt;span  class="cmtt-8"&gt;=&lt;/span&gt;&lt;span  class="cmtt-8"&gt;&amp;#x00A0;&lt;/span&gt;&lt;span  class="cmtt-8"&gt;10;&lt;/span&gt;&lt;span  class="cmtt-8"&gt;&amp;#x00A0;&lt;/span&gt;&lt;br /&gt;&lt;span class="label"&gt;&lt;a   id="x1-3r2"&gt;&lt;/a&gt;&lt;/span&gt;&lt;span  class="cmtt-8"&gt;&amp;#x00A0;&lt;/span&gt;&lt;br /&gt;&lt;span class="label"&gt;&lt;a   id="x1-4r3"&gt;&lt;/a&gt;&lt;/span&gt;&lt;span  class="cmtt-8"&gt;//&lt;/span&gt;&lt;span  class="cmtt-8"&gt;&amp;#x00A0;&lt;/span&gt;&lt;span  class="cmtt-8"&gt;This&lt;/span&gt;&lt;span  class="cmtt-8"&gt;&amp;#x00A0;&lt;/span&gt;&lt;span  class="cmtt-8"&gt;is&lt;/span&gt;&lt;span  class="cmtt-8"&gt;&amp;#x00A0;&lt;/span&gt;&lt;span  class="cmtt-8"&gt;a&lt;/span&gt;&lt;span  class="cmtt-8"&gt;&amp;#x00A0;&lt;/span&gt;&lt;span  class="cmtt-8"&gt;comment&lt;/span&gt;&lt;span  class="cmtt-8"&gt;&amp;#x00A0;&lt;/span&gt;&lt;br /&gt;&lt;span class="label"&gt;&lt;a   id="x1-5r4"&gt;&lt;/a&gt;&lt;/span&gt;&lt;span  class="cmtt-8"&gt;string&lt;/span&gt;&lt;span  class="cmtt-8"&gt;&amp;#x00A0;&lt;/span&gt;&lt;span  class="cmtt-8"&gt;str&lt;/span&gt;&lt;span  class="cmtt-8"&gt;&amp;#x00A0;&lt;/span&gt;&lt;span  class="cmtt-8"&gt;=&lt;/span&gt;&lt;span  class="cmtt-8"&gt;&amp;#x00A0;&lt;/span&gt;&lt;span  class="cmtt-8"&gt;"&lt;/span&gt;&lt;span  class="cmtt-8"&gt;hello&lt;/span&gt;&lt;span  class="cmtt-8"&gt;"&lt;/span&gt;&lt;span  class="cmtt-8"&gt;;&lt;/span&gt;     &lt;/div&gt;  &lt;/body&gt;&lt;/html&gt;   Which looks like this:    I would want the HTML result to look like this: Introductory text for lattice theory Regex exec only returning first match Suppose one is trying to find the radius of convergence of  $$ \exp(x)=\sum\limits_{k=0}^{\infty} \frac{x^k}{k!} $$  This "proof" was given in the lecture: $$ \begin{align} r =&amp; \frac{1}{\limsup\limits_{n \rightarrow \infty}\sqrt [n]{|a_n|}} \\ =&amp; \frac{1}{\limsup\limits_{n \rightarrow \infty}\sqrt [n]{\frac{1}{n!}}} \\ =&amp;\lim\limits_{n \rightarrow \infty} \sqrt [n]{n!}\\ r=&amp; \infty \end{align}$$  Other proofs involving the ratio test also seem to inspect the convergence of $\frac{1}{k!}$ instead of $\frac{x^k}{k!}$. Why is one allowed to substitute $\frac{1}{k!}$? I've taken multivariate calculus and am wondering if I can see a specific function where the order of taking the partial derivative matters. I've been told that there are some exceptions where $ \dfrac{\partial ^2 f}{\partial x \partial y} \ne \dfrac{\partial ^2 f}{\partial y \partial x} $, so I'm curious to see what this looks like.  EDIT: And why would this true? Vim: How do I search for a word which is not followed by another word? Changing wp login url without .htaccess How to change wordpress login url without using .htaccess, should be a manual process, so example.com/login will not redirect to example.com/wp-login.php so example.com/login will be the login page? Why is Lamarck's evolutionary theory considered incorrect? Many sources postulate without much argumentation that Lamarck's evolutionary theory is "obviously incorrect". A classic example provided in such sources is the one with giraffes, in which Lamarck argued that the necks of these animals became long as a result of continually stretching to reach high foliage. This mechanism for adaptive change in response to the environment is considered wrong.  Now the counterargument to Lamarck's ideas comprises modern findings in genetics. So it is stated that organisms pass down traits through predetermined genetic information, not based on environmental adaptations during their lifetime. Furthermore, genetic research shows that living organisms cannot alter their genetic material as needed.   Doesn't the latter contradict the evolutionary theory itself, which states that nature (i.e. environment) shapes species through natural selection in the environmental milieu? If it is not the environmental/natural factor that is responsible for genetic evolution, then what is? If genetic material were to be unchangeable, then how would adaptation to the environment and consequent evolutionary change would ever be possible? The genotype (following this logic) would remain the same. And lastly, maybe giraffes do not develop long necks at such a rapid pace (as Lamarck probably thought) by simply stretching their necks in one generation; however, what, if not neck stretching, is responsible for their consistently longer necks throughout thousands or millions of years? Hadn't the environment gradually shaped their genotype? Similarly, if I run more often, maybe my children will not become more fit, but isn't it just a matter of time (thousands of years) that if all of us consistently run a lot, then our offspring will eventually become more fit? Wouldn't our voluntary efforts eventually enhance our genetics? I do not see any problem with Lamarck's logic at all, except probably the time frame. How to deselect the checkbox when max row selection is set to 1 in LWC? I have been playing for almost 2 days, and today it is asking me to sign up again.  I have all my game saved in my google account, but I wonder if I just log in from a trainer account will I keep my progress? Nested sequence of non-empty compact subsets - intersection differs from empty set I have the following proposition:  "If $(S_n)$ is a sequence of compact subsets of a metric space such that  $S_1 \supseteq S_2 \supseteq ... \supseteq S_n$  Then $\bigcap^\infty_{i=1} S_i$ $\neq$ $\emptyset$"  My lecture notes provide the following proof, whose last step I don't understand:    Proof: Assume by way of contradiction that $\bigcap^\infty_{i=1} S_i$ = $\emptyset$. Let $V_n := (S_n)^c$ for each $n$. The class $\mathbb{C} :=\{V_n: n \in \mathbb{N} \}$ is an open covering of $S_1$. Since $S_1$ is compact, $\exists I$ finite, $I \subset \mathbb{N}$, s.t $\{V_i: i \in I \}$ covers $S_1$. Let $n:=max(I)$. The class $\{V_1, ..., V_n \}$ also covers $S_1$ and we get the following contradiction   $\emptyset = \bigcap^n_{i=1} S_i = S_n$    So, I don't get the part from "Let $n:=max(I)$..." onwards, especially the contradiction. I have tried applying DeMorgan's Law and the only way the last equalities makes sense is if the union of $\{V_1, ..., V_n \}$ equals the whole metric space, a property I haven't been able to understand from the steps of the proof. This is a corollary to the finite intersection property, so it must have a connection but again I can't quite get it.  Thanks in advance Prove that the square root of a positive integer is either an integer or irrational Is my proof that the square root of a positive integer is either an integer or an irrational number correct?  The proof goes like this:  Suppose an arbitrary number n, where n is non-negative. If $\sqrt{n}$ is an integer, then $\sqrt{n}$ must be rational. Since $\sqrt{n}$ is an integer, we can conclude that n is a square number, that is  for some integer a.  Therefore, if n is a square number, then $\sqrt{n}$ is rational.  Suppose now that n is not a square number, we want to show that the square root of any non-square number is irrational.  We prove by contradiction. That is, we suppose that the square root of any non-square number is rational. So $\sqrt{n} = \frac{a}{b}$, where $a,b \in Z^+, b \neq 0$. We also suppose that $a \neq 0$, otherwise $\frac ab = 0$ , and n will be a square number, which is rational.   Hence $n = \frac {a^2}{b^2}$, so $nb^2 = a^2$.    Suppose $b=1$. Then $\sqrt n = a$ , which shows that n is a square number. So $b \neq 1$. Since $\sqrt n &gt; 1$, then $a&gt;b&gt;1$.  By the unique factorization of integers theorem, every positive integer greater than $1$ can be expressed as the product of its primes.  Therefore, we can write $a$ as a product of primes and for every prime number that exists in $a$, there will be an even number of primes in $a^2$. Similarly, we can express $b$ as a product of primes and for every prime number that exists in $b$, there will be an even number of primes in $b^2$.  However, we can also express $n$ as a product of primes. Since $n$ is not a square number, then there exist at least one prime number that has an odd number of primes.  Therefore, there exists at least one prime in the product of $nb^2$  that has an odd number of primes. Since $nb^2=a^2$ , then this contradicts the fact that there is an even number of primes in $a^2$ since a number can neither be even and odd.  Therefore, this contradicts the fact that $\sqrt n$ is rational. Therefore, $\sqrt n$ must be irrational.  Is this sufficient? Or is there any parts I did not explain well? How to correctly post a Q&A style question (i.e.self answer) without it failing minimal understanding As I understand it Q&amp;A style questions are  but a self answered question should be judged independently of the answer. Often after I've solved a problem I would like to share the question and answer on stack overflow (and have on a couple of occasions) but how to show &quot;minimal understanding of the problem&quot; is always challenging. For example I have been looking into the following question  How can I plot a straight line in the JMonkey Engine library I'm trying to plot straight lines between vertices that I specify using the JMonkey Engine 3D graphics library. So for example if I was to try to plot between: (2,0,0) (-1,0,1) (0,1,1) (1,1,1) (1,4,0) Then I would get:   This is something I do (and forget how to do) relatively often and the answer is harder to find than you'd imagine ( provides everything needed to figure it out but its spread out over several posts and isn't a complete solution on its own). Therefore I want to provide a Q&amp;A for it but at present this question feels like it would fail the minimal understanding test  Questions must demonstrate a minimal understanding of the problem being solved. Tell us what you've tried to do, why it didn't work, and how it should work  Should I make up some imaginary problem? (Probably the final source code messed up a bit) Or mention in the question that I’m self answering to assuage some of the normal &quot;This is not a do your work for you site&quot; comments. How to remove specific elements in a numpy array Why do Americans have to file taxes, even if their only source of income is from a regular job? For some reason, I have a server that if ssh into another server...you don't need to enter the  password.  How is this done? Can someone give me step by step instructions please? Usually \label does not create any white spaces. However, It creates an white space when \label is used after \phantomsubcaption from subcaption package.   Why? How can I get rid of this white space?   Here is a MWE:  \documentclass{article} \usepackage{subcaption}  \begin{document}  \section{a} a\label{sec:a}b% no white space between `a' and `b'  \begin{figure}   \centering   {a\phantomsubcaption\label{fig:a}}%   {b\phantomsubcaption\label{fig:b}}   \caption{With label}% undesired white space between `a' and `b' \end{figure}  \begin{figure}   \centering   {a\phantomsubcaption}%   {b\phantomsubcaption}   \caption{Without label}% no white space between `a' and `b' \end{figure}  \end{document} Today I open my SO account like I always do. But the UI of menus has changed. I am not able to see the chat tab, the logout link or the privileges link. Are they missing or moved somewhere else?  Changed UI: