Functions only apply to the last div using .each function
Event binding on dynamically created elements?
History substitution fails when implemented in shell script The below command works in command line  rsync -avh -r /Source/09_03_2016/ /Destination/ echo $(basename !:3)      Output 09_03_2016   But when I do this in shell script it does not work  #! /bin/bash  /usr/bin/rsync -avh -r /Source/09_03_2016 /Destination/; echo $(basename !:3)      Output  !:3 How do function pointers in C work? Why is my ASCII art all wonky? Nothing looks right in the ASCII art.  It looks wrong and nothing is proportional, how do I fix this? I have tried fiddling with my font size, but nothing still looks right! Look at  edit. I didn't really expect that I would able to suggest adding  tag, but I could!  How is it possible? (seems that usual users can add mod-only tags without moderator help!)  Edit  Oded removed  back :-( "One of the children who was" vs. "one of the children who were" In the construction "one of the [plural noun] who ...", should the verb agree with "one" or "[plural noun]"?   For example, which of the two following sentences is grammatically correct? Or are both acceptable?        She was one of the several children who was sold at the auction    She was one of the several children who were sold at the auction. How to analyze lightly varying senses of adjective *very* Use of very as an adjective is (in my experience) most frequently attested in phrases like     ...the very person I was looking for.   To use adjective very with the indefinite article sounds quite bizarre in this case:     ?...a very person I was looking for.   But consider this sentence, where indefinite a is used:     Visualizing a very transformation of the master-slave relation, Thomas presses further: the slave is brother to the master, even doubly a brother.   OED treats the two uses as separate senses of the word, with the following definitions:           (first use):&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;With limitation (usually expressed by the or a possessive) to particular instances      (second use): Really or truly entitled to the name or designation   Here are two respective examples quoted in OED:     What would you say to me now, and I were your verie, verie Rosalind? (1616)   Thence we went into Queen Mary's room, and saw that beautiful portrait—that very queen and very woman. (1857)   Clearly, the difference in meaning between the two senses is quite light, and it seems to me like a kind of difference which is recurrent enough to have its own term. What is the proper term? Are there other English words having similarly related pairs of senses? And lastly, is OED jumping the gun in treating these as two senses? Could the difference in meaning instead be due to the choice of determiner? Why are two permutations conjugate iff they have the same cycle structure? I'm using the listings package with this \begin command:  \begin{lstlisting}[caption=blabla, label=amb]   This yields a nice code listing with a caption like "Listing 1.1 blabla". Is there a way to change the caption and have something like "Code 1.1 blabla"?  I saw the title command but it doesn't use a numbering system. Any hint will be greatly appreciated! There seems to be some bug where mac os is constantly contacting . You can prevent it by turning off the wifi, but then your computer is nothing more than a fancy calculator. Is there a program, vpn, or even the firewall option, to block this site from the whole os? Possible Duplicate:          I have tried using \text{\~{}} to draw a tilde in math mode. However, this only produces a superscript tilde.  I have looked around at many pages such as this one:   and surprisingly, I can't find where to draw a tilde in math mode (not under or above a character - just a single tilde character). If I just use ~, then nothing appears. Tail sum for expectation In , the tail sum formula for expectation is introduced for a nonnegative (0,1,...) discrete random variable $X$:  $$E(X) = \sum_{i=0}^\infty P(X &gt; i).$$   I wonder if there is a similar formula for nonnegative continuous random variable $X$:  $$E(X) = \int_0^\infty P(X &gt; x) dx?$$  If no, are there some conditions for it to hold? And how can it be proved?  Here is my thought:  If the cdf $F$ of $X$ is bijective, then $X=F^{-1}(U)$ for some random variable $U$ uniformly distributed over $[0,1)$. So $$E(X) =     \int_0^1 F^{-1}(u) du.$$  To prove the tail sum formula, it suffices to prove $$\int_0^1     F^{-1}(u) du = \int_0^\infty P(X &gt; x) dx.$$ But I am stuck here.   What's more, is the condition that the cdf $F$ of $X$ is bijective really necessary for tail sum formula to hold? Can tail sum formula be generalized to a random variable that is not necessarily nonnegative?   Thanks! Does time pass fastest in isolated, resting space? While it is fairly established that both fast movement and the presence of gravity make time pass slower as compared to a system at rest / free of gravity, does that mean that there is no way for time to pass faster than in vacuum, or does general relativity also have "faster" metrics?  To be more precise, is there any frame into which one could go for a while, and on returning to vacuum less time would have passed there? Why $\sqrt{-1 \cdot {-1}} \neq \sqrt{-1}^2$? I know there must be something unmathematical in the following but I don't know where it is: \begin{align} \sqrt{-1} &amp;= i \\\\\ \frac1{\sqrt{-1}} &amp;= \frac1i \\\\  \frac{\sqrt1}{\sqrt{-1}} &amp;= \frac1i \\\\  \sqrt{\frac1{-1}} &amp;= \frac1i \\\\  \sqrt{\frac{-1}1} &amp;= \frac1i \\\\  \sqrt{-1} &amp;= \frac1i \\\\  i &amp;= \frac1i \\\\  i^2 &amp;= 1 \\\\  -1 &amp;= 1 \quad !!? \end{align} Do cards with abilities that target trigger heroic? What is the point of the `cd` external command? Launcher Icons disappear How to correctly add a path to PATH? I'm wondering where a new path has to be added to the PATH environment variable. I know this can be accomplished by editing .bashrc (for example), but it's not clear how to do this.  This way:  export PATH=~/opt/bin:$PATH   or this?    export PATH=$PATH:~/opt/bin ON creating BITMAP INDEX on a table in mysql throws error I have database named "demo_dev" and added a table named "countries".  I wanted to create a bitmap index on a column, say, region as it has fewer unique values, using following query.   CREATE BITMAP INDEX ON countries (region);   It threw an error as shown below:     You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'BITMAP INDEX ON countries (region)'   What shoud be done for it to run successfully?  I just refered the following link :   mysql version : 5.5 Does it make sense to Favourite a Question you created? Is this just a redundant act, or are there differences? Recent file in Macbook Air I am not a very techie girl. I used my brother's macbook air and saw some of his personal things which I should haven't. And I realised that he could see that in recents. How to delete them? After surfing a lot, I got to know about the recent files stored in plist in preferences, by the name com.apple.recentfiles.plist or LSSharedfiles.plist but I couldn't find a file/plist named above. Kindly help! As mentioned above it is macbook air and again I do not know much :(