If I do not use tmux my terminal is the following:  ~$ echo $TERM xterm   If I use tmux by adding the following into .bashr  # tmux configuration tmux attach &amp;&gt; /dev/null  if [[ ! $TERM =~ screen ]]; then     exec tmux fi   My .tmux.conf has a line set-option -g default-terminal "screen-256color", but the terminal is the following:  ~$ echo $TERM screen   This makes VIM ugly.  How can I get the tmux to use screen-256color?  Using gnome terminal on Ubuntu 14.02
I have 256 colors working just fine in konsole,. I thought I'd give tmux a try because, unlike screen, it seems to support vi mode.  However I find that the colors of my prompt show up and this is most likely because I have a 256 color mode prompt. What do I need to do to get tmux to recognize all 256 colors?
How can I remove the BOM from a UTF-8 file? I have a file in UTF-8 encoding with BOM and want to remove the BOM. Are there any linux command-line tools to remove the BOM from the file?  $ file test.xml test.xml:  XML 1.0 document, UTF-8 Unicode (with BOM) text, with very long lines Graphing y=x^2 and y=x I want to draw the region bounded by y=x^2 and y=x. Any ideas? I was hoping this would be somewhat simple. I've tried used a similar, with \begin{axis}..\end{axis}, but it doesn't like that. Did I not declare a package or something?   Also, if I wanted to show the solid this region creates by rotating it about the x-axis, is there a way to did this in latex? (If you had cal 2, think volume of a solid rotated about ...). How to copy files that have too long of a filepath in Windows? What exactly is the Box-Jenkins method for ARIMA processes? The  page says that Box-Jenkins is a method of fitting an ARIMA model to a time series. Now, if I want to fit an ARIMA model to a time series, I will open up SAS, call proc ARIMA, supply the parameters $p,d,q$ and SAS will give me AR and MA coefficients. Now, I can try different combinations of $p,d,q$ and SAS will give me a set of coefficients in each case. I select the set with the lowest Akaike information criterion.  My question is: where in the above procedure did I use Box-Jenkins? Am I supposed to use Box-Jenkins to come up with initial estimates of $p,d,q$? Or did SAS use it internally somehow? Roll back from OS X Mavericks ( or any newer OS) to Mountain Lion I installed the developer preview of OS X Mavericks, &amp; too many things broke. I can't stay on it &amp; need to roll back to Mountain Lion. Any ways of doing that? Please help!  I originally installed Mountain Lion &amp; Mavericks through the Mac App Store. I'd like to understand  and its contents as to what it implies in a bit simpler terms. I am familiar with mathematics unto Calculus 1,2,3 and some linear algebra and group theory. I am familiar with that for each symmetry there is a conservation law.    Now is there a one-one correspondence between these two always? What about laws like conservation of charge?  And conservation of energy?  And conservation of mass?  Considering our view of nature was changed as Special Relativity was introduced and thus, what earlier the theorem would have asserted as mass and energy to be originating from different symmetries then how did we reconcile these two as just one symmetry? How do I make Div Container 100% width only on homepage of site? Cantrips seem to be the only type of spell that cares only about your class level. However, in the multiclassing section they are not mentioned, does this mean that cantrips use your character level, instead of your class level?  Does this mean a Warlock 2 / Fighter 15 can cast an Eldritch Blast with 4 beams just like a level 17 Warlock? Proving $(P(AB))^2+(P(AB^c))^2+(P(A^cB))^2+(P(A^cB^c))^2\ge\frac{1}{4}$ for any events $A$ and $B$ Show that for any two events $A$ and $B$, $$(P(AB))^2+(P(AB^c))^2+(P(A^cB))^2+(P(A^cB^c))^2\ge\frac{1}{4}$$   Using the Inclusion-Exclusion formula, De Morgan's law and $P(AB^c)=P(A)-P(AB)$, I was able to expand the $\rm{l.h.s.}$ as $$(x+y)(x+y-4z)+2z(2z+1)+x(x-2)+y(y-2)+1\quad...\quad(*),$$ where $x=P(A),y=P(B)$ and $z=P(AB)$.  However I'm not being able to group the terms involved in the $\rm{l.h.s.}$ to form a 'suitable' expression and probably the way I have grouped them is not correct.  The expression $(*)$ is subject to the condition   $\max\{0,x+y-1\}\le z\le \min\{x,y\}$ and obviously $0\le x,y,z\le 1$, but I am unable to use this.      Is there an elegant/slick way to show the inequality? It probably can be shown without a lot of work and it's possible I'm missing something trivial here. Proof that the One-Dimensional Simple Harmonic Oscillator is Non-Degenerate? The standard treatment of the one-dimensional  (SHO) using the raising and lowering operators arrives at the countable basis of eigenstates $\{\vert n \rangle\}_{n = 0}^{\infty}$ each with corresponding eigenvalue $E_n = \omega \left(n + \frac{1}{2}\right)$. Refer to this construction as the abstract solution.  How does the abstract solution also prove uniqueness? Why is there only one unique sequence of countable eigenstates? In particular, can one prove the state $\vert 0\rangle$ is the unique ground state without resorting to coordinate representation? (It would then follow that the set $\{\vert n \rangle\}_{n = 0}^{\infty}$ is also unique.)  The uniqueness condition is obvious if one solves the problem in coordinate representation since then one works in the realm of differential equations where uniqueness theorems abound. Most textbooks ignore this detail (especially since they often solve the problem both in coordinate representation and abstractly), however I have found two exceptions:   Shankar appeals to a theorem which proves one-dimensional systems are non-degenerate, however this is unsatisfactory for two reasons:   Not every one-dimensional system is non-degenerate, however a general result can be proven for a large class of potentials (the SHO potential is in such a class). The proof requires a departure from the abstract solution since it classifies the potentials according to their functional properties.  Griffiths addresses this concern in a footnote stating that the equation $a \vert 0\rangle = 0$ uniquely determines the state $\vert 0\rangle$. Perhaps this follows from the abstract solution, however I do not see how. Summary table with a field that shows components of each summarized record What is The Rule of Three? How do I create my own URL protocol? (e.g. so://...) I have seen:   http://www... ftp://blah.blah... file://blah.blah... unreal://blah.blah... mailto://blah.blah...   What is that first section where you see http and the like called?  Can I register my own? How to solve "Unable to find expected entry 'restricted/binary-1386/Packages' Wrong sources.list entry or malformed file"? How do I get the value of a textbox using jQuery? possessive apostrophe for two things or persons What is the difference between the two sentences below? Are they the same or different in meaning?     Jack and Laura's new house is almost ready.      Jack's and Laura's new house is almost ready.   To my perception, the first says two of them have one house and the second says each one has a (different) house (which is almost ready). Is my perception correct?  EDIT: If I don't use "houses" instead of "house" (for my second interpretation), does it mean the sentence is wrong? The Stack Imgur service is no longer resizing images correctly How do you compute the earth's radius at a given geodetic latitude? when upgrading to a 200 amp service panel with service drop coming from bottom underground do I need southern California Edison to come disconnect and then reconnect or can I just do it on my own. I do have a permit. How do I hide an element when printing a web page?