.on() on a set of  elements
How do I attach events to dynamic HTML elements with jQuery?
Converting from DMS to DD using Python in Field Calculator? How to Execute ShortCut From Command line in Windows 7 We came with a scenario where we have to use Shortcut file (.lnk), which is on the desktop, to execute an application for a headless device (i.e, without manual intervention).  Is there any way to execute it from Command prompt? Uk Visa Refused need guidelines etc,,, I am from Pakistan I applied for 4x Weeks UK family visit visa with my 6x years daughter and they refused, my refusal issue is same. I am going to quote my refusal letter.     You stated they you are employed with A----- company and Earning Rs. ____ per month in support of your application you have provided a latter from your employer. However  I am not satisfied that one document alone demonstrates that you have the employment status and earning claimed. You also state that your spouse is employer with ___ Company and Earning Rs. ____ per month in support of your application you have provided a latter from your employer However  I am not satisfied that one document alone demonstrates that you have the employment status and earning claimed with out further corroborating evidence. I note that you have declared no other personnel income, savings or assets. Based on the information provided i am not satisfied that your circumstances are as claimed and that you have demonstrated strong economic financial ties to Pakistan.  It is your responsibility to satisfy me that your circumstance in Pakistan are such that if granted leave to enter you will abide by all the conditions attached to any such leave and that you will leave the uk on completion of the proposed visit  but you have failed to do so. therefore I am not satisfied that  you are seeking a genuine visit or that you intend to leave the uk at the end of your visit  your application for visit visa has been refused  paragraph V4.2(a) and (c) I am not satisfied that you have sufficient funds to cover all reasonable costs in relation to your visit including the cost of your journey. any cost relating to dependents and the cost of any planned activities. your application for visit visa has been refused under paragraph V4.2(e).  ,,,   These objections and reasons are not as like they thinking I have my bank statement and transactions including Rs. 4 lac balance I have transactions of my salary in statement and my husband recently employed he is also have his salary transaction in the same statement because we both using our joint account.  I just want to go Uk and meet my family for 4x weeks and I am with my 6 years daughter my husband is not going with us due to his job.  Now please guide me should I go for Administration review and provide them my bank statement because my visa rejected on 26 July 2016 I still have time period for administration review OR I should reapply immediately to remove all these objections and give them more evidences I mean bank statement and our pay slips etc? Kindly guide me what to do which way will work.. Your quick help and guidelines will help me. Comma as decimal marker with siunitx (Spanish usage) I'm using siunitx to input some big numbers and units in my document.  Is there a way to make the output of \num{3.14} be "3,13" instead of "3.13"? In Spanish, we use the first one. Best way to determine if two path reference to same file in C# In the upcoming Java7, there is a  to check if two file object are same file reference.  Are there similar API provided in the .NET framework?  I've search it over MSDN but nothing enlighten me.  I want it simple but I don't want to compare by filename which will cause problems with hard/symbolic links and different style of path. (e.g. \\?\C:\, C:\).   What I going to do is just prevent duplicated file being drag and dropped to my linklist. prove $\sqrt{a_n b_n}$ and $\frac{1}{2}(a_n+b_n)$ have same limit How can I disable the Document Library drag and drop function? Before I start - I'm new to this SharePoint development lark and am slowly familiarising myself with it.  We're using SharePoint online and I have amended the SharePoint out-of-the-box document library to include some extra fields that are required when the user adds a new document.  If the user creates or uploads a new document then they are prompted to enter the required information. However if they use the drag and drop functionality the entry of the necessary fields is bypassed.  During my search I came across  which asks how to enforce metadata entry (which would be another good option for me). It also mentions disabling the drag and drop functionality by editing dragdrop.js and removing content from various methods.  I've had a look at the site collection I'm working on (to which I have full control) and I can't seem to find dragdrop.js (or the layouts folder for that matter).   Is this something that's held at site collection level or is it held at a higher level? I don't have admin rights above my site collection, do I need them? Do I need to use Visual Studio to make the necessary changes? (Currently I'm doing things through the web and having a bit of a play with Napa I don't have Visual Studio installed)  When I get there is it obvious what methods need to be removed? How can I tell SharePoint to use the new version of dragdrop.js? Is it just a case of saving a copy of the existing one to a different name and then editing the existing file?      I suppose the best place for me to have asked this question would probably have been on the existing post, but I am unable to post a comment on there, sorry... Is there any reason to use this-> When & why I need to use web.AllowUnsafeUpdates = true How to edit 'etc/hosts' file in non-rooted phone? I'm using LineageOS 14.1 and don't want nor need to root it. How can I remount /system rw and edit /system/etc/hosts?  All answers in "" expect a rooted phone. No Time in Top Panel (Gnome Classic) I've been using Ubuntu with Gnome Classic for a while and I've noticed recently that in the "Indicator Applet Complete" in the Top Panel, my name and the clock have disappeared.    I think it happened a while ago when I was messing around with packages. Every time I did apt-get... it would say "the following packages can be removed by apt-get autoremove", so I did it and then the clock and my name stopped appearing.   Can anyone help me? Thanks. It would be greatly appreciated. If $f$ is continuous, nonnegative on $[a, b]$, show that $\int_{a}^{b} f(x) dx = 0$ iff $f(x) = 0$  "$\Rightarrow$" Assume by contradiction that $f(x) \neq 0$ for some $x_0 \in [a, b]$. Without loss of generality, assume that $f(x_0) &gt; 0$. Since $f$ is continuous, $\exists \delta &gt; 0$ such that $f(x) &gt; 0,  \forall x \in (x_0 - \delta, x_0 + \delta)$. Since $f$ is continuous on $[a, b]$, then it is Riemann integrable. Therefore $\int_{a}^{b} f(x) dx = \sup L(f, p)$ for some partition $p$. Now what I want to do is to show that the lower sum, $L(f, p) &gt; 0$, in that case its supremum is $&gt;0$, and that contradicts the condition that $\int_{a}^{b} f(x) dx = 0$. However, I don't know how to articulate it.  "$\Leftarrow$" If $f(x) = 0, \forall x \in [a, b]$, then $\int_{a}^{b} f(x) dx = \int_{a}^{b} 0 dx = 0$ Two identical files; Apache says one is forbidden I'm currently reading documentation about map projections to understand the source code of the Proj4 project.  The scale factor is named in a variety of sources I read. This sources explained its definition and its value for some projections.   In the source code of Proj4, for the mercator projection (sphere and ellipse case), the scale factor influences the coordinates on the projection :   //P-&gt;k0 is the scale factor xy.x = P-&gt;k0 * lp.lam; xy.y = - P-&gt;k0 * log(pj_tsfn(lp.phi, sin(lp.phi), P-&gt;e));   Why and how I should use the scale factor during the computation of the projection ? Is there any valuable resources on the web ?  This question in asked in the sense of projection computation. I can find the formula for the inverse and forward projection as well as the scale factor in a various of resources, but no one explains how I should use both in a algorithm. You have the definition of the projection and the definition of the scale factor, but it's not clearly written that I should multiply or divide the result by the scale factor.   Is it a general rule : if I find the formula for any projection with the related scale factor, should I, in all cases, always divide or multiply the results by the scale factor ? "std::endl" vs "\n" Many C++ books contain example code like this...  std::cout &lt;&lt; "Test line" &lt;&lt; std::endl;   ...so I've always done that too. But I've seen a lot of code from working developers like this instead:  std::cout &lt;&lt; "Test line\n";   Is there a technical reason to prefer one over the other, or is it just a matter of coding style? Energy conservation of Virtual Particles - Quantum Fluctuation? I (as a middle-school student) was wondering how virtual particles even conserve energy of the entire system? I don't mean just the particle's energy, but conservation with respect to the surroundings?  Let me explain more, Einstein proved that $E = mc^2$ and equivalently, we can say $m = \frac{E}{c^2}$ . We however know mass causes curvature in space-time (gravity well). Now that statement being completely valid we can use Quantum Fluctuation, implying energy and time can be related by the relation:  $\Delta{E}\Delta{t}\approx\frac{\hbar}{2}$ and by that simple relation we can make the following points:   As the energy increases, the time allowed to be "borrowed" decreases, before it gives it back to the universe. As time increases, the energy allowed to be "borrowed" decreases.    These are completely satisfactory points I've made, I believe.  Now, I have read that the vacuum is filled with constantly bubbling virtual particles that get created from the energy "borrowed" by the above relation and is destroyed again, which satisfies the energy conservation laws.   This seems to imply that  in the short time the virtual particle exists, they must have a very small mass which is: $m_{1} = \frac{\Delta{E}}{c^2}$ and using basic classical mechanics rather than GR (for sake of simplicity) we calculate that the gravitational force mediated by this short-lived virtual particle;  $F_{g}= G\frac{m_1 * m_x}{r^2}$   where $m_x$ is an particle\mass in question. Nevertheless since we know the force set upon an object moves the object in a direction, we can say it would increase its kinetic energy by this factor: $F_g = \frac{1}{2}mv^2$ which is equal to $G\frac{m_1 * m_x}{r^2} = \frac{1}{2}mv^2$.  Surely, this implies that every time quantum fluctuations happen, energy of real-particles\masses increases and therefore violates energy conservation, but what prevents this violation from taking place?  If virtual particles are not really present and interact with objects like I thought, how can Hawking radiation (currently a large concept in black hole physics) then be accepted in physics community? broadcast receiver for missed call in android Same script opened in three different ways produces three different results. Why? I have a sample script (credit goes to ):  #!/bin/bash cat &lt;(cat /etc/lsb-release)   I save this script as somename.sh in my home directory.  Now, I try to open this file in three different ways:  sh somename.sh  bash somename.sh  ./somename.sh   So, I have two questions:   Why are the outputs for the above commands different though they are running the same script?   sh produces a Syntax error bash outputs the desired result ./ gives a Permission Denied error  Why is it necessary to give the script executable permission only when running the script using ./ and not necessary in the other cases?   Thanks in advance!  EDIT: The first part might be similar to the  linked one but, I did have a second question too. Is it possible to search for down voted questions? I want to search for new downvoted questions to improve or flag them.   I tried in the searchbar: votes:-1 is:question   but votes:XX only works with positive numbers. I can't query for downvoted questions. Is there a work-around to this? If there's not, should this feature be added? Extracting extension from filename in Python Is there a function to extract the extension from a filename?