Git reset single file in feature branch to be the same as in master
How can I reset or revert a file to a specific revision?
We are given with  $$S_n=\{(x,y)|x^2+y^2=n, \text{where }x,y,n \in \mathbb Z\text{ and }n\geq0  \}$$ Now observe that $-\sqrt n\leq x\leq\sqrt n $ and similarily, $-\sqrt n\leq y\leq\sqrt n $. This means that $-\left \lfloor{\sqrt n}\right \rfloor\leq x\leq \left \lfloor{\sqrt n}\right \rfloor$ and  $-\left \lfloor{\sqrt n}\right \rfloor\leq y\leq \left \lfloor{\sqrt n}\right \rfloor$. Through this result one can easily write code and figure out the cardinality of set $S_i$ but I was wondering whether an expression can be found that would allow one to directly compute $|S_i|$. Do Stack Overflow and other Stack Exchange sites have an app I can use? Interior product (contraction) symbol See the above excerpt from John Lee's Introduction to Smooth Manifolds. In differential topology and linear algebra, there's an operator called the interior product or contraction operator, denoted $\iota_X(\omega)$ or alternatively with some other "half box" like operator $X_|\omega$. Does anyone know how to markup that operator in LaTeX?   Google has turned up nothing except for this thread:   That thread did receive an accepted answer, which was \invneg from the MnSymbol package, but the suggestion given there does not seem correct to me. Or at least, it does not match what I'm familiar with. That answer results in an inverted negation symbol, whereas the contraction operator should have a stroke down at the floor of the line, and a long stroke going up almost the full height of the line. It can be found in many texts, but why can I not find the correct LaTeX markup? I have an ArrayList&lt;String&gt;, and I want to remove repeated strings from it. How can I do this? Bug in time of expiring bounty Noticed this many times but was too lazy to post.  So I see a message in my inbox that bounty is completed and now in grace period, however its title says that "bounty expiring soon"    Wonderful (not wonderful of course). I click it, and... guess what?    Ok. So 49 mins left. But the main problem is that time traveling is . (if it is not, please forbid it). "Switching" axes in 3d tikzpicture Overview  So say I want an arc between the x and z axis in the same way the following creates an arc between the x and y axis (MVCE):  \documentclass[border=5mm]{standalone} \usepackage{tikz} \begin{document}   \begin{tikzpicture}     \tikzset{       x={(0:1cm)},y={(50:0.7cm)},z={(90:1cm)}     }     \draw[-&gt;] (0,0,0) --++ (1,0,0) node[right]{$x$};     \draw[-&gt;] (0,0,0) --++ (0,1,0) node[right]{$y$};     \draw[-&gt;] (0,0,0) --++ (0,0,1) node[right]{$z$};     \draw (0,0,0) ++(0:.3) arc (0:90:.3);   \end{tikzpicture} \end{document}     One solution to this exact problem is to do scope and tell arc that the y-axis is the z-axis.      \begin{scope}       \tikzset{y=(90:1cm)}       \draw (0,0,0) ++(0:.3) arc (0:90:.3);     \end{scope}   The problem  However, I need this more generic since I don't necessarily know how the y-axis is defined, so I'm looking for a way to do, essentially this:      \begin{scope}       \switchYZAxes       \draw (0,0,0) ++(0:.3) arc (0:90:.3);     \end{scope}   or      \begin{scope}       \tikzset{y=\theZAxis}       \draw (0,0,0) ++(0:.3) arc (0:90:.3);     \end{scope}   The latter is problematic because it seems like I can't send polar coordinates to the \tikszet via a macro (which is the background for  question).  Any ideas? Thanks :) Error while updating debug log trace flag I am trying to update the debug log trace flag for my user but getting the following error     Having an active trace flag triggers debug logging. You have 259 MB of the maximum 250 MB of debug logs. Before you can edit trace flags, delete some debug logs.   I have removed all existing debug logs but it is still throwing the error. Why does $\lim\limits_{t\to-\infty}te^t=0$? Intuitively, $\lim\limits_{t\to -\infty}te^t=0$, since $e^t\to 0$ much faster than $t\to -\infty$.   Is there a way to more rigorously compute this? Writing it as $e^t/(1/t)$ seems resistant to l'Hopital's rule. Is the “sum of all natural numbers” unique? A while ago, there was a great hype about the “identity” $$\sum_{n=1}^{\infty} n = -\frac{1}{12}.$$  Apart from some series manipulations where the validity seems to be at least questionable, the derivation of this always goes through the zeta function:  Where the series converges, the zeta function is defined by $$\zeta(s) = \sum_{n=1}^{\infty}\frac{1}{n^s}$$ and outside that range by analytic continuation. And it turns out that inserting $s=-1$ formally results in $$\zeta(-1) = -\frac{1}{12} = \sum_{n=1}^\infty n$$  However looking at the series in isolation, there is no indication that the zeta function should be chosen.  An obvious way to get an analytic function that at one point gives the sum of all natural numbers is $$f(x) = \sum_{n=1}^{\infty} nx^n$$ at $x=1$, however (not surprisingly) that function diverges at $1$.  Therefore my question:     Is it possible to get another finite value for the series by analytic continuation of another series?   Concretely, do there exist continuous functions $f_1, f_2, f_3, \ldots$ such that   On some non-empty open subset $S$ of $\mathbb C$, $f(x)=\sum_{n=1}^\infty f_n(x)$ converges to an analytic function. At some point $x_0$, $f_n(x_0) = n$ for all positive integers $n$. The analytic continuation of $f$ is well defined and finite at $x_0$. $f(x_0) \ne -1/12$   What if we demand the functions $f_n$ to be analytic rather than just continuous? Where do you go for the 'nearest railroad' in Monopoly? In the American edition of Monopoly, there is a Chance card that says:  Advance token to nearest railroad Pay owner twice the rental to which he/she is entitled. If railroad is unowned, you may buy it from the bank.   However, is this the closest railroad, or the next one? If you are standing on the Chance spot in the light blues, do you go all around the board to Reading, which is the closest to you, or do you go to Pennsylvania, which is the first one you land on? After upgrading from Ubuntu 13.04 server, the www pages won't display themselves.     Error 403 Forbidden You don't have permission to access / on this server.   I've changed access control saves from apache2.2 to apache2.4, but that didn't work. What else could I do? Verify $\int\sec x\ dx=\frac12 \ln \left\lvert\frac{1+\sin x}{1-\sin x}\right\rvert + C$ I have not idea how to approach this differential equation.   $$y'-\int_0^xy(t)dt=2$$.  Basically, I did,  $$F''(t)-F(x)+F(0)=2 \;\;\;\;\;\;\; F'=y$$  I am stuck.  Thank You. TeXnicCenter & Adobe Reader DC How to configure TeXnicCenter to work with Adobe Reader DC? When I building and view current file .tex the following error "Can not execute the command" shows up and the PDF is not generated.    If there are any related post, could help. Thanks a lot! Words that mean ''to say something unintentional'' I am looking for words that mean ''to say something unintentionally'' I'm trying to delete some folder but this error is preventing from doing it:     Cannot delete [FileName]: It is being used by another person or program.      Close any programs that might be using the file and try again.   How can I identify what application is using the file?   I want to end the application using a Task Manager, but I didn't know what application is using it.  The folder is not shared and my user account is an administrator. Why won't this ocelot do anything but breed? Openshift application url: example.rhcloud.com  Custom domain: example.com  I came across this  and added the redirection rule. However, I can not access example.rhcloud.com now. My custom domain is www.example.com.  To avoid duplicate content problems, I tried this redirection.   Here is my .htaccess file:  RewriteEngine on   # Uncomment the following lines to force HTTPS #RewriteCond %{HTTP:X-Forwarded-Proto} !https  #RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R,L]   # WordPress Defaults RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]  # Redirect Https traffic to Http RewriteEngine on  RewriteCond %{SERVER_PORT} ^443$ [OR] RewriteCond %{HTTPS} on RewriteRule  ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]   # Redirect non-www to www RewriteEngine on  RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]    # Redirect openshift rhcloud domain to custom domain RewriteEngine on  RewriteCond %{HTTP_HOST} ^example.rhcloud.com$ RewriteRule (.*)$ http://www.example.com/$1 [R=301,L]   Why is example.com not redirecting to ww.example.com? How do I fix this?  Also, I see that since I have https to http redirection and non www to www redirection, my blog has been loading slow. How can I reduce it to lesser number of rules?  Edit:  In chrome:   In Firefox:     The page isn't redirecting properly, Firefox has detected that the server is redirecting the request for this address in a way that will never complete.     This problem can sometimes be caused by disabling or refusing to accept cookies. Find equation of a plane that passes through point and contains the intersection line of 2 other planes Find equation of a plane that passes through point P $(-1,4,2)$ that contains the intersection line of the planes  $$\begin{align*} 4x-y+z-2&amp;=0\\ 2x+y-2z-3&amp;=0 \end{align*}$$  Attempt: I found the the direction vector of the intersection line by taking the cross product of vectors normal to the known planes. I got $\langle 1,10,6\rangle$. Now, I need to find a vector normal to the plane I am looking for. To do that I need one more point on that plane. So how do I proceed? Why have view counters been modified?