I have a div block that simulates a small spinner, everything works fine however with the css configurations that I have it is positioned in the upper right wing, I tried to center it but when I see it from a mobile device it moves from place .. how could to center it without it changing position in devices with different sizes?  .spinner {   display: block;   position: fixed;   z-index: 1031;   top: 15px;   right: 15px; }
Best way to center a &lt;div&gt; element on a page both vertically and horizontally?  I know that margin-left: auto; margin-right: auto; will center on the horizontal, but what is the best way to do it vertically, too?
$$\frac{1}{z-\sin z}$$ $$\frac{1}{z(1-\frac{\sin z}{z})}$$  the laurent's transform is also used to simplify the function.  the residue is found a $\frac{2*36*2}{5}$ but the actual answer is given as $\frac{3}{10}$ the residue is given as The solution is incorrect and also the pole is of the order 3. I'm trying to use ARIMA process to predict the behaviour of a time series, the probleme I face is that I can't get the order of each component of ARIMA, the lag is between 0 and 1, same goes for the acf. The time series has no tendency, and I guess no seasonality.     My question is : Does this mean that ARIMA orders are all 0s, and if so, is the HoltWinters a good (or the best) solution for modelling this kind of TS ? Can the coefficient of static friction be less than that of kinetic friction? I have this tex: \(\mu_{A}\left(x\right)\in \[0,1  \right\]\)  The issue here is that [ and ] are not showing around 0,1, why is that?  Thanks. ubuntu terminal is not working properly in vi editor Subscribe to a particular question by email (not RSS) Can not unlock my Android device as have no internet connection? Could normal users have an easier way to flag for migration? Ubuntu with full disk encryption - bad password after upgrade to 18.04 A few months ago I set full disk encryption during installation of Ubuntu 17.10. Now, I've decided to upgrade. The upgrade ran to the end without any problems. However, after reboot I am not able to log into my encrypted disk.  Where can be the problem? I am 100% sure I press the "right keys" on the keyboard, but technically I don't know what I am writing because of "*" characters and maybe after upgrade my keyboard layout changed. I use some characters which might be somewhere else on the keyboard. What language is default after upgrade?   By the way, I've already tried Caps-lock, but still no luck.  Help will be really appreciated. I am not a fan of installing my system and all backups over and over again. Some things are easier to implement just by hand (code), but some are easier through WF. It looks like WF can be used to create (almost) any kind of algorithm. So (theoretically) I can do all my logic in WF, but it's probably a bad idea to do it for all projects.  In what situations is it a good idea to use WF and when will it make things harder then they have to be? What are pros and cons/cost of WF vs. coding by hand? I'm using Ubuntu 13.04 on a Lenovo X220.  Why do I have so many .Xauthority.* files in my home directory? I.e  .Xauthority .Xauthority.0JW6UW .Xauthority.2HWRVW .Xauthority.2TA6VW .Xauthority.49F8VW .Xauthority.4E27UW .Xauthority.7CLTVW .Xauthority.8JGGXW .Xauthority.96SAVW .Xauthority.AOUFVW .Xauthority.ASDOVW .Xauthority.CGVJXW .Xauthority.E0ZSVW .Xauthority.E5VZWW .Xauthority.FE64UW .Xauthority.FIHDWW .Xauthority.HL45VW .Xauthority.HYCCVW .Xauthority.ILUEWW .Xauthority.JXJHVW .Xauthority.K1QJXW .Xauthority.KXSOVW .Xauthority.LEKEVW .Xauthority.M48WVW .Xauthority.M6QTVW .Xauthority.MW6NWW .Xauthority.N57TWW .Xauthority.O5HAWW .Xauthority.OIC5VW .Xauthority.P2RPVW .Xauthority.Q0FRVW .Xauthority.QW01WW .Xauthority.RDW5WW .Xauthority.T0TLWW .Xauthority.TSO4WW .Xauthority.U6R9VW .Xauthority.V3KAWW .Xauthority.W8Z1WW .Xauthority.XDLGVW .Xauthority.XOOHWW.Xauthority.XUICVW  They are all zero bytes except the first, with timestamps all over the place.  What are these, and are they safe to delete? Is it acceptable to change the vid column of a term programmatically in the database? In the Avengers movie, was Thor going to kill Captain America during his woods battle with Iron Man? Why does the inverse of the Hilbert matrix have integer entries? I'm seeking for a proof of the following:     Let $A$ be an invertible matrix. Then the determinant of $A^{-1}$ equals:   $$\left|A^{-1}\right|=|A|^{-1} $$   I don't know where to begin the proof. Any suggestions? Proving the snake lemma without a diagram chase Suppose we have two short exact sequences in an abelian category $$0 \to A \mathrel{\overset{f}{\to}} B \mathrel{\overset{g}{\to}} C \to 0 $$ $$0 \to A&#39; \mathrel{\overset{f&#39;}{\to}} B&#39; \mathrel{\overset{g&#39;}{\to}} C&#39; \to 0 $$ and morphisms $a : A \to A&#39;, b : B \to B&#39;, c : C \to C&#39;$ making the obvious diagram commute. The snake lemma states that there is then an exact sequence $$0 \to \ker a \to \ker b \to \ker c \to \operatorname{coker} a \to \operatorname{coker} b \to \operatorname{coker} c \to 0$$ where the morphisms between the kernels are induced by $f$ and $g$ while the maps between the cokernels are induced by $f&#39;$ and $g&#39;$.  It is not hard to show that the morphisms induced by $f, g, f&#39;, g&#39;$ exist, are unique, and that the sequence is exact at $\ker a, \ker b, \operatorname{coker} b, \operatorname{coker} c$. With the use of a somewhat large diagram shown , we can even construct the connecting morphism $d : \ker c \to \operatorname{coker} a$. However, I'm stuck showing exactness at $\ker c$ and $\operatorname{coker} a$. I thought Freyd might have had an element-free proof in his book, but it turns out he proves it by diagram chasing and invoking the Mitchell embedding theorem [pp. 98–99]. Is there a direct proof? Is it worth self-funding a PhD to attend a top 10 university? What should I opt for?   Option A) very well paid PhD, around €3000 per month at a respectable university or;  Option B) a non-paid PhD, where I have to pay €2000 per year at one of the top 10 universities of the world?  EDIT: Actually they are both UK universities, Option B  is ranked between the top 10 in the world in engineering and tech, and I do get a scholarship that pays 18000 pounds which covers the difference between international student tuition and EU tuition. In Option A, I will be doing research in a good university and will be working alongside giants in the industry. Number of surjective functions from A to B No margins for Winter Bash popup When opting out the Winter Bash the top bar popup related to snowflake looks like this for me:    Is it intentional that there are no horizontal margins for popup content? List of Figures + Beamer? I want to have a List of Figures in my Beamer presentation.  I spent some time searching the web for a solution and only found desperate people telling others that it's not possible, i.e.  or .  I also made some experiments on my own, i.e. "abuse" tocloft to do the job. However, even \usepackage{tocloft} causes pdflatex to fail with ! LaTeX Error: \l@section undefined. (and lying to tocloft by defining the command as empty beforehand doesn't to any good either).  I can't really see why it should be that difficult to make a List of Figures in beamer, since \tableofcontents works flawlessly.   I'm not afraid of doing some coding on my own, but I'm not deep enough into TeX to really understand the magic behind the "List of Figures", "Table of Contents" and alike.  Is anyone out there having suggestions or links that might help me figure this out?  \documentclass{beamer}  % uncomment the following line % to get the error message % `! LaTeX Error: \l@section undefined.`  %\usepackage{tocloft}   % uncomment the following lines INSTEAD % to lie to tocloft % and get the next error message  %\makeatletter %\newcommand\l@section{} %\makeatother %\usepackage{tocloft}  \begin{document}  \begin{frame}{A frame} \begin{figure} \mbox{A} \caption{An 'A'} \end{figure} \end{frame}  \begin{frame}{List of Figures} \listoffigures \end{frame}  \end{document}   EDIT: Solution  Starting from Marco Daniels answer to my question, I modified his code to reflect my needs. Here is what I came up with. Please feel free to comment, improve and reuse this.  \RequirePackage{ifthen}  \makeatletter  \AtEndDocument{%   \clearpage   \beamer@tempcount=\c@page\advance\beamer@tempcount by -1%   \if@filesw   \newwrite\tf@lof   \immediate\openout\tf@lof\jobname.lof\relax   \newwrite\tf@lot   \immediate\openout\tf@lot\jobname.lot\relax   \fi }  \long\def\beamer@makecaption#1#2#3#4{%   \def\insertcaptionname{\csname#1name\endcsname}%   \def\insertcaptionnumber{\csname the#1\endcsname}%   \edef\insertframenumber{\theframenumber}%   \ifthenelse{\equal{#3}{\empty}}{%       \def\insertlistcaption{#2}%   }{%     \def\insertlistcaption{#3}%   }   \def\insertsource{#4}%   \def\insertcaption{#2}%   \ifthenelse{\equal{#1}{figure}}{%       \addtocontents{lof}{\protect\listoffigureformat{\insertcaptionnumber}{\insertlistcaption}{\insertframenumber}{\insertsource}}{}{}%   }{}   \ifthenelse{\equal{#1}{table}}{%       \addtocontents{lot}{\protect\listoftableformat{\insertcaptionnumber}{\insertlistcaption}{\insertframenumber}}{}{}%   }{}   \nobreak\vskip\abovecaptionskip\nobreak   \sbox\@tempboxa{\usebeamertemplate**{caption}}%   \ifdim \wd\@tempboxa &gt;\hsize   \usebeamertemplate**{caption}\par   \else   \global \@minipagefalse   \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%   \fi   \nobreak\vskip\belowcaptionskip\nobreak% }  \def\listoffigureformat#1#2#3#4{%   \makebox[2ex][r]{#1}%   \hspace{1ex}%   {\usebeamercolor[fg]{bibliography entry author} #2}%   \ifthenelse{\equal{#4}{\empty}}{}{ -- #4}%   \dotfill%   \makebox[2ex][r]{#3}\par% } \def\listoffigures{%   \setlength{\leftskip}{3ex}   \setlength{\parindent}{-3ex}   \@starttoc{lof}% } \def\listoftableformat#1#2#3{\makebox[2ex][r]{#1}\hspace{1ex}#2\dotfill\makebox[2ex][r]{#3}\par} \def\listoftables{%   \setlength{\leftskip}{3ex}   \setlength{\parindent}{-3ex}   \@starttoc{lot}% }  \long\def\@caption#1[#2]#3{   \par\nobreak   \begingroup     \@parboxrestore     \if@minipage       \@setminipage     \fi     \beamer@makecaption{#1}{\ignorespaces #3}{\ignorespaces #3}{\ignorespaces #2}\par\nobreak     \endgroup}  \makeatother