Looking for a simple script I can install on a password protected page that basically detects and display the viewers IP address.  So that when my client logs on the page to review a design mock up --I want a pop up dialog that displays his IP address to HIM, with maybe a message "Thank you. This IP Address Was Recorded" and an "OK" button to close the dialog box.    This way he's aware (or under the impression) his visit was "recorded".  Nice to have would be if it were actually recorded for me as well, maybe via an email message or in an IP log/time of visit text file (although that seems like it might be getting in over my head code wise)  The ABSOLUTE ULTIMATE solution would be also if I got notified real time when he accesses the password protected page.
I need to somehow retrieve the client's IP address using JavaScript; no server side code, not even SSI.  However, I'm not against using a free 3rd party script/service.
Cannot mount NTFS partition in Ubuntu 13.04 After I installed Ubuntu 13.04, I can't mount my NTFS partition.  Error mounting /dev/sda5 at /media/mrxfly/xFLyDiskData: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda5" "/media/mrxfly/xFLyDiskData"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Failed to mount '/dev/sda5': Operation not permitted The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option. $\lfloor x\rfloor + \lfloor y\rfloor \leq \lfloor x+y\rfloor$ for every pair of numbers of $x$ and $y$ Give a convincing argument that $\lfloor x\rfloor + \lfloor y\rfloor \leq \lfloor x+y\rfloor$ for every pair of numbers $x$ and $y$. Could someone please explain how to prove this? I attempted to say that the largest values that could be added to $x$ and $y$ is $0.99$ and that doing so still made $\lfloor x\rfloor + \lfloor y\rfloor &lt; \lfloor x+y\rfloor$. However, my answer was not accepted. Cannot vote to close immediately after edit If a sequence converges in a metric space, it is Cauchy, and in $\mathbb{R}^k$ every Cauchy sequence converges.   Therefore, in $\mathbb{R}^k$ a sequence converges iff it is Cauchy.  Let $\{s_n\}$ be a sequence in $\mathbb{R}$ where each $s_n=\sum_{k=1}^na_k$. Therefore, by the above, every series converges iff  $$\left | \sum_{k=m}^n a_k\right| &lt;\epsilon$$ For a given $\epsilon &gt;0$ and an integer $N$ such that $N\le m\le n$. If $n=m$ then the statement reduces to:  A series converges if and only if $$|a_n| &lt; \epsilon $$ For a given $\epsilon &gt;0$ and an integer $N$ such that $N\le n$.  This clearly cannot be (e.g Harmonic series). When does the equivalence become an implication. Label rows of a matrix by characters Syntax to add multiple commands to a single command block I am looking to try and set multiple commands in a single command block, but so far everything I have tried just returns "Unknown Command".  What is the format for writing multiple commands in a single command block in Minecraft 1.8?  Can I use either of the following:  Command:(command here) Command:(command here)     /command here; /command here;   Or is there another format? Is there any way to hide taskbar labels and not combine taskbar buttons? There are three options for customizing taskbar buttons in Windows 7:   Always combine, hide labels Combine when taskbar is full Never combine   Is there any way to hide labels and not combine taskbar buttons? Or even better, to exclude only certain applications from combining?  My main problem is that I switch a lot between two instances of a single application, and having to hover over combined icon and then choosing the correct one. Alt-Tabbing is not a good alternative when I'm switching between more than three applications; clicking on taskbar only once is what I'm looking for. I've got a custom loop that I'm using to display some Real Estate listings that will be available within 60 days. I'm calling it with the following function:   &lt;?php  $sixtydays = date('Y/m/d', strtotime('+60 days')); $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $query = new PostsOrderedByMetaQuery(array(   'post_type' =&gt; array('post', 'real-estate'),   'meta_key' =&gt; 'Time Available',   'meta_compare' =&gt; '&lt;=',   'meta_value' =&gt; $sixtydays,   'paged' =&gt; $paged,   'orderby_meta_key' =&gt; 'Price',   'orderby_order'    =&gt; 'ASC' )); ?&gt; &lt;?php while ($query-&gt;have_posts()) : $query-&gt;the_post(); ?&gt;   While the loop works great, I can't get it to paginate. It shows the first 10 (my default) posts but doesn't show the pagination. The only way to display all posts is to show them on one page by adding 'posts_per_page' =&gt; -1, I have similar loops on other pages that have no problem paginating. The only difference with this one is that there are two meta keys that are filtering the posts.   I'm using WP Page Navi for this and the rest of my pages. I'm closing the loop and adding the pagination using the following code:   &lt;?php endwhile; // End the loop. Whew. ?&gt; &lt;?php wp_pagenavi(); ?&gt; &lt;?php wp_reset_query(); ?&gt;   How can I go about fixing this? 'find' utility does not output all files when using wildcards Running:  $find . -name *.exe   gives:  ./MakeItSo_1.2.2/MakeItSo_1.2.2/MakeItSo.exe ./MakeItSo.exe   but those are not the only exe files in the directory. For example, running  $find . -name ATLTester.exe   gives:  ./Debug/ATLDmoVexaTester.exe "there doesn't seem" vs. "there don't seem" What are the blue dots next to App names in iOS and macOS? They disappear once you open the apps and then return to the home screen, but I can't tell what they indicate.  Are they apps that haven't been opened since an app update? Or that it thinks have never been opened (not accurate in my case, but that could be a function of a "restore" confusing the phone). Why does the sum of the reciprocals of factorials converge to $e$? I've been asked by some schoolmates why we have $$ \sum_{n=0}^\infty \frac{1}{n!}=e.$$ I couldn't say much besides that the $\Gamma$ function, analytic continuation of the factorial, is defined with an integral involving $e$. Then I also know that actually $$ \sum_{n=0}^\infty \frac{x^n}{n!}=e^x.$$ Is there a reason for these facts?  P.S. I added the tag "intuition", please remove it if you think it is not pertinent. Prove that the only prime triple is 3, 5, 7 Prove that the only prime triple is $3,5,7$.  I tried proving using this method: Multiplication of $3$ jumps back and forth between being an even and an odd number. Thus goes from odd to odd over an interval max size 6, and likewise from even to even. In either case these will have the following types: (even - odd - even - odd - even - odd) and (odd - even - odd - even - odd - even), with 3 being a multiple of the first instance in the combinations. In the both combinations, the first and fourth would be divisible by three, leaving only two possible primes left (two odd numbers). Thus the only triple prime can be a combination where three is considered a prime....  However, is this a formal proof? can anybody tell me how to do a proof for this questions? Projection is an open map Let $X$ and $Y$ be (any) topological spaces. Show that the projection  $\pi_1$ : $X\times Y\to X$   is an open map. Where can I find computer modern fonts for use in other programs, e.g. Adobe Illustrator? For some complicated diagrams, I need to use something like Adobe Illustrator or Inkscape, and would like to include nicely typeset labels. (I'm aware of post-processing solutions, such as pinlabel.) One way to do this is to use a closely-matching font, and then convert fonts to outlines. Better, however, would be to use Computer Modern directly in Illustrator.  Where can I find a Computer Modern font compatible with Adobe Illustrator? SQL Select Upcoming Birthdays I'm trying to write a stored procedure to select employees who have birthdays that are upcoming.    SELECT * FROM Employees WHERE Birthday &gt; @Today AND Birthday &lt; @Today + @NumDays  This will not work because the birth year is part of Birthday, so if my birthday was '09-18-1983' that will not fall between '09-18-2008' and '09-25-2008'.    Is there a way to ignore the year portion of date fields and just compare month/days?   This will be run every monday morning to alert managers of birthdays upcoming, so it possibly will span new years.    Here is the working solution that I ended up creating, thanks Kogus.    SELECT * FROM Employees  WHERE Cast(DATEDIFF(dd, birthdt, getDate()) / 365.25 as int)     - Cast(DATEDIFF(dd, birthdt, futureDate) / 365.25 as int)  &lt;&gt; 0 How to remove app which is greyed out, can't be deleted, won't open and doesn't appear in apps list? I have this app with a greyed out icon which I'm trying to delete.    I tap and hold, and it asks me if I want to delete it and its data. I confirm and nothing happens.  I try to open it and nothing happens.  I go to Settings>General>Usage and it's not in the list.  I reboot the device and it's still here.  Is there another way to force deletion of this (ghost) app? The Equation $11^x + 13^x + 17^x =19^x  $  Has    No Real Roots Only One Real Roots Exactly Two Real Roots  More than Two Real Roots    What I have done is   The function $f(x)=11^x + 13^x + 17^x -19^x  $ is strictly increasing and being always positive it have no roots In Avengers: Infinity War, up until Thanos      gets all six Stones   in order to use the Gauntlet he needs to close his fist, as we see in the fight scene on Titan.     Doctor Strange: "Don't let him close his fist!"   So why later does snapping work? Inverse metric in linearised gravity