I was a user of ubuntu 8 or whatnot a couple of years ago,nowadays I've been working with Ubuntu 14.04 for some time and I've picked up the habit of putting my thoughts into a simple gedit document. However, as the system tends to crash every once in a while for absolutely no good reason (Toshiba is one, though), I often forget to save the document before I am forced to restart the computer. I can see the back up file right below the original one, yet when I try to open it it will try to find a program to do it, yet quite unsuccessfully. Is there anyone out there who can help me, por favor?
So, I just finished off the first part of an important task for school and today when I was going to continue, the document with my notes were gone. The only fragment I've got left of my file is the back up file, which doesn't show in the folder where I saved the document, but I can search for it.  Is there anyway which allows me to open the back up file, save it as a text file and continue my task? I don't really have the time for running restoring tools, which never has helped me in a satisfactory way anyway.  I wrote the document in gedit and my version of Ubuntu is 12.10.
I need to add a new field in the @book or @InProceedings entries: this field is "tome", for I have for instance the following title:  Francesco Bertolini, Società di trasmissione orale: mito e folclore, in Lo spazio letterario della Grecia antica, a cura di G. Cambiano, L. Canfora e D. Lanza, vol. I, tomo I, Salerno, Roma 1992, pp. 47--75.   So the following code is not enough:  @InProceedings{ bertolini:1992,   author                   = "Francesco Bertolini",   title                    = "Società di trasmissione orale: mito e folclore",   booktitle                = "Lo spazio letterario della Grecia antica",   editor                   = "G. Cambiano and L. Canfora and D. Lanza",   publisher                = "Salerno",   location                 = "Roma",   year                     = "1992",   volume                   = "1,   pages                    = "47--75", }   Using othes codes, I was able only to produce the "tome" field, but with a general trouble about the other fields:  \DeclareSourcemap{   \maps[datatype=bibtex]{     \map{       \step[fieldsource=tome,fieldtarget=usera]     }   } } \DeclareFieldFormat{usera}{tomo\space{#1}}   \DeclareBibliographyDriver{book}{%   \usebibmacro{author/editor}%   \setunit{\labelnamepunct}\newblock   \usebibmacro{title}%   \newunit\newblock   \usebibmacro{journal+issuetitle}%   \setunit{\bibpagespunct}%   \printfield{pages}%   \newunit\newblock   \printfield{usera}%   \usebibmacro{finentry}} \renewcommand*{\finentrypunct}{}   (useful for articles, but not for my case). By real, I'm not able to understand  which bibmascros I have to invocate...  I tried to write a biblatex-tome.dbx:  \ProvidesFile{biblatex-tome.dbx}   \DeclareDatamodelFields[type=field,datatype=literal,skipout=false]{tome}   \DeclareDatamodelEntryfields{tome}   Inside the main .tex file I put just this code:  \DeclareFieldFormat{tome}{\mkbibacro{tome}\addcolon\space #1} \newcommand*{\patchmoretome}[1]{   \xpatchbibdriver{#1}%     {\printfield{tome}}     {\printfield{tome}%           \newunit\newblock      \printfield{tome}}%     {\typeout{patching #1 to include more tome succeded}}%     {\typeout{patching #1 to include more tome failed}}% } % patch all drivers \patchmoretome{article} \patchmoretome{book} \patchmoretome{collection} \patchmoretome{inbook} \patchmoretome{incollection} \patchmoretome{inproceedings} \patchmoretome{manual} \patchmoretome{periodical} \patchmoretome{proceedings} \patchmoretome{report} \patchmoretome{thesis}   but it doesn't print the field in bibliographic entry. So I'm very confused about a (re)writing of driver For each $y \in \mathbb{R}$ either no $x$ with $f(x) = y$ or two such values of $x$. Show that $f$ is discontinuous. This is from Apostol's Mathematical Analysis.  Let $f$ be a function defined in $[0, 1]$ such that for each real number $y$ either there is no value of $x \in [0, 1]$ such that $f(x) = y$ or there are exactly two such values of $x$. Prove that a) $f$ must be discontinuous on $[0, 1]$. b) $f$ has an infinite number of discontinuities in $[0, 1]$.  Long back I had tried to solve the problem. I reasoned for a) as follows: Suppose that $f$ is continuous and let $m, M$ be its minimum and maximum values on $[0, 1]$. Clearly if $m = M$ then $f$ is constant and clearly for every $x \in [0, 1]$ we have $f(x) = m = M$ which contradicts given property of $f$. So we must have $m &lt; M$. Clearly there are now four distinct points $a, b, c, d$ in $[0, 1]$ such that $f(a) = f(b) = m, f(c) = f(d) = M$. By checking possible linear orderings of $a, b, c, d$ I could find a find a value of $y \in (m, M)$ for which there exist more than 2 values of $x$ such that $f(x) = y$. However this approach looks very clumsy and I suspect much simpler and easier proof is possible. Part b) seemed bit complex and my only guess was that probably $f$ was discontinuous on each subinterval of $[0, 1]$ but I could not prove this claim (may be the claim is wrong!). Perhaps there is a simpler solution to this part of the problem. Apostol's also asks to provide an example of such a function. Any hints on the overall problem will be appreciated.  Update: After looking at Marc's answer, I think I have found a way to show that there are infinitely many discontinuities. Earlier the solution was a part of the question itself but it made the question look quite lengthy hence I moved it to a separate answer. What does UNDEF and notype() mean when seeing the C++ library information using dumpbin? Prove that $\left | \frac{a-b}{a+b}+\frac{b-c}{b+c}+\frac{c-a}{c+a} \right | < \frac{1}{8}.$ Let $a,b,$ and $c$ be the lengths of the sides of a triangle. Prove that $$\left | \dfrac{a-b}{a+b}+\dfrac{b-c}{b+c}+\dfrac{c-a}{c+a} \right | &lt; \dfrac{1}{8}.$$   The best idea I had was to expand the fractions to get something nicer. So we get $\dfrac{a-b}{a+b}+\dfrac{b-c}{b+c}+\dfrac{c-a}{c+a} = \dfrac{a^2 b-a^2 c-a b^2+a c^2+b^2 c-b c^2}{(a+b) (a+c) (b+c)}.$ Then I would try to relate this to side lengths of a triangle to prove the desired inequality but that is the step where I am unsure. We have two PHP5 objects and would like to merge the content of one into the second. There are no notion of subclasses between them so the solutions described in the following topic cannot apply.    //We have this: $objectA-&gt;a; $objectA-&gt;b; $objectB-&gt;c; $objectB-&gt;d;  //We want the easiest way to get: $objectC-&gt;a; $objectC-&gt;b; $objectC-&gt;c; $objectC-&gt;d;   Remarks:   These are objects, not classes. The objects contain quite a lot of fields so a foreach would be quite slow. So far we consider transforming objects A and B into arrays then merging them using array_merge() before re-transforming into an object but we can't say we are proud if this. How can I play Pokémon GO without Internet? I downloaded Pokémon GO on my Samsung Galaxy Express and I can play it at home, but when I go outside I can't play because there is no Internet.  How can I play Pokémon GO without Internet outside? What are matter waves made of and what is their speed? How do I calculate the distance between two points specified by latitude and longitude?  For clarification, I'd like the distance in kilometers; the points use the WGS84 system and I'd like to understand the relative accuracies of the approaches available. Using the affine linearized polynomial $f(x)=x^p-x-b$ is irreducible over $\mathbb{F}_q$ if and only if $\operatorname{Tr}_{\mathbb{F}_q/\mathbb{F}_p} \neq 0$. But here $\mathbb{F}_3$ is not a field extension of $\mathbb{F}_5$.  Also we have that: Let $a \in \mathbb{F}_q$ and let $p$ be the characteristic of $\mathbb{F}_q$. Then the trinomial $x^P - x - a$ is irreducible in $\mathbb{F}_q[x]$ if and only if it has no root in $\mathbb{F}_q$. Unable to set placeholder on password input These two operators commute...but their eigenvectors aren't all the same. Why? The Hamiltonian   $$H =  \left[ \begin{array}{cccc} a &amp; 0 &amp; 0 &amp; -b \\ 0 &amp; 0 &amp; -b &amp; 0\\ 0 &amp; -b &amp; 0 &amp; 0\\ -b &amp; 0 &amp; 0 &amp; -a \end{array} \right] $$  commutes with the qubit exchange operator  $$ P = \left[ \begin{array}{cccc} 1 &amp; 0 &amp; 0 &amp; 0 \\ 0 &amp; 0 &amp; 1 &amp; 0\\ 0 &amp; 1 &amp; 0 &amp; 0\\ 0 &amp; 0 &amp; 0 &amp; 1 \end{array} \right] $$  So I would expect the two to have the same eigenvectors. The eigenvectors of $P$ are easily seen to be $(1,0,0,0)^T; (0,0,0,1)^T; (0,1,1,0)^T ; (0,1,-1,0)^T$. The latter two are also eigenvectors of $H$, but the first two are not. Why? I thought commuting operators shared the same eigenbasis? Equivalent of *Nix 'which' command in PowerShell? How do I ask PowerShell where something is?    For instance, "which notepad" and it returns the directory where the notepad.exe is run from according to the current paths. Moment generating function of the natural sufficient statistics of Gamma distribution I have $X_1,X_2 ... X_n$ Gamma-distributed r.v with density:    First of all I showed, that Gamma distribution belongs to exponential family and can be represented in form     I found, that for Gamma distribution $B(\theta) = log(\theta)$ where $\theta$ is $\alpha/\beta$  Then we know, that moment generating function of the random variable $T(X)$ is given by $$M(t)=\exp\{B(\theta+t)-B(\theta)\}$$  Natural sufficient statistics for Gamma distribution is:    But I didn't understand what should I do next? Because Natural sufficient statistics is two dimensional it confuses me:  $M(T) = exp[log(\theta + T) - log(\theta)]$  and $T = [s,t]^\intercal$ Solving 2-degree equations in 3 variables. We are given 3 equations: $x^2+\sqrt3 xy + y^2 = 25$ $y^2 + z^2 = 9$ $x^2 +xz+ z^2 = 16$. $x,y,z$ are positive real numbers. Then we have to find value of $xy + 2yz + \sqrt3 xz$. Debugging scripts, what is the difference between -x to set -euxo pipefail? The main way I know to debug scripts is adding -x to the shabang (#!/bin/bash -x).  I recently came across a new way, adding set -euxo pipefail right under the shabang, as in:  #!/bin/bash set -euxo pipefail   What is the main difference between the two ways of debugging? Are there times you would prefer one above the other?  As a freshman, , I couldn't extract such conclusion. Is there an GUI Designer for python? Is there a GUI IDE for programming python just like java has netbeans?  I wanted one where we could drag &amp; drop test boxes &amp; labels just as we do in swing components using netbeans or eclipse.  Or is there an add-on present in either netbeans or eclipse itself? Caps-lock remapping stops working What is duplicate content and how can I avoid being penalized for it on my site? This is a general, community wiki question regarding duplicate content.  If your question was closed as a duplicate of this question and you feel that the information provided here does not provide a sufficient answer, please open a discussion on .     What does Google consider to be duplicate content? Will the way I am presenting my content result in a duplicate content penalty? How can I avoid having my site's content treated as duplicate content? Executing cmd.exe commands from Java I would like to create a String.replaceAll() method in JavaScript and I'm thinking that using a regex would be most terse way to do it.  However, I can't figure out how to pass a variable in to a regex.  I can do this already which will replace all the instances of "B" with "A".  "ABABAB".replace(/B/g, "A");   But I want to do something like this:  String.prototype.replaceAll = function(replaceThis, withThis) {     this.replace(/replaceThis/g, withThis); };   But obviously this will only replace the text "replaceThis"...so how do I pass this variable in to my regex string?