How can I make a Git commit that inverts a previous commit?
Undo a particular commit in Git that's been pushed to remote repos
Why are there $1 / 1.602176634 \times 10^{-19}$ electrons in a coulomb? Why that exact number of electrons in one coulomb? who decided it? there is nothing wrong with the number, it just seems slightly messy. Why didn't the scientific community just settle on an easier number, such as $1\times10^{-19}$ for example? Java Round up Any Number I am a bit financially strapped and received a Gateway GT5056 tower. The tower has an AMD dual core 64-bit processor in it. Will Ubuntu 12.04 run on this machine? I will not have any other application other than LibreOffice installed. This is Ubuntu server 10.04 64 and samba 3.4.7.  I have a shared directory /home/mit/share and another one /home/temp that I link into the shared one:  ln -s /home/temp /home/mit/share/temp   But on windows, after using internet, I cannot open S:/temp, but on Linux it is possible to access /home/mit/share/temp like expected.   This works if I link directories inside /home/mit/share/temp, so I guess samba is restricting to jump with a link outside/above the shared directory.   EDIT:  See also this question titled .  It seems best to put unix extensions = no into the global section and follow symlinks = yes and wide links = yes only into the shares section, where you really need it.  The unix extension flag has to live in the global section and not in the individual shares sections. But for security reasons it is better to use the other options only where you need it, and not globally. How can I get a new browser session when opening a new tab or window on Firefox/Chrome? When opening new Internet Explorer window, a new browser session is issued. Therefore you can login with two different accounts on the same service (let's say ). The same does not apply when opening a new tab in the same window in Internet&nbsp;Explorer.  How can I get a new browser session when opening a new tab or window on Firefox?  How about Google Chrome? Difference between I and Me I am quite confused with the usage of I and me, Can anybody tell me what should be used in the following sentence: Your husband doesn't believe that You're older than (I / Me). What are the left and right ideals of matrix ring? How about the two sided ideals? How did Sauron remain in control of the Nazgûl? The One Ring gave Sauron control of the Nine, yet when it was taken from him he still possessed the power to control them (or, at least he regained it towards the end of the third age).  Why is this?   mentions that he drew the Nine to him, but not how. Why are floating point numbers inaccurate? When Cantor's Intersection theorem won't work with closed sets Give an example to show that Cantor's Intersection Theorem would not be true if compact sets were replaced by closed sets.    Compact set is closed and bounded, so what I'm going to find is something that is closed but not bounded.  By the Cantor theorem, which says that a decreasing sequence of non-empty compact subset will have a non-empty intersection.  What I was trying to approach is how two sets just "touched" and as if they have not bounded, two sets "touched" nothing. But I cant give an example for that How can I do a full shutdown of windows 10 without logging in? I have a computer with both Windows 10 and Ubuntu 17.04 installed on it. I can't log in to Windows, and think it's a problem with the registry. Luckily, there is a way to restore the registry from backup from Ubuntu, but you have to be able to modify files on the Windows partition. Right now, I can't write to the NTFS partition because Windows didn't do a full shutdown.  How can I force windows 10 to do a full shutdown without being able to log in? Show that for any $k$-cycle $(a_1 a_2...a_k) \in S_n$, and for any permutation $\pi \in S_n$, $\pi(a_1...a_k)\pi^{-1}=(\pi(a_1)..\pi(a_k))$ Suppose I define a new theorem "Theorem" and declare that its counter should be reset whenever the subsection counter is incremented or reset:  \newtheorem{theorem}{Theorem}[subsection]   At some point in my (article) document I start a new \section (say, section 2) without starting a \subsection. I expect the first theorem in this section to be numbered with "2.0.1" (which may be considered bad style). However, the theorem is numbered "2.0.2".  Is this "by design" (technically, I didn't start a new \subsection) or a bug? Moreover, what would be a proper workaround? (Such a workaround should not involve manually resetting the theorem counter, and it should work for whatever theorem type I may define in addition to "Theorem".)  \documentclass{article}  \newtheorem{theorem}{Theorem}[subsection]  \begin{document}  \section{bla}  \subsection{blubb}  \begin{theorem} Some text. \end{theorem}  \subsection{foo}  \begin{theorem} Some text. \end{theorem}  \section{bar}  \begin{theorem} Some text. \end{theorem}  \end{document}   EDIT: In response to Seamus' comment: The unexpected counter value also occurs with amsthm and ntheorem. What is the purpose of the Assemblies node in Web.Config? When creating a new ASP.NET AJAX Web Application in Visual Studio 2005, the default web.config contains the following section (inside the compilation node):  &lt;assemblies&gt;     &lt;add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/&gt; &lt;/assemblies&gt;   Whether or not the assemblies node exists doesn't seem to affect the AJAX functionality.  Update panels, etc work fine regardless of whether or not the reference to System.Web.Extensions is included in Web.Config.  What's the purpose of this section, and can it be safely removed? Centering \vdots in a system of many equations I have a system of equations with an arbitrary number of equations (k). I'd like to use \vdots to compactly describe the system, like so:  \begin{align*}   R(-1) &amp;= \sum_{i=1}^m A(i)R(i-1) \\   R(-2) &amp;= \sum_{i=1}^m A(i)R(i-2) \\         &amp;\vdots                    \\   R(-k) &amp;= \sum_{i=1}^m A(i)R(i-k) \end{align*}     I'd like the dots, however, to be centered with = or the entire equation. Is there an elegant way of centering a column or row with AMSMath? I'm currently using an unholy combination of whitespace operators (\; \, etc.) to get the job done. to set start Thunderbird in minimized mode at startup, but it wasn't helpful.   After following the instructions, I could not even start Thunderbird. So I was forced to start TB in safe mode to delete the "FireTray Plugin" and fix this issue. After that it started to work but it deleted all my email accounts and I had to do that chore all over again .  So is there any working way to start Thunderbird minimized on start-up? Where can I find 32-bit version of Ubuntu? I need to find the 32-bit version, and all I keep finding is the 64-bit. Can anyone provide me with a link? Log4Net "Could not find schema information" messages What it's the best way to generate a string of \t's in C#  I am learning C# and experimenting with different ways of saying the same thing.    Tabs(uint t) is a function that returns a string with t amount of \t's  For example Tabs(3) returns "\t\t\t"  Which of these three ways of implementing Tabs(uint numTabs) is best?  Of course that depends on what "best" means.     The LINQ version is only two lines, which is nice.  But are the calls to Repeat and Aggregate unnecessarily time/resource consuming? The StringBuilder version is very clear but is the StringBuilder class somehow slower? The string version is basic, which means it is easy to understand.   Does it not matter at all?  Are they all equal?   These are all questions to help me get a better feel for C#.     private string Tabs(uint numTabs) {     IEnumerable&lt;string&gt; tabs = Enumerable.Repeat("\t", (int) numTabs);     return (numTabs &gt; 0) ? tabs.Aggregate((sum, next) =&gt; sum + next) : "";  }    private string Tabs(uint numTabs) {     StringBuilder sb = new StringBuilder();     for (uint i = 0; i &lt; numTabs; i++)         sb.Append("\t");      return sb.ToString(); }    private string Tabs(uint numTabs) {     string output = "";     for (uint i = 0; i &lt; numTabs; i++)     {         output += '\t';     }     return output;  } How do I configure Apache 2 to run Perl CGI scripts? I would like to configure Apache 2 running on Kubuntu to execute Perl CGI scripts. I've tried some steps that I came across by googling, but nothing seems to work.  What is the right way of achieving this?