Pre-render images
Preloading images with jQuery
How to install gnome shell extensions offline? I know how to go to the  website and download gnome-shell extensions, but now I need to install some extensions available there on a computer without any internet access at all. It is in a internal corporate network and there's no way I can get outside internet access on it, so I must find another way. I can copy files in a usb disk.   At my home computer, I have found my extensions at ~/.local/share/gnome-shell/extensions/ but just copying this folder to the target corporate computer didn't do the trick.   Running gnome-tweak-tool gives me a "Install Shell Extension" button but I don't know how to download an extension in a format acceptable to install using this button. I have tried to point to the folder above but it didn't work either.  What do I need to do? Detach (move) subdirectory into separate Git repository I have a  repository which contains a number of subdirectories. Now I have found that one of the subdirectories is unrelated to the other and should be detached to a separate repository.  How can I do this while keeping the history of the files within the subdirectory?  I guess I could make a clone and remove the unwanted parts of each clone, but I suppose this would give me the complete tree when checking out an older revision etc. This might be acceptable, but I would prefer to be able to pretend that the two repositories doesn't have a shared history.  Just to make it clear, I have the following structure:  XYZ/     .git/     XY1/     ABC/     XY2/   But I would like this instead:  XYZ/     .git/     XY1/     XY2/ ABC/     .git/     ABC/ Black is Back! New update with Achievement shows black backgrounds with black text Update: This is fixed on version 1.0.43 as per the accepted answer below.  Already saw ,  and . They are old and seem to be about previous versions.  I just updated to the version 1.0.41 of the Android app that brings the new feature - Achievements. Sadly, I think the stress of World Cup has made you guys not do a good job with it. It's buggy.  When I open my Achievements panel and tap on any post, I get this:    After I get this, it persists throughout the rest of the app. For example, if I go to the feed and open another question, I get this too.  Detailed reproduction steps are available in AD7six's answer.  My Device: Samsung Galaxy SIII LTE GT-I9305 Android: Stock ROM 4.3 Jelly Bean  Other Devices: - Device model, Android version, Reported by - HTC Desire, 4.2.2, xd6_ - Huawei Ascend, 4.2, Manu343726 - LG Optimus F3, 4.1.2, Rocket Hazmat - LG Optimus G, 4.3, Canadian Luke - Samsung Galaxy Nexus (Sprint), 4.3, Chrono Kitsune - Samsung Galaxy Note II, 4.3, Katja Christiansen - Samsung Galaxy SII GT-I9100, 4.1.2, AD7six - Sharp SH837W, 4.1.2, timrau - Sony Xperia SP, 4.3, pepoluan - Sony Xperia Z1, 4.3, user2313067 - Unknown, 4.2.1, Deer Hunter In my experience, "finite" is pronounced (IPA) ˈfaɪnaɪt while "infinite" is ˈɪnfɪnɪt.  In general, the prefix "in" negates an adjective, but does not change the pronunciation. Based on this, I would expect ˈɪnfaɪnaɪt.  Is there a reason for this "deviation from the norm"? Are there dialects/regions that actually say ˈɪnfaɪnaɪt (or ˈfɪnɪt, for that matter)? There's more gravitational force in our galaxy (and others) than can be explained by counting stars made of ordinary matter. So why not lots of dark planetary systems (i.e., without stars) made of ordinary matter? Why must we assume some undiscovered and unexplained form of matter? Show that the quotient space is homeomorphic to the n-disc Has the disputed flag message changed? I know how disputed flags work. Today, I reviewed a "not an answer" flag and marked it as invalid.   I've later seen a disputed message with this reason:     invalid flag         disputed - a moderator reviewed your flag, but found no evidence to   support it   Given that disputed flags are in the ,  Is this message applicable only to my flag or is this message also for the original flagger?  Or put otherwise, are all disputed flags now shown this message (or similar decline reason)?  I've run out of flags for today to test this further. When is it better to use String.Format vs string concatenation? To apply for a Schengen business visa, you need a letter from the company in the Member state inviting you. My company is based in the UK, owns properties in Schengen countries, and I have to inspect their condition.  What letter do I get? How to avoid NoMethodError for nil elements when accessing nested hashes? Difference between 'max distance' and 'radius' in Physics.SphereCastAll Tighten rope without turnbuckles? I have two 4-ft x 4" x 4" wood posts, and each post has a screw eye. There's 12 feet of distance between each post.  How can I tighten a piece of 1/2" diameter rope that goes through each screw eye and it's stretched tightly without having to buy turnbuckles?  There has to be a knot just for this. How to delete specific lines from a txt file I have a Bash script that writes data into a log file, then from that I take out stuff I want using the sed command. That gives me a file data.txt. What I want to know is how I go about deleting specific line inside that data.txt file.  For example:  123 456 789   I want to remove the 2nd line, containing 456 so that I only have  123  789   I tried with sed '2d' data.txt but it doesn't work.  I use this command to create data.txt from log.log:  sed -nE '1s/.{1}(.{2}).*/\1/p;' log.log &gt;&gt; data.txt Use property to show that if $f_n \rightarrow f$ in measure on finite measure set $E$ then $f_n^2 \rightarrow f^2$ in measure on $E$. Consider the following problem:     Let $E$ have finite measure, $\{f_n\} \rightarrow f$ in measure on $E$ and $g$ be a measurable function on $E$ that is finite almost everywhere. Use the fact that $\{f_n \cdot g\} \rightarrow f_n \cdot g$ to prove that $\{f_n^2 \} \rightarrow f^2$ in measure on $E$. Infer from this that if $\{g_n\} \rightarrow g$ in measure on $E$ then $\{f_n \cdot g_n \} \rightarrow f \cdot g$ in measure on $E$.   I'm struggling understand how I can apply the fact that $\{f_n \cdot g\} \rightarrow f_n \cdot g$ in measure to prove that $\{f_n^2 \} \rightarrow f^2$ in measure. I've been able to come up with a proof of the fact that if $\{g_n\} \rightarrow g$ in measure then $\{f_n \cdot g_n \} \rightarrow f \cdot g$ in measure, and this clearly implies the claim that $\{f_n^2 \} \rightarrow f^2$ in measure. Unfortunately my proof doesn't rely on the fact that $\{f_n \cdot g\} \rightarrow f_n \cdot g$ so it doesn't answer the problem since it explicitly asks us to prove it a certain way.  So far my best attempt to utilize the fact is as follows. Let $\eta &gt; 0$ then by triangle inequality and monotonicity of measure  \begin{align*}     \lim_{n\rightarrow \infty}\mu\left\{ \left|f_n^2 - f^2\right| &gt; \eta \right\} &amp;\leq \lim_{n\rightarrow \infty}\mu \left\{\left|f_n - f\right|\cdot \left|f_n\right| + \left|f_n - f\right| \cdot \left|f\right| &gt; \eta \right\} \\     &amp;\leq \lim_{n\rightarrow \infty}\mu\left\{\left|f_n - f\right|\cdot \left|f_n\right| &gt; \eta/2 \right\} + \lim_{n\rightarrow \infty}\mu\left\{\left|f_n - f\right| \cdot \left|f\right| &gt; \eta/2 \right\} \end{align*}  By the fact that $\{f_n \cdot f\} \rightarrow f \cdot f$ in measure \begin{equation*} \lim_{n\rightarrow \infty}\mu\left\{\left|f_n - f\right| \cdot \left|f\right| &gt; \eta/2 \right\} = \mu\left\{\left|f_n \cdot f - f\cdot f\right| &gt; \eta/2 \right\} = 0. \end{equation*} I don't see how to deal with the other limit without first proving the most general statement $\{f_n \cdot g_n \} \rightarrow f \cdot g$ in measure.   Any help or advice is greatly appreciated. My 1.12 solution can be found . When trying to update command blocks to 1.13, I have the following:  scoreboard objectives add invert dummy   (run at start) then:  scoreboard players set FakePlayer invert 1   (impulse unconditional repeat) chained into:  execute at @e[tag=summoned] run scoreboard players reset FakePlayer invert   (chain unconditional repeat) chained into:  execute if score FakePlayer invert = 1 invert run say "All summoned animals are dead!"   This should reset FakePlayers score continuously until all entities with tag "summoned" are dead, then it should run the final condition. This does not happen, and I can't see why. Could someone provide me with a good explanation of why $0^0=1$?  My train of thought:  $x&gt;0$  $0^x=0^{x-0}=0^x/0^0$, so  $0^0=0^x/0^x=\,?$  Possible answers:   $0^0\cdot0^x=1\cdot0^0$, so $0^0=1$ $0^0=0^x/0^x=0/0$, which is undefined   PS. I've read the  on mathforum.org, but it isn't clear to me. Rendering of Favorite/Ignored Tags in Firefox I have spotted a bug in rendering of Favorite Tags and Ignored Tags section in Firefox. This rendering issue is present on both stackoverflow.com and meta.stackoverflow.com sites.  I'm using Firefox 17.0.1 on Windows 7 x64. In Google Chrome page is rendered correctly.  Screenshots:  Firefox (please note cropped right part of both Add buttons)    Chrome (buttons are rendered correctly) How to exceed left margin with longtable I'm trying to make a longtable that is wider than the textwidth at a certain moment. I've tried different things always ending up with a different problem:  First possibility: If I use the adjustwidth environment the longtabu does not align correctly. The left margin stays fixed and the right margin gets out of the page. This in contrast, if I do the exact same thing to make a tabu (instead of longtabu), it works perfectly. I think using the adjustwidth is the best way to go, but I can't manage to get it working.  Second possibility: I've found a solution using the fullwidth package. That package does the trick on small longtables, but freezes when I'm trying to do it on my big longtable. The command \setlength\LTleft{-2cm} didn't work as well.  The final option I tried was to use geometry. But that changes the margin of the whole page thus making a page break which I'm not interested in. The code I used for this was  \newgeometry{left=1.2cm} \begin{longtable} long table stuff \end{longtable} \restoregeometry   Here's an example of what I want contra what I get  \documentclass[a4paper]{article} \usepackage{longtable} \usepackage{chngpage} \usepackage{lipsum} \usepackage{tabu}  \begin{document} \section{This is the original textwidth.} \lipsum[1]  \section{This is the width I need for my longtabu} \begin{adjustwidth}{-1in}{-1in} \begin{tabu} to \linewidth {*{13}{|X[l]} |} 01 &amp; 02 &amp; 03 &amp; 04 &amp; 05 &amp; 06 &amp; 07 &amp; 08 &amp; 09 &amp; 10 &amp; 11 &amp; 12 &amp; 13 \\ 01 &amp; 02 &amp; 03 &amp; 04 &amp; 05 &amp; 06 &amp; 07 &amp; 08 &amp; 09 &amp; 10 &amp; 11 &amp; 12 &amp; 13 \\ 01 &amp; 02 &amp; 03 &amp; 04 &amp; 05 &amp; 06 &amp; 07 &amp; 08 &amp; 09 &amp; 10 &amp; 11 &amp; 12 &amp; 13 \\ 01 &amp; 02 &amp; 03 &amp; 04 &amp; 05 &amp; 06 &amp; 07 &amp; 08 &amp; 09 &amp; 10 &amp; 11 &amp; 12 &amp; 13 \\ \end{tabu} \end{adjustwidth}  \section{This is what happens} \begin{adjustwidth}{-1in}{-1in} \begin{longtabu} to \linewidth {*{13}{|X[l]} |} 01 &amp; 02 &amp; 03 &amp; 04 &amp; 05 &amp; 06 &amp; 07 &amp; 08 &amp; 09 &amp; 10 &amp; 11 &amp; 12 &amp; 13 \\ 01 &amp; 02 &amp; 03 &amp; 04 &amp; 05 &amp; 06 &amp; 07 &amp; 08 &amp; 09 &amp; 10 &amp; 11 &amp; 12 &amp; 13 \\ 01 &amp; 02 &amp; 03 &amp; 04 &amp; 05 &amp; 06 &amp; 07 &amp; 08 &amp; 09 &amp; 10 &amp; 11 &amp; 12 &amp; 13 \\ 01 &amp; 02 &amp; 03 &amp; 04 &amp; 05 &amp; 06 &amp; 07 &amp; 08 &amp; 09 &amp; 10 &amp; 11 &amp; 12 &amp; 13 \\ \end{longtabu} \end{adjustwidth}  \end{document} Does using an extender actually change the aperture of the lens? I just bought a Canon 2X extender and I always believed that it would only result in 2 stops' loss of light and not change the aperture.    However, when I tested this extender on a Canon 135mm f/2 lens, the maximum aperture I could set went down to F/4.  So it kind of confused me, because if I step down the aperture to f/5.6, is it actually setting the aperture to f/5.6 or f/2.8 (i.e., 1 stop below f/2)? Intuitive explanation for density of transformed variable? Suppose $X$ is a random variable with pdf $f_X(x)$. Then the random variable $Y=X^2$ has the pdf   $$f_Y(y)=\begin{cases}\frac{1}{2\sqrt{y}}\left(f_X(\sqrt{y})+f_X(-\sqrt{y})\right) &amp; y \ge 0 \\ 0 &amp; y \lt 0\end{cases}$$   I understand the calculus behind this. But I'm trying to think of a way to explain it to someone who doesn't know calculus. In particular, I'm trying to explain why the factor $\frac{1}{\sqrt{y}}$ appears out front. I'll take a stab at it:  Suppose $X$ has a Gaussian distribution. Almost all the weight of its pdf is between the values, say, $-3$ and $3.$ But that maps to 0 to 9 for $Y$. So, the heavy weight in the pdf for $X$ has been extended across a wider range of values in the transformation to $Y$. Thus, for $f_Y(y)$ to be a true pdf the extra heavy weight must be downweighted by the multiplicative factor $\frac{1}{\sqrt{y}}$  How does that sound?  If anyone can provide a better explanation of their own or link to one in a document or textbook I'd greatly appreciate it. I find this variable transformation example in several intro mathematical probability/stats books. But I never find an intuitive explanation with it :(