jQuery selectors not working for PHP-echoed elements
Event binding on dynamically created elements?
Grub rescue - error: unknown filesystem I have a multiboot system set up. The system has three drives. Multiboot is configured with Windows XP, Windows 7, and Ubuntu - all on the first drive. I had a lot of unpartitioned space left on the drive and was reserving it for adding other OSes and for storing files there in the future.  One day I went ahead and downloaded Partition Wizard and created a logical NTFS partition from within Windows 7, still some unpartitioned space left over. Everything worked fine, until I rebooted the computer a few days later.  Now I'm getting:    error: unknown filesystem.   grub rescue&gt;   First of all I was surprised not to find any kind of help command, by trying:    help, ?, man, --help, -h, bash, cmd, etc.  Now I'm stuck with non-bootable system. I have started researching the issue and finding that people usually recommend to boot to a Live CD and fix the issue from there. Is there a way to fix this issue from within grub rescue without the need for Live CD?  UPDATE  By following the steps from , I was able to boot to initramfs prompt. But not anywhere further than that.  So far from reading the manual on , I was able to see my drives and partitions using ls command. For the first hard drive I see the following: (hd0) (hd0,msdos6) (hd0,msdos5) (hd0,msdos2) (hd0,msdos1)  I now know that (hd0,msdos6) contains Linux on it, since ls (hd0,msdos6)/ lists directories. Others will give "error: unknown filesystem."  UPDATE 2  After the following commands I am now getting to the boot menu and can boot into Windows 7 and Ubuntu, but upon reboot I have to repeat these steps.    ls ls (hd0,msdos6)/ set root=(hd0,msdos6) ls / set prefix=(hd0,msdos6)/boot/grub insmod /boot/grub/linux.mod normal   UPDATE 3  Thanks Shashank Singh, with your instructions I have simplified my steps to the following. I have learned from you that I can replace msdos6 with just a 6 and that I can just do insmod normal instead of insmod /boot/grub/linux.mod. Now I just need to figure out how to save this settings from within grub itself, without booting into any OS.  set root=(hd0,6) set prefix=(hd0,6)/boot/grub insmod normal normal   UPDATE 4  Well, it seems like it is a requirement to boot into Linux. After booting into Ubuntu I have performed the following steps described in the :  sudo update-grub sudo grub-install /dev/sda   This did not resolve the issue. I still get the grub rescue prompt. What do I need to do to permanently fix it?  I have also learned that drive numbers as in hd0 need to be translated to drive letters as in /dev/sda for some commands. hd1 would be sdb, hd2 would be sdc, and so on. Partitions listed in grub as (hd0,msdos6) would be translated to /dev/sda6.  UPDATE 5  I could not figure out why the following did not fix grub:  sudo update-grub sudo grub-install /dev/sda   So I downloaded  based on an answer from  post. That seemed to do the trick after I picked the "Recommended Repair (repairs most frequent problems)" option. How to change Function (Fn) Key behavior on wireless Logitech keyboard I do have a wireless Logitech K750 keyboard (silver Mac version) connected to a Lenovo ThinkPad (via the unifying USB receiver, together with a wireless Logitech mouse M705) and currently running Ubuntu 12.04.  By default the F-keys are mapped as multimedia/function keys, e.g. Play  /Pause. As I don't use them very often, I want the F-keys to behave like the "real" F-keys (F1-F12). How can I do that?  I know there is an option in the BIOS settings, but this only toggles the built-in keyboard of the notebook, not on my wireless keyboard.  I know there is a way to change this for the Apple wireless keyboard (), but there is no "parameters" directory in /sys/module/hid_logitech_dj/.  Any ideas? Or is there maybe a way to do this in a later Ubuntu version (13.04)?  UPDATE:  lsusb -d 046d: shows Bus 002 Device 005: ID 046d:c52b Logitech, Inc. Unifying Receiver  UPDATE 2: Thanks a lot for your help Lekensteyn. Finally  works just fine. In the "Known Issues" of Solaar it says that it does not work with the Nano Receiver. But I have one and it works just fine. Just don't forget to read the installation instructions and run the rules.d/install.sh script. It also recognized my M705 Mouse. Best File Management Practices when you have thousands of Files We publish over 100+ textbooks and growing (1-color, 2-color, 4-color) maninly designed in CorelDraw &amp; Indesign with associated Image and Font Files. We also have merged multipage PDF &amp; EPS files that we send to our offset printers.Also, some Image files are exclusive to a project while some are shared across projects.   What are the best practices to follow when it comes to management of these files? We are always working on multiple versions of the same files and often with multiple DTP operators.  Right now it is all on a Shared Drive with Individual Folders but that always creates confusion in identifying the latest version of the file and some users save the file to some other folder. Security of the Data is another issue as we work with a lot of freelancers also.  How do big design studios and publishing houses handle versioning, collaboration and the associated files with a project neatly? Do they use a CMS / Document Management System? Evaluating $\int_{0}^{\frac{\pi}{2}}\frac{\sqrt{\sin x}}{\sqrt{\sin x}+\sqrt{\cos x}}\, \mathrm{d}x$ If a set of parentheses lies between a subject and its verb, and the parentheses contain an substitutive subject whose singularity/plurality disagrees with the original subject, whose singularity/plurality should be chosen for the verb?  In other words, in the following example, should "questions" (and its verb "are") be singular, or should they remain plural as shown?     Many (if not every) questions on this StackExchange are answered.   My intuition tells me that the two words in question should remain in plural forms, since the text in parentheses only interrupts the sentence (and the sentence would be grammatically incorrect if everything in parentheses were removed and the words were in singular form).  On the other hand, when read aloud (assuming one reads the text in parentheses), this has an uncomfortable sound to it, and I've seen others write in what would be the above example's singular-form case, so I'm curious to find out which is correct.  And, thinking about it, I suppose the same question would apply when commas are used in place of parentheses. $SL_n(\mathbb R)$ is a subgroup of kernel of $f\in$ Hom$(GL_n(\mathbb R), A)$, $A$ is an abelian group. Try to prove the following proposition.     $SL_n(\mathbb R)$ is a subgroup of kernel of $f\in$ Hom($GL_n(\mathbb R), A)$, where $A$ is an abelian group.   My first attempt is to show that $SL_n(\mathbb R)$ is in form of $ABA^{-1}B^{-1}$, then it's clear that $ABA^{-1}B^{-1}$ is in $ker(f)$. However, there exists an elementary row reduction matrix, i.e. $E_{ij}(m)$ adding m times $j$-th row to $i$-th row. Then $E_{ij}(m)\in SL_n(\mathbb R)$. Now, it is possible that $E_{ij}(m)$ is not in $ker(f)$. Then I try to find any relation between $\mathbb R^{\times}$ and $A$, but, except knowing they are both abelian groups, I cannot figure out what else connects those two group. Could you give me some hints? Counting in a rectangular grid with obstacles I was asked to find the no. of ways to get from (0,0) to (8,8) with the 4 points of the shaded box unpassable, aka I can't use the 4 points namely (3,3)(4,4)(3,4)(4,3) while on my way to (8,8). Right and up movements.  I know it is something like a pascal triangle and worked out the solution of 4050 ways.  May I know if there are any faster means using permutation formula?  Thank you in advance. Why are my textures pink? Basically, I applied my textures by taking each individual object, unwrapping it in the uv editor, then opening up an image in the uv editor and it would apply the texture in the 3D editor. However, when I render my project none of the textures appear and everything looks odd. I don't know how to set up the images properly with the bee.  For example, here's the uv layout image for the bee's Cube.001:     How do I get that applied properly to the Cube.001 in my project?  Here is   Everything appears purple if the images aren't there and I don't know how to fix that either. Is it correct to use "their" instead of "his or her"? Is this sentence grammatically correct?  Anyone who loves the English language should have a copy of this book in their bookcase.  or should it be:  Anyone who loves the English language should have a copy of this book in his or her bookcase. Invariance of a maximally entangled state under unitary operation $U \otimes U^\dagger$ Apparently the (d-dimensional) maximally entangled state, $|E \rangle = \sum_{i} |ii\rangle /\sqrt{d}$ is invariant under operations of the form $U \otimes U^\dagger$. I want to prove this result, which amounts to showing that  $$\left(\sum_i U | i \rangle \otimes V |i \rangle = \sum_i | ii \rangle \right)\Rightarrow (V = U^\dagger )$$  I have no idea how to even start. I suppose it's some simple linear algebra result, but I don't see it. A hint would be appreciated. Curvature of a curve on a sphere Alternative of `route -n` of Linux in Mac How can I see the list of routes and its corresponding gateway in a Mac ? The command in linux is route -n .  For a particular IP address, I am able to get the routes for an particular IP address via route get 10.0.0.0. Show that $$\lim_{x \to \infty} \frac{\log(1 + e^x)}{x} = 1$$ How do I prove this? Or how do we get this result? Here $\log$ is the natural logarithm. Java error: Implicit super constructor is undefined for default constructor Nonabelian semidirect products of order $pq$? I just constructed the semidirect product in Lang, and I'm trying to tie some facts together. From Ash's Algebra, I know that if $p\lt q$ are distinct primes, if $q\not\equiv 1\pmod{p}$, then any group $G$ of order $pq$ is abelian.  Is the converse true, that for any primes $p\lt q$, if $q\equiv 1\pmod{p}$ then there exists a nonabelian group of order $pq$?  One example I found online is that $\mathbb{Z}_3\ltimes \mathbb{Z}_7$ is nonabelian, and here $7\equiv 1\pmod{3}$. I was considering then semidirect products $\mathbb{Z}_p\ltimes\mathbb{Z}_q$ where $q\equiv 1\pmod{p}$ and some homomorphism $\phi\colon \mathbb{Z}_p\to\operatorname{Aut}(\mathbb{Z}_q)$ I calculate that  $$ (1,0)(0,1)=(1+0,\phi_0(0)+1)=(1,1) $$ and $$ (0,1)(1,0)=(0+1,\phi_{-1}(1)+0)=(1,\phi_{p-1}(1)). $$ Is it true somehow that $\phi_{p-1}(1)\neq 1$ in each case to show the group is nonabelian? I guess if it did this would imply $\phi_{p-1}$ is the trivial automorphism, so maybe there's something there? If not, is there a way to show $\mathbb{Z}_p\ltimes\mathbb{Z}_q$ is nonabelian in these cases in general? Thanks. Prove linear combinations of logarithms of primes over $\mathbb{Q}$ is independent Suppose we have a set of primes $p_1,\dots,p_t$. Prove that  $\log p_1,\dots,\log p_t$ is linear independent over $\mathbb{Q}$. Now, this implies $ \sum_{j=1}^{t}x_j\log(p_j)=0 \iff x_1=\dots=x_t=0$.  I think I have to use that fact that every $q\in\mathbb{Q}$ can be written as $\prod_{\mathcal{P}}$, where $n_p$ is a unique sequence ($n_2$,$n_3$,$\dots$) with domain $\mathbb{Z}$. Here, $\mathcal{P}$ denotes the set of all integers.  Now how can I use this to prove the linear independency? How to get my 4yo daughter's fixation on my belly button under control? I don't know where to begin with this question. It's awkward and to be honest, it makes me feel rather uncomfortable. Simply put, I'm led to believe that my four year old daughter is obsessed with my belly button. It all started one day during the summer when she was three. I decided to take my family to the pool, and I guess I didn't see my daughter follow me into the changing room. Mind you, she's still at the age where it's appropriate to see her parents naked, so I wasn't surprised when, after I finished changing into my bikini, I turned around to see her staring at me.  I followed her gaze and saw her looking directly at my belly button. I asked her what she was looking at and she screamed "mommy, I can see your belly button!" which made me giggle. I picked her up and kissed her forehead, telling her that everyone has a belly button.  I think I might have accidentally given her a green light, because over the next year she constantly asks me if she can stick her finger in my belly button, and if I don't let her, she begins to scream.  For her fourth birthday, she requested that I wear nothing but a sports bra and underwear (in toddler speak. It sounded like "mommy, show your belly button for my birthday!" I could have simply worn a crop top but i didn't want to risk her throwing a temper tantrum)  My husband obviously doesn't mind, because he gets to look at my belly button all the time but it really upsets me that my daughter's finger is constantly in my belly button.  Tomorrow is her fifth birthday and I want to discuss with her that it's not appropriate to always be poking my belly button. Any ideas on how i can talk to her without her throwing a screaming fit? Notation: What does the tilde below of the expectation mean? Tweak showlabels/showkeys - wrap the label Can showlabels wrap the label in the margin? A very similar question is , but the solution of @DavidCarlisle does not solve the more general case. Consider the following MWE:  \documentclass{article} \begin{document} \begin{figure}[ht]   \centering   \rule{1cm}{1cm}   \caption{default}   \label{fig:a very very very long and detailed label} \end{figure} \end{document}   When adding the package showkeys the output is:    Similar problem occurs with the showlabels package (whether the hack of @DavidCarlisle is used or not):   So, is there a way to fix it? Installing older iOS for device testing