Invalid MIT-MAGIC-COOKIE-1 key (gksudo:2984): Gtk-WARNING **: cannot open display: :0
Can't launch graphical apps from terminal after updating to 15.10
Default behavior of "git push" without a branch specified Is it possible to make my laptop's screen act as a second monitor for my desktop computer? I’ve always understood that the phrase two weeks usually turns into two weeks’ when used as a modifier as in   I’m giving my two weeks’ notice.  I get two weeks’ vacation. (“two weeks’ holiday” for Brits)   with an apostrophe on the word weeks’, indicating that the vacation “belongs” to the weeks.   One way to explain this is the phrase “two weeks of vacation” being contracted to “two weeks’ vacation” – the vacation is “of” the weeks; that is, it is possessed by them.  But I’ve seen a lot of people omit the apostrophe in casual writing, and thinking about it, it seems plausible that the noun vacation would be plainly modified by the adjectival phrase two weeks.  But on the other hand, shouldn’t adjectival phrases be hypenated, namely two-weeks vacation?  Yet that seems wrong, too: the hyphenate should be singular, two-week vacation (like two-tone shoes) because .   touches on this (and references a good ) but doesn’t explain why the plural must be possessive in this case.   suggests that two weeks might be adverbial rather than adjectival, and thus resists being used attributively. But that still doesn’t quite explain this particular muddle of pluralization, possession, and attribution.  Given all this, why should “two weeks vacation” be written “two weeks’ vacation” with a possessive apostrophe? How do I remove the LAMP stack so I can start over? I'd like to start over with my webserver and I'd like to reinstall all the LAMP packages, how do I do that? I have never had this problem before. But after seeing some questions posted on ELU, I started to doubt. I have been through links1, pages of grammar books2, a lot of questions3 posted here and ELU. I now still can't seem to understand how the past perfect is exactly used. The references sometimes even contradict each other.  What I had understood so far was      The past perfect is not necessary if we are not 'going back' to the earlier past, and simply moving from one event to another.   but I then saw a lot of other 'rules' including      If the sequence is clear, the past perfect is not needed.   which is slightly different, less 'narrow' and can be applied in more situations than the first ruleA, and      The past perfect is optional only when talking about an action at a specific time.   This is confusing. Can anyone here clarify things out please?    A For example, for  Doing the survey [completed] -&gt; Showing the result      We showed the result of the survey we did.      If the second rule is applied, the sentence above is fine (the sequence is clear), but not if the first rule since we are not moving from any event to the next and possibly even going back.    1  and   2 Practical English Usage (2005) by Michael Swan, Collins Cobuild Student's Grammar (1991). Upper-Intermediate Cutting Edge.  3 including , , ,  etc. I used exposure compensation when I take my shots and adjust it whenever it needs adjustments. Most of the time I shoot using Manual mode.  My problem is, when I'm out on a sunny day I can't judge whether my shot is overexposed or underexposed because the sun is too bright. Sometimes when I checked my viewfinder the image looks perfectly exposed to my eyes, but when I check it on my computer when I get home the images looks underexposed or overexposed. I tried to judge my shot's exposure using histogram, but still having a hard time. The only thing I understand about the histogram is that, the right side is the highlights and the left side is the shadow.  How do you judge whether the shot is overexposed or underexposed when you are out on a sunny day? I often see tutorials online that connect various commands with different symbols. For example:  command1 |  command2 command1 &amp;  command2 command1 || command2     command1 &amp;&amp; command2   Others seem to be connecting commands to files:  command1  &gt; file1 command1  &gt;&gt; file1   What are these things? What are they called? What do they do? Are there more of them?    . Normal distribution tail probability inequality I am trying to show that $$P(X&gt;t)\leq \frac{1}{2}e^\frac{-t^2}{2}$$ for $t&gt;0$ where $X$ is a standard normal random variable.  Perhaps this is simple.  I have been starting with  $$ \int_{t}^{\infty} \frac{1}{\sqrt{2\pi}} e^\frac{-x^2}{2}dx \leq \int_{t}^{\infty}\frac{x}{t}\frac{1}{\sqrt{2\pi}}e^\frac{-x^2}{2}dx = \frac{1}{t\sqrt{2\pi}}e^\frac{-t^2}{2}$$  but this is not what I want...I am looking for a much stronger inequality.   Any help in the direction of getting the $1/2$? how to use \input{file.tex} correctly? Suppose I have two latex files file1 and file2 with the same preamble and so on. Then I want to create a file called bigfile which just puts the two files together. This is not working for some reason. Therefore I first tried to include just file1, this is what I have done:  \documentclass .... %% same as file1 ... same preamble as file1 \begin{document} \input{file1} \end{document}   The result is that I not only get file1, but also the preamble and so on. This is my first experience with putting files together in 1 file. Kindly provide me a solution :) "Open With" dialog ignores my selection Resetting crontab file to default Roll back from OS X Mavericks ( or any newer OS) to Mountain Lion I installed the developer preview of OS X Mavericks, &amp; too many things broke. I can't stay on it &amp; need to roll back to Mountain Lion. Any ways of doing that? Please help!  I originally installed Mountain Lion &amp; Mavericks through the Mac App Store. How do you check the windows version in Win32 at runtime? How do you check the windows version in Win32 at runtime? Does a run scored on a tag out on a forced runner? The situation:   Runners at third and first, ball is hit to the second basemen, 2nd basemen goes to tag the runner out. Runner stops, runner on third scores and then 2nd basement tags the runner, does not step on base.Does the run count? Proving $\sum_{k=0}^n(-1)^k\binom nk=0$ Best way to include pdfs in an app Why $(a+d)(b+c)$ equals $-16$? If $a,b,c$ and $d$ satisfy the equations:$$a+7b+3c+5d=0$$$$8a+4b+6c+2d=-16$$$$2a+6b+4c+8d=16$$$$5a+3b+7c+d=-16$$ then $(a+d)(b+c)$ equals $-16$.   I can't understand why $(a+d)(b+c)$ equals $-16$? I am a software engineer but try to keep up with maths as I really enjoyed the subject at school. I just saw a great TED talk:   The talk states that the current largest known prime is $2^{57885161}-1$  This got me thinking - how does one actually prove whether a number this large is prime or not?  Is it just done by brute force via a computer algorithm or are there any well known mathematical techniques for doing so?  I would be really grateful for any pointers as I am eager to learn about these techniques (if they exist). How does one parse XML files? Is there a simple method of parsing XML files in C#? If so, what? How do I turn off the Minecraft 1.7.2 Super Secret Settings? How do I turn off the Minecraft 1.7.2 super secret settings? I tried F3 and F4, hitting Esc repeatedly, all things mentioned on blogs – nothing is working.