How do I comment out ERB  in Rails?
How to comment lines in rails html.erb files?
I've tried every combination of "CLEANUP AND OUTPUT" settings that might conceivably prevent munging my HTML, but nothing works.  No matter, what, my HTML gets flattened or in some way rewritten, mainly with whitespace being trimmed off that I want to leave in.  I would suspect CKEditor (version 3.6.4.7575) except that when I tell WYSIWYG to "Apply source formatting", CKEditor doesn't prevent that, so it seems that logically this problem is in the WYSIWYG module.  "Apply source formatting" simply causes the HTML to be screwed up differently.  Some linebreaks are left in place, but spaces at the beginning of the line are left in place.  How can I prevent this, and still use a WYSIWYG editor? If $$Y=\sum_{i=1}^{N}X_i^2$$ where $X_i \sim \mathcal{N}(0,\sigma^2)$, i.e. all $X_i$ are i.i.d. normal random variables of zero mean with same variances, then $$Y \sim \Gamma\left(\frac{N}{2},2\sigma^2\right).$$  I know the chi-squared distribution is a special case of the gamma distribution, but could not derive the chi-squared distribution for random variable $Y$. Any help, please? I was reading about the equipartition theorem and I got the following quotations from my books:  A diatomic molecule like oxygen can rotate about two different axes. But rotation about the axis down the length of the molecule doesn't count. - Daniel V. Schröder's Thermal Physics. A diatomic molecule can rotate like a top only about axes perpendicular to the line connecting the atoms but not about that line itself. - Resnick, Halliday, Walker s' Fundamentals of Physics.  Why is it so? Doesn't the rotation take place that way? Redirect a portion of a bash script to a file to capture set -x output Biblatex authoryear dashed for entries with no year I'm using biblatex authoryear and have multiple entries of the same author that do not have a year. When I cite them there are letters shown to distinguish them:   But in the bibliography those letters are not shown and you can only distinguish them by the title. Is it possible to show the letters in the bibliography, too?  \documentclass[a4paper,12pt]{article}% \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{filecontents} \begin{filecontents}{bib.bib} @BOOK{bar1,   title = {Text One},   year = {},   author = {Firstname Lastname}, } @BOOK{bar2,   title = {Text Two},   year = {},   author = {Firstname Lastname}, } \end{filecontents}  \usepackage[backend=biber, style=authoryear-icomp, dashed=true]{biblatex} \addbibresource{bib.bib}  \begin{document}  \cite{bar1} and \cite{bar2}  \printbibliography \end{document} I don't know if it's the right place to ask but can somebody advise me for buying a ram memory for my computer.  I have a Dell Vostro 200 with 1GB of RAM and 667MHz. (2 x 512MB)  I want to buy raise the amount of RAM but I'm confused whether to buy 1 x 2GB or 2 x 1GB  I know it's the same for the available amount of memory but is ther a difference maybe in the clock speed so that 2 x 667MHz will be better than 1 x 667MHz. or maybe accessing one single memory slot will be faster and better than accessing two slots.  Please anyone helps. Trouble trying to use Windows Search to search for file with a question mark in the content It seems that Windows Search is having trouble when I specify a question mark character as the content that I'm searching for within my files.  I've tried:   content:? content:"?" content:"\?" content:\? content:%3f content:"%3f" content:\3f content:"\3f" content:\00\00\00\3F   but each of these yield no results when I do indeed have files that contain ? within the scope of the search. If I instead search for something like content:happy it will indeed find all files with the phrase "happy" within those same files.  My assumption is that Windows Search is treating some characters such as the question mark as a special character likely for the purpose of wild card expressions. To test this theory I've also searched for files containing an asterisk * and indeed I have the same issue as when searching for content of question mark. What I'm wondering is whether there is any way to get a search to work where I can search for a literal expression without any type of wildcard matching or at least a way to escape the special characters within the expression.  By the way I'm using Windows 7 Enterprise. Suppose $f$ is an isometric (i.e., distance preserving) function on $\mathbb{E}^2$ such that $f(0,0) = (0,0)$.  Then I want to show that $f$ is necessarily linear.  Now $f$ is linear iff $f$ is both additive and homogenous.  The following is an attempted proof for the homogeneity of f (missing the last step); still more, I have no idea how to argue for the additivity of $f$.  Any ideas?  Let $x \in \mathbb{E}^2$ and $\alpha \in \mathbb{R}$   We know that $\forall x \in \mathbb{E}^2$, $\Vert x - 0 \Vert = \Vert f(x) - f(0)\Vert = \Vert f(x) - 0 \Vert$ so that $\Vert x\Vert = \Vert f(x)\Vert$.  From this we immediately have the following facts:  $\Vert x \Vert = \Vert f(x) \Vert$  $\Vert \alpha x \Vert = \Vert f(\alpha x) \Vert$  We can then argue that since $\Vert \alpha x\Vert = |\alpha| \Vert x \Vert = |\alpha| \Vert f(x) \Vert = \Vert \alpha f(x) \Vert$, we also have that $\Vert f(\alpha x) \Vert = \Vert \alpha f(x)\Vert$.  Finally, we have that  $\Vert \alpha x - x \Vert = \Vert \alpha f(x) - f(x) \Vert$   iff $ \Vert (\alpha - 1)x \Vert = \Vert (\alpha - 1) f(x) \Vert$   iff $|\alpha - 1| \Vert x \Vert = |\alpha - 1| \Vert f(x) \Vert$  Since the last of these statements is in fact true, we now have $\Vert \alpha x - x \Vert = \Vert \alpha f(x) - f(x) \Vert$ as desired.  Now at this point it seems like I have all of the facts required to assert that $f(\alpha x) = \alpha f(x)$, but I can't figure out how to formally state why without illegally appealing to visual intuition.  Any ideas? Let $G$ be a group, $H\subseteq G$ a subgroup and $a\in G$ an element of the group. Is it possible that $aHa^{-1} \subset H$, but $aHa^{-1} \neq H$?   If $H$ has finite index or finite order, this is not possible. Are you allowed to use numbers as table names in MySQL? I'm thinking of having a program that dynamically creates new tables as the need arises. Can I have tables named with just numbers in MySQL? How to reset KDE desktop to default on Ubuntu 14.04? KDE and Gnome Desktops were looking awesome on my Ubuntu 14.04 LTS, today everything seemed ugly. Slim long font, arabic letters in Chromium/Firefox are barely readable no matter how big I made them on system font settings. How can I get back to my previous looks settings, without compromising other settings and tweaks?  Here are my versions:  kde4-config -v:  Qt: 4.8.6 KDE Development Platform: 4.13.3 kde4-config: 1.0   kded4 --version:  Qt: 4.8.6 KDE Development Platform: 4.13.3 KDE Daemon: 4.13.3 Windows 10 won't let me set default apps for file extensions How to check iOS version? How tipe are this series?  $$\sum_{n=2}^\infty \frac 1 {n^2\ln n}$$ But $$\sum_{n=2}^\infty \frac 1 {n\ln n\ln(\ln n)}$$ I used Condensation Test, but I stack after that. Thanks! Why aren't there any fighter carriers in the Star Trek universe? All of the ships of every species seem to be medium to large vessels with multiple crew members. Why aren't there single fighter craft and carrier ships to transport them in mass?  I've just noticed the difference between Battlestar Galactica and Star Trek, where the former has primarily aircraft carriers, and the latter has battleships.   Wouldn't a huge fleet of small fighters be extremely maneuverable and possibly stealthy?  Update:  For clarity, my question is not about the Federation and their choice of ships, but the universe at large. I would think there would be some diversity in space warfare strategy, such as huge armadas of fighters with base stations / carriers. Orthographic scale of camera in Blender could somebody explain how orthographic scale is calculated in Blender? I am trying to match an orthographic view that I get from another software with that of Blender, but I am not able. Camera gets in the correct position but the zoom level is wrong.  Thanks, byte How to create a Geometric Polygonal Art portrait I've been interested in creating Geometric Polygonal art illustrations, i.e. making polygons and shapes with different color shading represent a face, or an object, see  set of .  How are they achieved? Is there some script for Illustrator which alters the image adding the shapes according to the colors or shades? How would I transform a normal image of Marilyn Monroe for example, to a polygonal illustration of her? Here is a problem which i have not been able to do for quite sometime.   For $n \geq 2$, show that $n \nmid 2^{n}-1$.   I have thought of proving this in two ways: One by using induction which didn't actually work. Next by Fermat's little theorem we have $2^{p-1} \equiv 1 \ (\text{mod} \ p)$, which actually says that for $p \mid 2^{p}-2$. But i couldn't proceed more than this. Any ideas by which i can actually solve the problem? RSA encryption with private key and decryption with a public key When using the RSA cryptosystem, does it still work if you instead encrypt with the private key and decrypt with the public key? What about in the case of using RSA for sender authentication? Why has Earth's core not become solid?