I am using following code to test two table column values. only issue is how to convert .colNameivr values to upper case before matching with itemNames.  jQuery('.colNametns').each(function(i) { var itemName = jQuery(this).text().toUpperCase();     //1 var match = jQuery('.colNameivr:contains("' + itemName + '")');  //2   if(!match.length){       jQuery(this).toggleClass('red');       counter = i;   } if(match.length){      alert(i+"--"+itemName );     callme1(itemName);   }            });   example here -  in above example -countryCode should not highlight as string is same.
Is there a case insensitive version of the  jQuery selector or should I do the work manually by looping over all elements and comparing their .text() to my string?
I am reading  that finite-dimensional subspaces of normed vector spaces have closed direct sum complements. This is the proof:      Let $\{e_1, ..., e_n\}$ be a basis for $\mathcal M$. Every $x \in   \mathcal M$ has then a unique representation $$x = \alpha_1(x)e_1 +...+  \alpha_n(x)e_n.$$ Each $\alpha_i$ is a continuous linear functional on    $\mathcal M$ (a linear map from  finite dimensional space is always    continuous) which extends to a member of $\mathcal X^*$,  by the    Hahn-Banach theorem ($\mathcal X^*$ is the dual of $\mathcal X$). Let    $\mathcal N$ be the intersection of the null spaces of these exten­sions. Then $\mathcal X = \mathcal M\oplus \mathcal N$.   I follow it until the last sentence. Clearly $\mathcal N$ is closed, as it is the intersection of closed sets (the inverse of $0$ under any continuous function, and in particular any linear functional on a vector space, is closed). Also it is easy to see that $\mathcal M \cap \mathcal N= \{0\}$, since if some $m\in\mathcal M$ is in every null space, it must have the zero coefficient for every basis vector, and so it must be zero.  My question: Why do we have $\mathcal X =\mathcal M + \mathcal N$? This seems to only hold if the extension given by Hahn-Banach is zero off of $\mathcal M$, but I see no reason why this should be the case. I am running 14.04 and have a HP Deskjet 2545 wireless printer which is supported by Ubuntu. I have run HpLIP, the latest version and installed the printer.  The printer is recognised by Ubuntu, printer and network, but LibreOffice do not see the printer. Only a Generic printer.  I don't know what to do anymore and would like to get some good advice How to perform the modular reduce of Rijndael's finite field I am trying to understand how to calculate the modular reduction of Rijndael's finite field.  The example on  page says that {53} • {CA} = {01}, because (11111101111110 mod 100011011) = {3F7E mod 11B} = {01} = 1.  I am able to get to the point where I have 3F7E mod 11B, but cant seem to figure out how the reduction works.        11111101111110 (mod) 100011011      ^100011011             1110000011110       ^100011011             110110101110        ^100011011             10101110110         ^100011011             0100011010            ^100011011 &lt;-- here, right shifted two places?             00000001   From this example, why does it right shift two places at one point?  I also found an example that 0x1b*0xaa equals 0x8c. Trying to solve this myself I get to the point: 0xE0E mod 0x11B   111000001110 ^100011011   11011010110  ^100011011    1010111010   ^100011011     010001100    ^100011011      10010111   This makes it 0x97 How do I restore the sources.list file? I was watching the film A Game of Shadows starring Robert Downey Junior and Jude Law when this line came up, "...neither you nor I is in control..." (I can’t remember the exact words that ended the phrase; if anyone can supply them, it would be much appreciated.)   It immediately struck me as being odd. When I mentioned this to my boyfriend; an English native speaker, with a PhD in something sciency, he told me it was correct. When I asked why, he couldn't explain but put forward the following sentence as an example. "Neither of us is in control..." However, I disagreed with the wording and said the sentence should have been: "Neither one of us is in control..." The genderless third person, one, is singular, and hence, so too the verb that follows. And we say, "one is" NOT "one are".      "Neither you nor I are in control over ..."    I believe the above sounds better, but it is more logical to say:     "Neither you nor I am in control..."    because the verb agrees with the subject closest to it; however, I'm not sure if I have ever read or heard this solution. So, I tried inverting the subject and auxiliary verb order and the resulting phrase was:    "Neither you nor am I in control..."    which sounds very formal, pompous, and ... odd. Am I imagining things?  The two subjects you and I are two separate individuals who are not joined together, I agree the verb should be in the singular; but why should we use "is"? We don't say, "you is" or "I is". Before anyone rushes off to claim my question is a duplicate of a previous Stackexchange one:  I want to explain why the answer to that question fails to explain why my boyfriend and the film makers consider the  sentence below correct:     Neither you nor I is in control...   As I see it, Michael and Albert are two separate individuals, it therefore stands to reason that the verb should be singular, and "is" agrees with the subject. If I rephrase the neither and nor construction, I would get:          Michael is not correct but neither is Albert   OR          Michael is not correct and Albert isn't either.      Which have the same meaning, (either being the negative equivalent of neither) the sentences are grammatical which leads me to conclude that the verb must be singular and hence         Neither Michael nor Albert is correct      However, when I rephrase the "neither you nor I" sentence following the same procedure I have to say this:        You are not in control but neither am I (‘I am’ is ungrammatical)   OR              You are not in control and I’m not either.      which leads me to surmise that the sentence below must be grammatically correct        Neither you nor I am in control"      So, why does my boyfriend insist that the sentence ought to be:     Neither you nor I is in control   Which one of us is right and why? I have shown that if two $n\times n$ matrices $A$ and $B$ are invertible, then $AB$ is also invertible. I am having problems though with showing that $(AB)^{-1}=B^{-1} A^{-1}$. I thought of using their left-multiplication transformations but it seems that this is only associative and not commutative so I can reverse $L_A L_B$ What's the standard "roadmap" to learning quantum physics? Is it valid to have more than one question mark in a URL? Why does as.factor return a character when used inside apply? Enable Wireless Monitor mode for traffic sniffing I need to sniff all the wifi traffic that I can capture using wireshark in Ubuntu. My wireless interface is named as eth1 in the interfaces list. When I select that interface in Wireshark and start new sniff, I got following error;    As  thread says, I tried to installed the mentioned driver but I got an error in installation saying that that driver is not supported by my device. After that I tried the second answer in the same thread and run following command to enable monitor mode in my wireless card.  echo 1 &gt; /proc/brcm_monitor0   Then I saw a new Ethernet interface (not a wireless interface ) called prism0 in wireshark interface list. I couldn't start a sniff using that interface using monitor mode because in that interface settings, monitor mode check box has been disabled.  I have installed a broadcom wireless driver in Additional Drivers as follows:    Is there an error listing my Wifi interface as eth1 rather than wlan0 in the interfaces list? How can I start my wireless interface in monitor mode for sniffing?   Thank you. Difference between LiveCD, LiveUSB, full-install, and persistence? I am currently running Ubuntu as a guest vm on a Win 7 host via VirtualBox, but I would like to have a portable version of Ubuntu when I am not using my laptop.   I am unsure as to the difference between the following:  1)LiveCD with persistence; 2)LiveCD without persistence; 3)LiveUSB with persistence; 4)LiveUSB without persistence; 5)Full-install.   I have a USB flash drive (32GB), and I also have empty DVDs lying around. I know that persistence means that data can be saved, but I am unsure as to which option to choose. What is the difference between a LiveUSB and a full-install on a USB thumbdrive and why would I want to pick one over the other? Thanks for any help. Suppose $f$ is a differentiable function over $\mathbb{R}$ satisfying $f(0) = 0$. Show that if $f'$ is strictly increasing, then $\frac{f(x)}{x}$ is increasing over $(0,\infty)$.   Attempt:  Since $f'$ is increasing we know that $f'' &gt; 0$ for all $x$. Now let $g(x) = \frac{f(x)}{x}$ and thus $f(x) = xg(x)$. Then we wish to show that $g'(x) &gt; 0$ on $(0,\infty)$ and so since $f'(x) = xg'(x)+g(x)$ and $f''(x) = xg''(x)+2g'(x) &gt; 0$, we have $g''(x) &gt; \frac{-2g'(x)}{x}$. I am not sure how to use this though to prove the statement. Delete with Left Join in Oracle 10g Terminal icon in window titlebar is stretched out over window control buttons A while ago I upgraded from Ubuntu 17.04 to Ubuntu 17.10 and everything is working fine except for the fact that the icon in the window title bar of my Terminal seems to be stretched out to some ridiculous size.    This only seems to happen in the Terminal window. The Nautilus icon is completely fine.    The problem seems to go away if I login into an Xorg session instead of a Wayland one. I've looked around and didn't find any immediate solution to this. Any help would be greatly appreciated. Why are mirrorless cameras much slower than DSLRs? This is a follow-up to a .  I've been comparing cycle times (or shot to shot times in single shot mode) of mirrorless cameras with interchangeable lenses with traditional DSLRs and all of them, even the highest end ones (like the Olympus OM-D EM-5 or Panasonic GH3) are slower than even entry level DSLRs.  How's that possible? The electronics should be the same and they don't have the burden of a mirror going up and down between each shot. I think that there must be a technical reason for that (maybe some cpu time is going to feed the live-view before the image is encoded?), because from a commercial point of view it does not make sense.  I've seen the cycle times under the performance tab in the reviews pages of .  The average CSC has cycle times around 0.7~1.2s, the flagship ones around 0.5s. The average DSLR has cycle times around 0.4s and the flagships around 0.25s. I'm looking for a way to insert a &lt;style&gt; tag into an HTML page with JavaScript.  The best way I found so far:  var divNode = document.createElement("div"); divNode.innerHTML = "&lt;br&gt;&lt;style&gt;h1 { background: red; }&lt;/style&gt;"; document.body.appendChild(divNode);   This works in Firefox, Opera and Internet Explorer but not in Google Chrome. Also it's a bit ugly with the &lt;br&gt; in front for IE.  Does anyone know of a way to create a &lt;style&gt; tag that   Is nicer Works with Chrome?   Or maybe   This is a non-standard thing I should avoid Three working browsers are great and who uses Chrome anyway? JavaScript private methods How can I convert characters from Pathfinder to D&D 5e? I recently joined a 5e campaign group, but prior I was gearing up for a Pathfinder group. I found myself really enjoying creating characters and have made various under the Pathfinder rules. The Pathfinder group ended up falling through and I don't want these characters to go to waste, and was thinking I could use them in upcoming campaigns with my new 5e group. I have tried doing some research for the same races and classes. Some seem to have their own versions but others seem to lack one.  The character I am hoping to translate most would be my Sylph swashbuckler, but was also rather interested in the pathfinder "Bloodrager".  I've tried searching the this site but have only found questions asking about converting only races or enemies from D&amp;D 3.5 to 5e, campaigns from 3.5 to Pathfinder, and only 1 question on translating a Pathfinder class (Bloodrager, coincidentally) but nothing on how to go about it.   I of course am aware a 1:1 parallel is unlikely. I am mostly looking for what the general conversion method is, as well as things I should keep note of when trying to translate characters. How do ${0##*/} and ${0%/*} work? I'm quite confused about the following regular expressions I found in a shell script:  ${0##*/} ${0%/*}   How do they work? I found the below in  web-site:     We use much in questions and negative clauses to talk about degrees of something.      We don’t use much in affirmative clauses.   Also, it the same web-site, I found the following:     She runs much faster than he does.    also I noticed that some web-sites use much with affirmative clauses:     May we all be having this much fun and getting this much exercise when we're his age!    Is it Okey to use much in affirmative clauses? If yes, when can we use it? and what is the rules?  Update:  Here is another example on how often the word "much" is used  in informal style:     After much consideration I will NOT be performing at the Inauguration with my improv group Capitol Hill-arious