I'm trying to install FastTree in Ubuntu, but I forgot my user password. How do I reset my lost administrative password? The Linux way is not an option since I am on WSL in Windows 10.
I have installed Linux Bash on Windows 10 (available from Microsoft), but I've forgotten my password.  I've searched for a solution but I only find suggestions that involve doing something before the system boots, like accessing recovery mode, but that will not work in this case as this Ubuntu is just an application within a Windows system and doesn't have its own boot process.  How can I reset my password?
What's the best way to take a segment out of a text file? What's a good way of extracting say, lines 20 -45 out of a huge text file. Non-interactively of course! Isomorphism between two models of Hilbert's Axioms with different notions of congruence How can I bypass Activation Lock? I bought a used iPhone 4.  The previous owner re-set the phone, but did not remove the device from their iCloud.  It is asking me for their iCloud information when I try to set-up the phone.  I don't have contact with the previous owner anymore.  Is there a way to remove the device from their iCloud so I can use a new one? How can people teleport through forcefields in Star Trek? Occasionally, people have been able to teleport through a forcefield in Star Trek. Was there ever a consistent explanation for this?  I'd previously assumed a forcefield was like a solid wall. Or do they have gaps? As a bulk sender, is there a way to make Gmail show my avatar?    I would like to obtain this without creating a Google Account.  Maybe embedding my vCard? Or maybe ? In an Econometrics - Time Series textbook (Hamilton), I saw the claim, without proof: Consider the sequence $ \psi_j $, then, for $ x &gt; j $, $ \frac1j &gt; \frac1x $, and therefore: $$  \frac1j &gt; \int_{j}^{j+1} \frac1x dx $$ for $x$ &gt; $j$. When I plug in numbers for $j$, I see that this is indeed satisfied. But I'd like to know the intuition behind this or a proof. What are the best practices for battery longevity? How do you maximize the cycle count of your battery?  There seems to be a debate between:   Leave plugged in 24/7 but do a full cycle once a month Charge to ~100%, drain to ~10%, repeat.   NOTE: Taking your   Which method is better and why? How much of a difference does it really make?  Here are some of the better sources I've found about battery behavior so far. Even still I feel they don't conclusively answer the question above. See my elaborations below:           Elaborating on Option 1  Now IF Apple engineers were smart and optimized for AC draw when plugged in to not use up your charge cycles, then it seem logical to assume that you are using effectively none of your 1000 charge cycles while plugged in. If that's the case, it would seem that the LiPo drop from holding at 100% would be vastly outweighed by the fact you're not using any charge cycles.  However, this is a purely speculative assumption and I could find no evidence to either confirm or deny.  If this is NOT true, and the AC adapter only goes to charging the battery, then there would be no difference. Your battery would drain to 99%, then back up to 100%, then back down to 99%, etc. Those micro-charge cycles would add up at the same rate as 100% -> 0% -> 100%, and you would get no gain. In this case the negative effect of holding LiPo batteries at 100% would outweigh everything else.  Elaborating on Option 2  There are lots of good reasons why Option 2 is the way it is:   Because of known LiPo chemistry issues, holding a 100% charge for a long time causes the battery to degrade Apple specifically recommends not to leave it plugged in all the time  Draining a battery all the way to zero all the time is bad for the cell (Which is why ~10% is used) Heat is a killer, and when plugged in AND charging, you get extra heat that causes damage.   There are a couple reasons why I'm challenging Option 2:   It seems silly that the most intuitive use case for thousands of people that use their macs as primary computers is wrong. If the hypothesis in option 1 is true, you're just burning unnecessarily through your finite charge cycles. It's a pain to have to remember to keep plugging in and plugging out and be worried about whether or not your device is plugged in. Understanding backtick (`) Question Close Updates Transit in LA after 90 days in North America under VWP/ESTA I am from NZ and have spent 90 days in the USA with an ESTA visa waiver, and I am going to Canada before returning to NZ. My return flight is from LA but I have already used my 90 days of my ESTA and have not technically 'left' North America (Canada apparently doesn't count). My question is, how do I catch my return flight from LA? Can I get another ESTA even though I haven't left North America? Cause of Alpha or Black Artefacts in Render How do I remove an element from a list by index in Python?  I found the list.remove method, but say I want to remove the last element, how do I do this? It seems like the default remove searches the list, but I don't want any search to be performed. What is the command that lets me see what and where devices are mounted?  I'm having trouble changing songs on my old iPod, and I have a feeling it's because of the mount point. Preview on mobile page I suggest a preview on the mobile page. For questions, answers and edits to both, like on the desktop page.  I messed up formatting often enough to be annoyed that there is no preview on the mobile page and I'm surprised that noone suggested it before (at least I didn't find anything).  If it's too performance heavy to have a live preview update after every change in the text box, there could be a preview button next to the save button which leads to a page with only the preview, a back button and a save button (and the title bar and so on). Let $T : V \rightarrow V$ be a linear operator. If $T^n = O_V$ for some $n \ge 1$, prove that $I_V + T$ is an isomorphism. I think I'm supposed to prove that both $T$ and $I_V$ are isomorphic, but I'm not sure and even if that's the right way to go, how am I supposed to prove that $I_V$ is isomorphic. Or am I going about this all wrong. Please help. Why square the difference instead of taking the absolute value in standard deviation? I'm trying to create a pmatrix whose components are rather complicated fractions (Christoffel symbols), and the line spacing is too small making the whole thing a bit cramped and hard to read.  Is there any easy way to increase the spacing (about 1.5 the default would be perfect)? Values of $\sum_{n=0}^\infty x^n$ and $\sum_{n=0}^N x^n$ Why does the following hold:  \begin{equation*} \displaystyle \sum\limits_{n=0}^{\infty} 0.7^n=\frac{1}{1-0.7} = 10/3\quad ? \end{equation*}  Can we generalize the above to      $\displaystyle \sum_{n=0}^{\infty} x^n = \frac{1}{1-x}$ ?   Are there some values of $x$ for which the above formula is invalid?  What about if we take only a finite number of terms? Is there a simpler formula?     $\displaystyle \sum_{n=0}^{N} x^n$   Is there a name for such a sequence?    This is being repurposed in an effort to cut down on duplicates, see here: Coping with  duplicate questions.  and here: . Running Windows 7  I'm trying to boost the startup speed of my computer and I'm going through "msconfig" and "services.msc" to disable some applications from starting up automatically when the computer turns on.  There are some good sites that document the entries found in the "Processes" tab of the task manager.  You can find out if they are safe to kill, who the manufacturer is, and what the process in question is used  for.  Are there any sites that list startup processes &amp;| services that are safe to kill?  For example, there is an entry in msconfig that just says "Computer Browser" - pretty vague, but seems like something to not kill.  On the other hand, there is an entry in msconfig that says "Extensible Authentication Protocol" - pretty specific and seems like it shouldn't be killed, but how can I know for sure?  Does anyone know if there are any websites documenting the "killable" items listed in both msconfig &amp; services.msc? With regard to the theory that each time a wave function collapses the universe  so that each possible outcome really exists - where does all the energy required to create all the new universes come from?