Case-insensitive attribute selector
Case-insensitive attribute-value selector with Jquery
I wrote the wrong thing in a commit message.  How can I change the message? The commit has not been pushed yet. If $X$ follows a Binomial distribution with parameters $n$ and $p$, what can we say on the distribution of $n\choose x$ and $x\choose n$ ? ($x$ is realization of $X$). /usr/bin/sudo must be owned by uid 0 and have the setuid bit set I have run following command accidentally   sudo chown [username] -hR /   Now sudo su getting error:  sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set   How to Solve This? Turning off auto-maximizing of windows in 14.04 I know this has been asked for other Ubuntu releases, but the solutions posted are not working for me in 14.04. I've installed CCSM and turned off the grid option, but the windows still maximize when dragging to the top of the screen. I've dealt with it for a while but it's getting rather obnoxious. Anyone else had this problem and come across a solution?  EDIT:  This is happening in Gnome Classic, but not Gnome 3 I'm developing a messenger application with encrypted chats.   In the first version of the app I've used PBKDF2 (10000 iterations, SHA1, random salt) to extend a short user password and generate keys to encrypt (AES256) and sign message (HMAC).  In the current version of the app I generate a random 130-bit key and use it instead of a user password. I think that using PBKDF2 with such a key has some overhead.   I see 2 possible ways to improve the current approach:   Keep using PBKDF2 and decrease iterations to 1 or 10. Don't use PBKDF2 and use HKDF instead.   What are the advantages and disadvantages of each approach? Are there any other options? Set the maximum character length of a UITextField Calculating the total number of surjective functions Referencing subfigures in main caption (with \subfloat and \subref) I've used subfloat to include subfigures, with their relevant labels but with empty captions. what I'm going to do is to reference these figures with \subref in the main caption of the figure. But what I get is only ?? signs in the caption [main caption]. I can't figure out what's the problem. this is what I have:  \begin{figure} \centering \subfloat[][] { \includegraphics[scale=0.55]{signal} \label{signal_model} } \subfloat[][] { \includegraphics[scale=0.55]{amplitude} \label{amplitude_mod} } \caption{phase noise variability: \subref{signal model} some text \subref{amplitude_mod} some other text} \end{figure} Change section command in article In the document class article how do I change the command \section to behave exactly like the command \chapter in the document class book? i.e. write Chapter # and then the title and also leave some empty space at the top of the page.  Sorry if my question is not clearly stated and if this question might already exist but I couldn't find anything. Interpreting plot.lm() about how to open a URL in your default browser using the Terminal. Basically, you use the command   xdg-open http://google.com   My default browser is Firefox. But lets say that I wanted to open a specific website in Chrome, instead of Firefox. Is there a command to open it in Chrome instead of Firefox? Ubuntu Software not loading categories How do ideal quotients behave with respect to localization? Suppose $R$ is commutative ring with unity. For ideals $I$, $J \subseteq R$, the ideal quotient $(J:I)$ is $$(J:I) := \{x\in R \, : \, xI \subseteq J\}$$ Let $S\subset R$ be a multiplicative set. When does localization at $S$ commute with taking quotients, i.e. when does the equality $$(S^{-1} J : S^{-1} I) = S^{-1} (J:I)$$ hold? More generally, when is it true that $$S^{-1} \text{Ann}_{R} (M) = \text{Ann}_{S^{-1} R} (S^{-1} M)$$ for an $R$-module $M$? How to stop reordering of the same kind multiple preview windows in task switching? How do you get \mathbb{1} to work (characteristic function of a set)? I am trying to get the digit one printed the \mathbb{} font in math mode, however the command  \mathbb{1}   outputs some rubbish. I certainly saw the character I am after in some pdf's generated from latex, hence my question: how do you get it to work? Is there a simple, constructive, 1-1 mapping between the reals and the irrationals? Is there a simple, constructive, 1-1 mapping between the reals and the irrationals?  I know that the Cantor–Bernstein–Schroeder theorem implies the existence of a 1-1 mapping between the reals and the irrationals, but the proofs of this theorem are nonconstructive.  I wondered if a simple (not involving an infinite set of mappings) constructive (so the mapping is straightforwardly specified) mapping existed.  I have considered things like mapping the rationals to the rationals plus a fixed irrational, but then I could not figure out how to prevent an infinite (possible uncountably infinite) regression. how to use common modulus attack? I am struck with the following problem:  Let Alice, Bob, Chris and Eve communicate over a public network. They encrypt all messages they send using RSA system. Bob and Chris have the RSA modulus $n_B$ and $n_C$ respectively with $n_B$ = $n_C$ But different public encryption exponents: $e_B \neq e_C$. Suppose $\gcd(e_B, e_C)=1$, and that Alice sends the same secret message to Bob and Chris. Show how Eve can decipher the message. How do major and minor grooves arise in the DNA helix? I understand that they arise due to the pairing of bases of two opposite stands and are sites through which important proteins needed for replication and transcription of DNA interact. But I don't get how the arrangement of bases really generate the grooves. I'm using LyX and a custom class from  which is based on the  class.  I'm at another school and my advisor wants me to include titles of the readers on the signature page as well as a date line for each signator.  I've looked through some documentation on the thesis class and poked around in the .cls file in use but didn't come across anything obvious to change.  Perhaps this section would help though?  \newcommand*{\th@degreeyear}{\number\the\year} \newcommand*{\th@signature}[1]{ \begin{center}     \normalsize     \vspace*{16mm}  % works well?     \vrule width 80mm height 0.2mm\\     #1 \end{center} } \newcommand*{\th@dateline}{ \vspace*{9mm} \begin{flushright}     Date~{\vrule width 35mm height 0.2mm} \end{flushright}   How do I include this? I built a ZI model and it is producing predicted values that are from a very small range when compared to the observed values. Plus it does not produce any zeros. See the fitted vs. observed graph below.     My model structure is given below. My response is a count variable and the predictor is continuous water level measurements (scaled).   m.u.meanwl.gu &lt;- zeroinfl(GU ~ MeanWLScaled | MeanWLScaled, data = uluabat_wl_fg, dist = "negbin", link = "logit")   I need help to figure out what's wrong and fix it. Thanks in advance.