Change color by slider
What is a NullPointerException, and how do I fix it?
I have a lot of filesystems:   / on a PCI-E SSD swap on a SATA SSD /media/ned is a RAID5 array /tmp lives on RAM Parts of /home/oli are symlinked and bind-mounted in from ned I also have /media/jeff/ which is RAID1 that I store backups and bind-mount ~/.wine in off.   It's actually a lot more complicated than that. There are all sorts of extra symlinks that I need to untangle in the long run but for now I just need a nice way of taking a path and finding out where it physically lives. Is the cardinality of the Cartesian product of two equinumerous infinite sets the same as the cardinality of any one of the sets? I couldn't find this explicitly stated in any handout or text. This certainly seems to be true from the examples I have seen:  The Cartesian product of two infinitely countable sets is again infinitely countable. The Cartesian product of two sets with cardinality of continuum again has cardinality of continuum. Very specific paragraph shape Class moderncv moving footer I am using documentclass moderncv to style my resume, and I'd like to put the information that normally goes at the bottom of the document, such as phone number and email, to the space next to the name aligned on the left of the document. I'm a beginnner user, so I'd love to get some enlightenment on this.  \documentclass[11pt,letterpaper,sans]{moderncv}  % moderncv themes \moderncvstyle{casual} \moderncvcolor{blue} \usepackage[scale=0.75]{geometry}  % personal data \firstname{John} \familyname{Doe} \mobile{+1~(234)~567~890}  % content  \begin{document} \makecvtitle \pagestyle{empty}  \section{Education} \cventry{1998-2007}{Degree}{Institution}{City}{\textit{Grade}}{Description}   \section{Computer skills}  \thispagestyle{plain} \end{document}    Simply put, I want to move \mobile from the bottom to the top left. How do you tell if caps lock is on using JavaScript?  One caveat though: I did google it and the best solution I could find was to attach an onkeypress event to every input, then check each time if the letter pressed was uppercase, and if it was, then check if shift was also held down. If it wasn't, therefore caps lock must be on. This feels really dirty and just... wasteful - surely there's a better way than this? Does Mathematica have a "MATLAB Builder" equivalent? When given $p = 5, q = 11, N = 55$ and $e = 17$, I'm trying to compute the RSA private key $d$.  I can calculate $\varphi(N) = 40$, but my lecturer then says to use the extended Euclidean algorithm to compute $d$. That's where I get stuck.    Here's my work so far:  First I use the Euclid algorithm to calculate:  40 = 2(17) + 6  17 = 2(6) + 5 6 = 1(5) + 1 = gcd   So I know the GCD is 1. Applying the 'extended' section of the algorithm:  6 = 40-2(17) 5 = 17-2(6) 1 = 6-1(5) 1 = 6-1(17-2(6)) 3(6) = 1 (17) 3(40 - 2(17)) - 1(17) 3(40) - 3(17)   I know the answer is $33$, but I have no idea how to get there using the extended Euclidean algorithm. I can't figure out why I'm getting $3(40) - 3(17)$ when I know the answer should contain $33$. Is there a simple way to reduce the amount of white space around the TikZ in the MWE pasted below (in particular in the x direction)?  \documentclass{article} \usepackage{xcolor} \usepackage{tikz}  \begin{document} VRCRCRCRCC \tikz[baseline] \node[fill=yellow!30, anchor=base,inner sep=0.7pt, outer xsep=-2pt] {ABCDE}; VBZBZBBBBG \end{document}     PS: This question may be a duplicate of . I posted it nevertheless since 1) my example is much simpler (and hence may have a much simpler solution) and 2) I don't see how the answers given there could help in my case. If you disagree feel free to mark my question as "exact (!) duplicate of ...". How to open files from other machine running ubuntu I tried to take data from my pc to laptop. Both are using ubuntu 11.10 os. I googled and tried to connect both the systems. Now it is showing connected symbol. Dont know how to proceed further. I need to take data from my pc using this lan connection. Please provide me solution for this... Possible Duplicate:     Which one of these is correct?  It is I who am at fault. It is me who is at fault.  The word &quot;is&quot; is a conjugation of &quot;be&quot; which is a linking verb. I also want to know the same for 2nd person.  It is you who are at fault. It is you who is at fault. This option seems to have gone away after upgrading from Ubuntu 16.04. I tried installing nautilus-open-terminal but it is unable to locate the package for 18.04. Also trying to install nautilus-actions gives:  Package nautilus-actions is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source     How to fix this? Can we theoretically balance a perfectly symmetrical pencil on its one-atom tip? I was asked by an undergrad student about this question. I think if we were to take away air molecules around the pencil and cool it to absolute zero, that pencil would theoretically balance.  Am I correct?  . How do I match any character across multiple lines in a regular expression? Is the following word order acceptable? I need your opinion about the word order in the following sentence: “In her garden grows a cherry-tree.“? Is it grammatically acceptable? I just installed Dufour on my Windows 7 Lenovo ThinkCentre desktop. When I open 2.0.1 I get this error window:    And when I try to add the 'Add Delimited Text Layer' plugin I get this message:    When I click 'OK' the program closes.   Any help is greatly appreciated - thanks. A saying for something that's good but also has a downside I'm trying to transition from a list of pros to a list of cons, and would like to have some sort of transition quote. Something in the form of,  "But, alas, (((something something quote quote)))"  Everything that has a beginning has an end, something along the lines of that. Show that $ a，b, \sqrt{a}+ \sqrt{b} \in\mathbb Q \implies \sqrt{a},\sqrt{b} \in\mathbb Q $ Inspired by , I was wondering if there is a simple logical argument to   Show that $ a,b, \sqrt{a}+ \sqrt{b} \in\mathbb Q  \implies  \sqrt{a},\sqrt{b} \in\mathbb Q $  Note that the original link is using a computational method, where as I am looking for a simple logical argument.  I tried (unjutifiably) to argue that if some of two square roots is rational then each one is rational, this is a different than the (incorrect) argument that if sum of two algebraic numbers is rational then each one is rational ( counter example $a=1-\sqrt{2},b= 1+\sqrt{2} $) I read this book a few years back (around 5?). It was part of a multibook series but I have only read one book.  It's about this teenager who I think had been programmed to be an assassin but then somehow retained his conscience and was out to get the people responsible for that.  I briefly remember a girl, and this one part where he realizes he can ride a horse and then there's a chase too. I think the guy's name was Jim or Jimmy, but not quite. I'm also quite sure he was either part computer, or had a chip or something in his brain which had been programmed to give him a host of mental and physical abilities which he retained and used as well as the series progressed. Given: a = 1 b = 10 c = 100  How do I display a leading zero for all numbers with less than two digits? This is the output I'm expecting: 01 10 100 How do I embed a gather environment within a custom environment? I've tried defining the following custom environment, but I get errors:     \begin{gather} ended by \end{solution}   etc...   Here's a MWE showing my problem:  \documentclass{article}  \usepackage[fleqn]{mathtools}  \newenvironment{solution}{%  &lt;-Solution   \par\addvspace{1em}   \itshape{Solution:}\par\begin{gather}}   {\end{gather}\par\normalfont\hfill\qed\par\addvspace{\medskipamount}}%  \begin{document}   \begin{gather}     testing   \end{gather}    %% This does not work:   \begin{solution}     testing   \end{solution} \end{document}