Dual-boot bootrec /fixboot issues while uninstalling Ubuntu
Uninstalling Ubuntu from dual boot / changing bootloader
Can't pair apple wireless keyboard Keyboard: Apple Wireless Keyboard (model number MC184LL/B)  System: Macbook Pro Early 2011 running OS X 10.8  The keyboard gets detected and when I try to pair it, the system asks to enter some numbers through the keyboard.   However when I press the key (on the wireless keyboard) nothing happens, the only key that seems to work (i.e. to move to the next key in the code) is 0. I can also press enter to confirm but it always fails (since the only code I can enter is 0000...0).   I've also tried pairing from the bluetooth preference and changing the passcode option. However this won't work either.   Any ideas? The keyboard was paired with another MacBook Pro (I don't have access to it anymore). Is there any method to 'reset' the keyboard to factory settings? What is "pure energy" in matter-antimatter annihilation made of? I used to read the term "pure energy" in the context of matter-antimatter annihilation.  Is the "pure energy" spoken of photons? Is it some form of heat?  Some kind of particles with mass?   Basically, what does "pure energy" in the context of matter-antimatter annihilation refer to? How to appeal to undelete an answer deleted by moderator? How can someone make an appeal to un-delete an answer that was deleted by a moderator?    There should at least be an appeal/vote process, if the deletion was unfair. Moderators are humans like rest of us, and they can be unjust. could you help me on this integral ? $$\int \frac{1}{\cos(x)}\,\mathrm dx$$ Here's what I've started : $$\int \frac{1}{\cos(x)}\,\mathrm dx = \int \frac{\cos(x)}{\cos(x)^2}\,\mathrm dx = \int \frac{\cos(x)}{1-\sin(x)^2}\,\mathrm dx$$ Now, I did : $u = \sin(x)$, so $\mathrm du = 1$. Now I have : $$\int \frac{\text{???}}{1-u^2}\,\mathrm du$$ But at this point, I think I did the most of the job but I'm stuck. Could you help me to solve this integral please (to the integration by substitution at the end) ? Thanks EDIT : Now I follow the steps and I got : $$\int \frac{1}{1-u^2}\,\mathrm du$$ Doing the partial fraction I got $A = 1/2$ and $B = 1/2$. So basically I have : \begin{align} &amp; \int \frac{1}{1-u^2}\,\mathrm du = \int \frac{1/2}{1+u}\,\mathrm du + \int \frac{1/2}{1-u}\,\mathrm du \\[8pt] = {} &amp; \frac 1 2 \left(\int \frac{1}{1+u} \, du - \int \frac{1}{1-u} \, du\right) \\[8pt] = {} &amp; \frac 1 2 \ln\left(\frac{1+u}{1-u}\right) = \ln\left(\left(\frac{1+\sin(x)}{1-\sin(x)}\right)^{1/2}\right) \\[8pt] = {} &amp; \ln \left(\frac{\sqrt{1+\sin(x)}}{\sqrt{1-\sin(x)}}\right) = \ln\left(\frac{\sqrt{1+\sin(x)}}{\sqrt{\cos(x)^2}}\right) \\[8pt] = {} &amp; \ln\left(\frac{\sqrt{1+\sin(x)}}{\cos(x)}\right) \end{align} Here's what my teacher got :  What's wrong with what I did ? Did I miss something ? I have a web page that includes a bunch of images. Sometimes the image isn't available, so a broken image is displayed in the client's browser.  How do I use jQuery to get the set of images, filter it to broken images then replace the src?    --I thought it would be easier to do this with jQuery, but it turned out much easier to just use a pure JavaScript solution, that is, the one provided by Prestaul. Setting nautilus-open-terminal to launch Terminator rather than gnome-terminal Test for convergence of the series $\sum_{n=2}^\infty\frac{1}{(\ln n)^{\ln n}}$ Could I have a hint for testing the convergence of the following series please?  $$\sum_{n=2}^\infty\frac{1}{(\ln n)^{\ln n}}$$  Edit  The integral test does not work because $\int_1^n\frac{1}{(\ln x)^{\ln x}}dx$ has not an elementary primitive.  Thank You. What does each part of the `ls -la` output mean? What do the following numbers represent? Calling acro first use when plural is producing an 's' in the short definition that is wrong I have an acro first use that must be plural, but I am getting an erroneous "s" when I shouldn't be. I'm getting (sIMFs) when it should be (IMFs). See picture and code below. The problem only occurs on the first call and it does so for all my acronyms. Thanks in advance.   \documentclass[12pt,twoside]{report} \usepackage{acro} \DeclareAcronym{IMF}{     short = IMF,     long  = Intrinsic Mode Function,     class = abbrev}  \begin{document} \acp{IMF} \acresetall \ac{IMF} \acp{IMF} \acfp{IMF} \end{document} When will my device get the Android 5.0 update (Lollipop)? Why couldn't Bond have backup at the battle of Skyfall? I think I am missing a key plot point here.   Bond had to fake-kidnap M and bring her to Skyfall in order to lure Silva there for one last stand. Why did this have to be a secret from his colleagues at MI6? Why couldn't there have been other agents there to help defend the house and take down Silva?  Also, why did he have to have Q lay a fake trail to get Silva to follow him to Skyfall when he was actually going there, and he wanted Silva to follow him? Append to the end of a file in C Given $n$ independent geometric random variables $X_n$, each with probability parameter $p$ (and thus expectation $E\left(X_n\right) = \frac{1}{p}$), what is $$E_n = E\left(\max_{i \in 1 .. n}X_n\right)$$    If we instead look at a continuous-time analogue, e.g. exponential random variables $Y_n$ with rate parameter $\lambda$, this is simple: $$E\left(\max_{i \in 1 .. n}Y_n\right) = \sum_{i=1}^n\frac{1}{i\lambda}$$  (I think this is right... that's the time for the first plus the time for the second plus ... plus the time for the last.)  However, I can't find something similarly nice for the discrete-time case.    What I have done is to construct a Markov chain modelling the number of the $X_n$ that haven't yet "hit". (i.e. at each time interval, perform a binomial trial on the number of $X_n$ remaining to see which "hit", and then move to the number that didn't "hit".) This gives $$E_n = 1 + \sum_{i=0}^n \left(\begin{matrix}n\\i\end{matrix}\right)p^{n-i}(1-p)^iE_i$$ which gives the correct answer, but is a nightmare of recursion to calculate. I'm hoping for something in a shorter form. How Deep Are Bender's Insides? Bender often pulls large objects from his torso cupboard, but how deep or how much empty space is he capable of storing? Can he bend space around the perimeters of the frame of his torso's door? If that is the case, does it also bend time? I suppose he might bend in more ways than one... How do I make a floor plan with specific dimensions? This is my very first time of using blender. I've tried several tutorials but can't find anything that tells me how to do the very basic thing i want to do.  I simply want to draw a floor plan for a room which is 13 feet by 11 feet and make it 3d so that ultimately i can play with where things go in that room.  Can anyone take me through the steps needed to do this?   I will be so grateful.  Thank you in advance PHP replacing special characters like à->a, è->e Calculate the area of an irregular cyclic convex polygon Why are heatmaps on qgis 2.8.1 produced in the wrong CRS? I noticed that the heatmap calculation on the new upgrade version of qgis is given the raster map without any coordinate system.   Have you got the same problem? Email searches in Outlook 2013 work as expected. I am trying to refine it by excluding certain folders by default. I was hoping I could uncheck certain folders in Control Panel > Indexing Options > Outlook. Unfortunately, the checkbox is for Outlook itself. I can either search Outlook or not. There is no refinement beyond that. Is there another way to exclude searching of specific folders? How to import a module given its name as string? I'm writing a Python application that takes as a command as an argument, for example:  $ python myapp.py command1   I want the application to be extensible, that is, to be able to add new modules that implement new commands without having to change the main application source. The tree looks something like:  myapp/     __init__.py     commands/         __init__.py         command1.py         command2.py     foo.py     bar.py   So I want the application to find the available command modules at runtime and execute the appropriate one.  Python defines an __import__ function, which takes a string for a module name:     __import__(name, globals=None, locals=None, fromlist=(), level=0)      The function imports the module name, potentially using the given globals and locals to determine how to interpret the name in a package context. The fromlist gives the names of objects or submodules that should be imported from the module given by name.       Source:    So currently I have something like:  command = sys.argv[1] try:     command_module = __import__("myapp.commands.%s" % command, fromlist=["myapp.commands"]) except ImportError:     # Display error message  command_module.run()   This works just fine, I'm just wondering if there is possibly a more idiomatic way to accomplish what we are doing with this code.  Note that I specifically don't want to get in to using eggs or extension points. This is not an open-source project and I don't expect there to be "plugins". The point is to simplify the main application code and remove the need to modify it each time a new command module is added.