Get application that is using a given file
How do I find out which process is locking a file using .NET?
I was reading a website where common English sentence errors are written -     INCORRECT - He doesn't know to swim.      CORRECT - He doesn't know how to swim.   I know He doesn't know how to swim is a correct sentence. But why is the other one wrong, is my question?  I know that know is a transitive verb. So, the following are correct -   i) He knows swimming.  Swimming is a gerund. We can also use the infinitive form here - to swim  ii) He knows to swim. I have a card that is 50% used with 7% interest. The max credit limit on the card is $10,000, and I used $5000. I have another card that is $14,000 and I have $2900 used, but the interest is 14.9%. I want to move the $2900 card to the other card that has a lower interest rate (7%). This will bring the balance close to the max, but the idea is to focus on this one card and bring the balance down as quickly as possible. is this a wise choice? I am looking to purchase a house in 6 months so I thought that this might be enough time to pay it off and keep my score up. My scores are currently in the low 700s. Why does Beamer's table of contents items link to the second slide in a section? When I include a table of contents in a Beamer slide show, each section entry in the TOC ends up linking to the second slide in that section. I would have expected it to link to the first slide. What am I doing wrong?:  \documentclass{beamer}  \begin{document} \begin{frame}{Test TOC}   \tableofcontents \end{frame}  \section{Section 1}  \begin{frame}   \frametitle{Test 1} \end{frame}  \begin{frame}   \frametitle{Test 2} \end{frame}  \end{document}   Just to clarify: when I click Section 1 in the TOC, it takes me to the slide Test 2.  UPDATE: I am actually not sure if it takes me to slide Test 2. When I click the link, the viewer (Evince and Okular) displays most of Test 2, but with a tiny strip of the slide Test 1 visible at the top of the window. I suspect that the viewer may treat the link as pointing to the very bottom of slide Test 1 and then aligns that with the top of the window. Could this be the explanation? Closing changes: [on hold], unclear, too broad, opinion-based, off-topic reasons, bye-bye to Too Localized Pipelined Sed does not work on found filename inside Bash command substitution when invoked from Find "-exec" It looks like 'find', 'bash' and 'sed' in some cases does not work as one expects.  The following example should first create file 'sample.txt', then find the file and finally process it by '-exec' command. The executed command prints found filename, test specimens, and modified filename. The 'sed' command itself is used to replace 'txt' to 'TXT'.  touch sample.txt find ./ -maxdepth 1 -name "*.txt" -exec echo {} $(echo Specimen_before.txt {} Specimen_after.txt |sed -e "s/txt/TXT/g") \;   The expected output is:     ./sample.txt Specimen_before.TXT ./sample.TXT Specimen_after.TXT   Instead it produces:     ./sample.txt Specimen_before.TXT ./sample.txt Specimen_after.TXT   (the example has been tested also with old-school command substitution through backquotes '`' with the same result)  What am I doing wrong? How to add a node in the middle of the line with tikz? actually it's an easy question, but I could find an answer with Google or the included search on StackExchange ;)  How do I add in the middle of the line a node with Tikz? I want somethink like this:  --------------&gt;      text   Normally I did it with an additional node at command. If I will resize the the arrow then I need to change the position of the node also.  ----------&gt;    text   Which is not the best way for big things. I try to find something in the manual and didn't find an answer yet.   Thanks.  Best regards. Main Reference + Appendix with "Other Sources" I need your help with references. I have 1 main reference section, and I want to include a second list of references as an appendix. For the main reference I use:  \newpage  \bibliographystyle{plainnat}  \bibliography{library}   The problem is that I don't know how to include the second list using a different bib file, and then calling the function \nocite{*} to show every sources inside the file.   I have the appendix part workout. I need your help to design the function to call the second bibliography, and that does't interfere with the main reference:   \newpage  \appendix  \section{Other Sources} \label{app:ReferencesB}   In addition, I will prefer that the word References is not shown after Other Sources.  Thank you so much!! PHP Session Security What are some guidelines for maintaining responsible session security with PHP?  There's information all over the web and it's about time it all landed in one place! Creating intuition about Laplace & Fourier transforms Countable additivity implies countable subadditivity? Suppose $\mu$ is a measure in a ring $R$ of a set $X$. So for any mutually disjoint subsets $A_1,A_2,\ldots$ such that $\sum_{i=1}^\infty A_i\in R$, we have that $\mu(\sum_{i=1}^\infty A_i) = \mu(A_1)+\mu(A_2)+\cdots$. (i.e. countable additivity)  I'm wondering: Does that imply countable subadditivity? I.e. for any subsets $A_1,A_2,\ldots$ such that $\sum_{i=1}^\infty A_i\in R$, is it always true that $\mu(\sum_{i=1}^\infty A_i)\le \mu(A_1)+\mu(A_2)+\cdots$?  I believe it should be true, because you can take the mutually disjoint subsets $A_1,A_2-A_1,A_3-(A_1\cup A_2),A_4-(A_1\cup A_2\cup A_3),\cdots$, each of which is in $R$ (because unions and differences of sets in $R$ are again in $R$), then apply countable additivity, then use monotonicity on the fact that $A_n-(A_1\cup\cdots\cup A_{n-1})\subseteq A_n$.  Is that right? I just want to make sure I didn't make any mistake in my logic. Do continuous linear functions between Banach spaces extend? Series as an integral (sophomore's dream) I need help with this exercise.  I need to prove $$\int_{0}^{1}x^{-x}\ dx=\sum_{n=1}^{\infty}n^{-n}$$  I think I should use some convergence theorem, but I'm stuck.  Thanks a lot! How to prove $D^n/S^{n-1}\cong S^n$? In my textbook it is said that the quotient space $D^n/S^{n-1}$ is homeomorphic to $S^n$. I can imagine it for $n=2$, but fail to make a mathematical proof for any dimension.  Can anyone provide a rigorous proof? I am unit testing a .NET application (.exe) that uses an app.config file to load configuration properties.  The unit test application itself does not have an app.config file.    When I try to unit test a method that utilizes any of the configuration properties, they return null.  I'm assuming this is because the unit test application is not going to load in the target application's app.config.  Is there a way to override this or do I have to write a script to copy the contents of the target app.config to a local app.config?     post kind-of asks this question but the author is really looking at it from a different angle than I am.  EDIT: I should mention that I'm using VS08 Team System for my unit tests. Remove a marker from a GoogleMap Is it possible to have several different views of one scene and set them as named "presets"? How to kill applications I have been playing around with Ubuntu installing new themes and and docks. Sometimes during the installation, whole screen just hangs. What is the best way in Ubuntu to Kill a process/application? Anything similar to Ctrl + Alt + Del of windows? I posted a question which was closed as off-topic and it seems like it could fit on another site in the network. How can I go about moving it there?   What is migration? When can a question be migrated, and who can migrate it? When should I consider migration, and when is it inappropriate? What causes a migration to be blocked and what happens after? What causes a migration to be rejected and what happens after? Anything else I should know about migration? Show $\sum\limits_{n=0}^{\infty}{2n \choose n}x^n=(1-4x)^{-1/2}$ How do you prove that $\sum\limits_{n=0}^{\infty}{2n \choose n}x^n=(1-4x)^{-1/2}$? I tried to identify the sum as a binomial series, but the $4$ and the $-1/2$ puzzle me. (This series arises in studying the first passage time of a simple random walk.) Expected value of x in a normal distribution, GIVEN that it is below a certain value