Looking for either word “ And ” or “ In ” with preceding and ending spaces, I can using following FINDSTR command:  findstr /r /c:” And ” /c:” In “ textfile  Is there a way to do similar search with only on /c parameter? I was hoping this parameter would work: /c:” (And|In) “
findstr /v "black"  File1.txt   Above DOS command will display content of 'File1.txt' which are not matching string "black".  How to modify this command , if I need to filter words "black" and "white" ?
Compile Views in ASP.NET MVC How does MySQL store data Capturing URL parameters in request.GET I am currently defining regular expressions in order to capture parameters in a URL, as described in the tutorial. How do I access parameters from the URL as part the HttpRequest object? My HttpRequest.GET currently returns an empty QueryDict object. I'd like to learn how to do this without a library, so I can get to know Django better. When should static_cast, dynamic_cast, const_cast and reinterpret_cast be used? Help with footer always to bottom Determinant of a $2\times 2$ block matrix I would like to know the proof for:  The determinant of the block matrix $$\begin{pmatrix} A &amp; B\\ C&amp; D\end{pmatrix}$$ equals $$(D-1) \det(A) + \det(A-BC) = (D+1) \det(A) - \det(A+BC)$$ when $A$ is a square matrix, $D$ is a scalar, $C$ is a row vector and $B$ is a column vector.  I appreciate your help. 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/ $\sum_{n=1}^\infty \log \frac{n+1}{n}$  $\sum_{n=1}^\infty \log \frac{n+1}{n}$ =  $\displaystyle\lim_{n \to{+}\infty}(\log2 - \log1)+(\log3-\log2)+...+(\log(n+1)-\log n)$=$\displaystyle\lim_{n \to{+}\infty}\log(n+1)\to \infty$. So, the series diverges.  Is my procedure correct? Where are some good places to find royalty free stock images? I'm always on the hunt for free stock images to use while I design, what are some good resources for images that are under a a royalty free or creative commons licence? Defaults to true.  If set to true replaces all instances of known swear words with replacements (comical or * based). If false renders the content as originally presented.  Benefits:    Reduces moderation requirements necessary to ensure that people behind corporate firewalls are not blocked by an errent swear word.   Stops idiots like me complaining about it. Equivalent definition of metric compatibility for a connection: what does $\nabla g$ mean? So the definition I know for metric compatibility is:  $$Xg(Y,Z)=g(\nabla_XY,Z)+g(Y,\nabla_XZ),$$   which make sense, as $g(Y,Z)$ is a smooth function from the manifold to reals and we think of $X$ as a derivation. So now I read this apparent equivalent definition that says $\nabla g=0$. Can someone explain what this means? How can I do $\nabla$ of $g$ I thought $g_p$ is an element of $T_p^*M\otimes T_p^*M$ at every point. Furthermore after you explain the meaning of this can you show me that these two definitions are indeed equivalent? Do an action and its Euler-Lagrange equations have the same symmetries? Assume a certain action $S$ with certain symmetries, from which according to the Lagrangian formalism, the equations of motion (EOM) of the system are the corresponding Euler-Lagrange equations.  Can it happen that the equations of motion derived by this procedure have different kinds and/or numbers of symmetries than the action one has started with? And if yes, are there underlying principles that state why which kind of symmetries the action does not have can emerge in corresponding EOMs or which kind of symmetries of the action can potentially disappear in the EOMs derived from the Euler-Lagrange equations? What's the analogue to spherical coordinates in $n$-dimensions? For example, for $n=2$ the analogue are polar coordinates $r,\theta$, which are related to the Cartesian coordinates $x_1,x_2$ by  $$x_1=r \cos  \theta$$ $$x_2=r \sin  \theta$$  For $n=3$, the analogue would be the ordinary spherical coordinates $r,\theta ,\varphi$, related to the Cartesian coordinates $x_1,x_2,x_3$ by  $$x_1=r \sin  \theta  \cos  \varphi$$ $$x_2=r \sin  \theta  \sin  \varphi$$ $$x_3=r \cos  \theta$$  So these are my questions: Is there an analogue, or several, to spherical coordinates in $n$-dimensions for $n&gt;3$? If there are such analogues, what are they and how are they related to the Cartesian coordinates? Thanks. How do I add a DOM element with jQuery? "Thus" vs. "Thusly" I read an article that used "thusly" and was wondering if there is any grammatical credence to it.   The :     The issue started when Sokolowski quickly ran out of storage capacity in his 32GB Surface after adding media files. After poking around, he realized that while the device has a 32GB drive, only 16GB of that capacity is available for users’ data. Thusly Microsoft is being sued for false advertisement, with the suit seeking class action status.   Is thusly an outmoded form of thus, or does it have a different meaning altogether? Best way to do multi-row insert in Oracle? I'm looking for a good way to perform multi-row inserts into an Oracle 9 database.  The following works in MySQL but doesn't seem to be supported in Oracle.  INSERT INTO TMP_DIM_EXCH_RT  (EXCH_WH_KEY,   EXCH_NAT_KEY,   EXCH_DATE, EXCH_RATE,   FROM_CURCY_CD,   TO_CURCY_CD,   EXCH_EFF_DATE,   EXCH_EFF_END_DATE,   EXCH_LAST_UPDATED_DATE)  VALUES     (1, 1, '28-AUG-2008', 109.49, 'USD', 'JPY', '28-AUG-2008', '28-AUG-2008', '28-AUG-2008'),     (2, 1, '28-AUG-2008', .54, 'USD', 'GBP', '28-AUG-2008', '28-AUG-2008', '28-AUG-2008'),     (3, 1, '28-AUG-2008', 1.05, 'USD', 'CAD', '28-AUG-2008', '28-AUG-2008', '28-AUG-2008'),     (4, 1, '28-AUG-2008', .68, 'USD', 'EUR', '28-AUG-2008', '28-AUG-2008', '28-AUG-2008'),     (5, 1, '28-AUG-2008', 1.16, 'USD', 'AUD', '28-AUG-2008', '28-AUG-2008', '28-AUG-2008'),     (6, 1, '28-AUG-2008', 7.81, 'USD', 'HKD', '28-AUG-2008', '28-AUG-2008', '28-AUG-2008'); Show that a norm on an inner product space satisfies parallelogram law. Hence use the parallelogram law to show that the space of continuous real functions defined on the interval $[a,b]$ is not a Hilbert space. Here I did the first part. Let $X$ be an inner product space and $x,y\in X$ consider $\Vert x+y\Vert ^2$ and $\Vert x-y\Vert ^2$ Then on adding I get $\Vert x+y\Vert ^2+\Vert x-y\Vert ^2=2(\Vert x\Vert ^2 +\Vert y\Vert ^2)$ For the second part I don’t know how can a parallelogram law prove $C[a,b]$ is not a Hilbert space, help me please. Find the volume inside the paraboloid $x^2+4z^2+8y=16$ and on the positive side of xz-plane No answer was given for this question, so wanted to confirm my answer. Steps followed for solving:  V=$4\int_0^2\int_0^{\sqrt{16-4z^2}}(2-\frac{x^2}{8}-\frac{z^2}{2})dxdz$  After solving this I got V = $8\pi$. Is this answer correct? Evaluating the infinite product $\prod\limits_{k=2}^\infty \left ( 1-\frac1{k^2}\right)$ Evaluate the infinite product $$\lim_{ n\rightarrow\infty }\prod_{k=2}^{n}\left ( 1-\frac{1}{k^2} \right ).$$  I can't see anything in this limit , so help me please. When is $2^n \pm 1$ a perfect power Is there an easy way of showing that $2^n \pm 1$ is never a perfect power, except for $2^3 + 1 = 3^2 $?  I know that   gives the result directly, but I'm hopefully for a more elementary method.    I can show that it is never a square, except for $2^3 + 1$.  Proof: Cases $n=1, 2, 3$ are easily dealt with. Henceforth, let $n\geq4$.  $2^n -1 \equiv 3 \pmod{4}$ hence is never a square.     If $2^n +1 =x^2$, then $2^n = (x-1)(x+1)$ and both of these are powers of 2. Thus we must have $(x-1) = 2, (x+1) = 4$. This gives the solution of $2^3 + 1 = 3^2$.    Let's now do an odd prime.  Say $2^n +1 = x^p$. Then $2^n = x^p - 1 = (x-1)(x^{p-1}+x^{p-2} + \ldots +1)$, so both terms are powers of 2. We have $ x = 2^m+1$ is odd. But the other term is the sum of $p$ odd numbers, hence is odd. Since this is clearly greater than 1, we get a contradiction.  Say $2^n -1 = x^p$. Then $2^n = x^p + 1 = (x+1)(x^{p-1} - x^{p-2} + \ldots -x +1 )$, so both terms are powers of 2. We have $x = 2^m -1$ is odd. But the other term is the sum of $p$ odd numbers, hence is odd. Since $x^p + 1 \neq x+1$ except for $p=1$, this means that the term is greater than 1. Hence we get a contradiction.