I found the above link which helped with my question but the above solution does not work in my situation.  is there a way to restart a pc if i am not able to ping an ip address and i recieve a message "destination host unreachable?"   when i run the batch file  ping 192.168.1.1 IF ERRORLEVEL 1 SHUTDOWN -R -T 00   everything works correctly if there is no internet activity. but when i disconnect my network and run the batch file i receive a message of "reply from x.x.x.x: desnation host unreachable. and the batch file does not work.  is there a way to make the batchfile command work with i recieve a message of "destination host unreachable"?
I have a media server (Windows 8) located in a very inconvenient part of my house. Occasionally I will have to reset my router or it will reset itself. The issue is the PC loses connectivity for some reason, and I am forced to walk outside, around the house, into the basement, over a bunch of toys and weights and boxes, to push a button to reboot it.  I would love to have it check itself every 5-10 minutes and auto reboot if it is unable to ping a given address/IP.  Any ideas how to accomplish this?
I was shooting the lighting of the city that is visible at the top of the trees if you shoot landscape.  No matter what I do, the image is blurry. What have i done:   ISO 100 Manual focus towards infinity Using a tripod Using really sharp prime &amp; good camera   Basically, everything I could. The only example i have is here, but it is not good, because image is underexposed:    The main question: Why can't night photographs be as sharp as daily photographs (with approperiate exposure times of course)? Custom question lists April status update Previous posts:                           After a long hiatus, a new Custom Question Lists update is out with a fresh new design.  What's shipped?  If you are participating in the Custom Question List alpha (by ), you'll see some brand new UI components when viewing question lists:  New tab bar and editor    Based on your feedback, we decided to rethink the whole UI, removing some confusing and redundant components, and bringing back some much loved pieces.  The new design is closer to "the existing question lists with advanced options" than "a radically new experience".  Huge shoutouts to our new designer, , for making this new design possible and to  for picking up development while I was on sabbatical!  Some important notes for existing testers:   The summary is back in its rightful place next to the tab bar.  If bounty or unanswered filters applied, the summary provides a clearer explanation of what you're looking at, inspired by /unanswered. The "Filter" and "Sort" popovers are gone. Sort was too similar to the existing tabs, and Filter was a form in a popover. (how were you supposed to submit or cancel?)  Now there's a dedicated UI for filtering. The complex "Create" and "Edit" modals are gone.  Now you just configure your list with the same UI as if you were filtering and click "Save filter" when you're ready to save. You can preview your changes before updating a filter.  Editing a saved filter and clicking apply shows you your new options while remembering what filter you were looking at.  You can then click "Save filter" to either update your existing filter or create a new one. We handle responsive better.  The tab bar has been set up so it compresses more naturally on narrower browsers and mobile devices.   New sidebar widget    A new right-sidebar widget has been added, similar to Watched Tags, to give you more direct access to your saved lists.  This is where indicators will live in Phase 3 (which I swear we are actually going to ship).  Please give it a try.  If you have any questions, bugs, or feedback, you can reply to this post directly or add a new question with the  tag.  A wider alpha  Since we're nearing launch, we're expanding the alpha out to the whole network.  So feel free to try this out on any site you frequent, to help suss out any site-specific issues.  What's next?  As always, Phase 3 of this project is adding indicators for new content, now in the right sidebar widget.  There's increasing interest in this feature from Enterprise, so I do really expect this to ship and get out of Alpha sooner rather than later and this time, I mean it. How can I check the available version of a package in the repositories? How can I check the version of the available package in the Ubuntu repositories without installing it? Blender 2.8 - How to access material nodes? How can I really disable the Cmd to Win key mapping in Parallels Desktop 5? Removed it from System Preferences &gt; Keyboard. No go. Remapped ⌘ Cmd to be Ctrl. No go. Ripping out the ⌘ Cmd key shouldn't be the solution. Anyone?... Is verbatim copying several paragraphs of text with citation considered plagiarism? Is it plagiarism if I copy several paragraphs from another's source (let's say a CS paper) into my work and then footnote Source: ..., for example, as background information? What is Quantization? So I am in an introductory linear algebra(with proofs) class, and I came across the following theorem:  If $S$ is a subspace of a vector space $V(F)$ and is generated by $\{a_1,...,a_n\}$ then any subset $\{b_1,...,b_m\}$ of $S$ with $m&gt;n$ is linearly dependent.   The proof in the textbook is done through induction (as most proofs regarding finite sets are) but I really do not follow it and I feel there is a simpler way of doing it. A hint would be appreciated. php loop through json array I have a Samsung Galaxy S5 duos with stock Android Marshmallow, and I'm considering encrypting my SD card to prevent access to its contents in case I lose my phone. The main reason of not doing this is that I'm not sure if there's a way to mount an encrypted SD card on Windows (or other desktop OS's)   When I encrypt the SD card on my Samsung Galaxy S5, is it using a known implementation of encryption, or is it something that only works on Android (or perhaps Samsung) phones?   I do not want to use USB connection to my phone to access my SD card, it's terrible. Mounting the SD card is much easier and faster and less annoying.   EDIT: just to clarify, I am NOT talking about adoptable storage. I want a portable encrypted SD card that can both be read on PCs and Android phones (i.e. I want to be able to remove the SD card from my phone, plug it into my PC, provide a password to decrypt and read/write it like any other SD card) How do I sudo a command in a script without being asked for a password? Divergent infinite series $n!e^n/n^n$ - simpler proof of divergence? $$ \sum_{n=1}^\infty \frac{n!e^n}{n^n} $$ Where $e$ is Euler's number.  Recently on calculus class we were covering convergence tests and my group got stuck with this infinite series. Our calculus teacher told us that it diverges but he doesn't see any elementary way or simple test to prove it. He told us something about Euler's Gamma function and said that he knows it diverges because of Stirling's formula but this is not quite our level yet.  I tried to think about it myself but I established only that this  is some kind of an edge case. We could generalize the problem to series of $\frac{n!a^n}{n^n}$. Then, from the ratio test we know that it converges for $a &lt;e$ and diverges for $a&gt;e$. For $a=e$ the test is inconclusive. I've also tried to compare it with various divergent series, but nothing worked...  Does anybody have any idea for a simple solution? "provide" vs. "provide with" I am wondering if the following sentence is correct:     We add the information their study provides with to our article.   The context is: their study provides with some information. And we add the information to our article.  I want to keep the word "add", and someone told me that "provides with to" sounds wired... Recently, I was doing my homework and I found out that Torque can be calculated using $\tau = rF$. This means the units of torque are Newton meters. Work &amp; Energy are also measured in Newton meters which are Joules.  However, torque isn't a measure of energy. I am really confused as why it isn't measured in Joules. Find all n such that $\phi(n) = n/2$ My idea for the solution is something like this:  Since $2 | n$, $n = 2^a p_1^{e1} p_2^{e2} \cdots p_t^{et}$ where $a \geq 1$.  Then, $n/2 = \phi(2^a) \phi(p_1^{e1}) \phi(p_2^{e2}) \cdots \phi(p_t^{et})$.  Looking at the case that $t = 0$,  $n/2 = \phi(2^a) = 2^{a-1}$, and therefore $n = 2^a$.  Otherwise, $n = 2^a \phi(p_1^{e1}) \phi(p_2^{e2}) \cdots \phi(p_t^{et}) = n = 2^a p_1^{e1} p_2^{e2} \cdots p_t^{et}$. Since $\phi(n) &lt; n$, this is a contradiction, and therefore, the only $n$'s that apply are the powers of 2.  Is this right? Also, we were asked to find $n$ such that $\phi(n) = n/3$. How would I go about that one? Proof that $\cos(\pi/3)=1/2$ Is it possible to prove that $\cos(\pi/3)=1/2$ without using any trigonometric identities?  To be specific, my calculus-book simply states that with an angle of $\pi/3$ on the unit-circle the points (0,0) and (1,0) are the vertices of an equilateral triangle with edge length 1. But how can one reach such conclusion?  Thanks! How can I withdraw my paper from a fake conference? Run Ubuntu ISO live image from Windows BIOS - no USB or DVD Show that every monotonic increasing and bounded sequence is Cauchy. Randomly populating procedural shape (or Image Texture) in Cycles