The way to resize via terminal on Ubuntu, is little complicate.  So, would like to learn which are these commands for resizing this directories (/usr &amp; /root) and how to do it.
Previously, I have installed Windows 7 on my 320 GB laptop with three partitions 173, 84 and 63 GB each. The 63 GB partition was where the Windows was installed. The rest were for file containers.  Now I changed my OS to Ubuntu 12.04 LTS. I installed Ubuntu by replacing the entire Windows 7 on the 63 GB partition. The rest of the partitions remain as an NTFS Windows partition and I can still access them both (the 173 and 84 GB partitions).  Now I want to change the two partitions of Windows into an Ubuntu format partitions plus most importantly, I want to extend the 63 GB partition to more than a 100 GB because at the moment I am running out of disk space. Whenever I try to install any application, especially using wine, it always complains for a shortage of disk space.  How do I do the extending activity before I entirely format my laptop again and lose all the important files on my partitions?
How precisely do I need to post close to 7:00 (somewhere) to get hero of time? Question is :  Suppose $X$ is a topological space of infinite cardinality which is homeomorphic to $X\times X$. Then which of the following is true:   $X$ is not connected. $X$ is not compact $X$ is not homeomorphic to a subset of $\mathbb{R}$ None of the above.   I guess first two options are false.  We do have possibility that product of two connected spaces is connected.  So, $X\times X$ is connected if $X$ is connected. So I guess there is no problem.  We do have possibility that product of two compact spaces is compact.  So, $X\times X$ is compact if $X$ is compact. So I guess there is no problem.  I understand that this is not the proof to exclude first two options but I guess the chance is more for them to be false.  So, only thing I have problem with is third option.  I could do nothing for that third option..  I would be thankful if some one can help me out to clear this.  Thank you :) Integrating MySQL with Python in Windows Diagnostics for logistic regression? For linear regression, we can check the diagnostic plots (residuals plots, Normal QQ plots, etc) to check if the assumptions of linear regression are violated.  For logistic regression, I am having trouble finding resources that explain how to diagnose the logistic regression model fit. Digging up some course notes for GLM, it simply states that checking the residuals is not helpful for performing diagnosis for a logistic regression fit.  Looking around the internet, there also seems to be various "diagnosis" procedures, such as checking the model deviance and performing chi-squared tests, but other sources state that this is inappropriate, and that you should perform a Hosmer-Lemeshow goodness of fit test. Then I find other sources that state that this test may be highly dependent on the actual groupings and cut-off values (may not be reliable).  So how should one diagnose the logistic regression fit? Inexact measurement and wavefunction collapse As is usually said, measurement of an observable $q$ leads to collapse of wavefunction to an eigenstate of the corresponding operator $\hat q$. That is, now the wavefunction in $q$ representation is $\psi(q)=\delta(q-q_0)$ where $q_0$ is result of measurement.  Now, in reality measurements are never exact, so the wavefunction should not have that sharp peak. Instead it should be broadened depending on precision of measurement. In this case, can we still introduce an operator, an eigenstate of which would the new wavefunction appear? Is it useful in any way? Or does the new wavefunction depend too much on the way it was measured so that each instrument would have its own operator? How would such opeartor look e.g. for a single-slit experiment? When I use the -a option as is asked and answered in , I got a lot of "rsync: failed to set permissions on" errors.  rsync: failed to set permissions on "/ata/text/RCS/jvlc,v": Operation not permitted (1) rsync: failed to set permissions on "/ata/text/RCS/jvm,v": Operation not permitted (1) rsync: failed to set permissions on ...   Why is this? The files are normal files with permission of 0664. Use Stokes's Theorem to show $\oint_{C} y ~dx + z ~dy + x ~dz = \sqrt{3} \pi a^2$ I am a little stuck on the following problem:  Use Stokes's Theorem to show that  $$\oint_{C} y ~dx + z ~dy + x ~dz = \sqrt{3} \pi a^2,$$  where $C$ is the suitably oriented intersection of the surfaces $x^2 + y^2 + z^2 = a^2$ and $x + y + z = 0$.  OK, so Stokes's Theorem tells me that:  $$\oint_{C}\vec{F} \cdot d\vec{r} = \iint_{S}\operatorname{curl} \vec{F} \cdot \vec{N} ~dS$$  I have calculated:  $$\operatorname{curl} \vec{F} = -\vec{i} - \vec{j} - \vec{k}.$$  I then figured that on the surface $S$ we must have:  $$\vec{N}dS = \vec{i} + \vec{j} + \vec{k}dxdy$$  since this follows from the equation of the given plane.  However this will then give me:  $$\operatorname{curl} \vec{F} \cdot \vec{N} = -1 -1 -1 = -3$$  And thus I would get, if project this onto the $xy$-plane:  $$\iint_{S} \operatorname{curl} \vec{F} \cdot \vec{N} ~dS = -3 \iint_{A} dA = -3 \pi a^2$$  which is obviously not correct.  I would greatly appreciate it if someone could help me with this.  I actually had multivariable calculus a few years ago, and I know that I knew this stuff then.  However, now that I need it again I notice that I've become quite rusty.  Thanks in advance :) What is the EV scale? I have seen an "EV" (exposure value) scale that's sometimes used to express a camera's exposure settings, or scene brightness. How exactly does this scale work? Possessive form of "one of [a list]"? After I deleted my Ubuntu partition, I rebooted my computer and I only get a prompt:   grub rescue &gt;   The command ls lists   (hd0) (hd0,msdos5) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1) (hd1) (hd1,msdos1)   I check them one by one:  ls (hd0,msdos5)/ ls (hd0,msdos1)/   But I cannot find the right partition. Automatically put PGFPlots xtick scale label in x axis label I'm trying to put xtick scale label (defined by pgfkey /pgfplots/xtick scale label code/.code) in x axis label, between variable name and unit.  I've tried executing using the option xlabel = {$ x $ (\pgfkeysvalueof{/pgfplots/xtick scale label code/.code} m)} to put in but this doesn't work.  I've also tried the following xtick scale label code/.code={\pgfkeyssetvalue{/pgfplots/xlabel}{#1}} to force PGFPlots to change my xlabel but it doesn't work as well.  I know I can do this by hand, but I'm interested in automatic approach. Is there a workaround or a solution to this?  My MWE is:  \documentclass{article} \usepackage{pgfplots} \pgfplotsset{compat=1.14}  \begin{document}      \begin{tikzpicture}     \begin{axis}[         scaled x ticks=true,         scaled y ticks = false,         y tick label style={/pgf/number format/fixed},         %xtick scale label code/.code={\pgfkeyssetvalue{/pgfplots/xlabel}{#1}},         xlabel = {$ x $ (\pgfkeysvalueof{/pgfplots/xtick scale label code/.code} m)},         ylabel = {$ y $},     ]      \addplot[line width=3pt] coordinates {(0.0,0.0)(100,1)(400,2)(10000,0)};      \end{axis}     \end{tikzpicture}  \end{document}   Output from this code is: Present Perfect with the word "ago"? First, I check that my native language is not English, and the problem described below met on one of the exams.   With this sentence:      "The most important news is that my parents [...] a new restaurant a few   weeks ago."   Is the correct tense to use the Present Perfect (have opened) or Past Simple (opened)?   I know that the word "ago" but rather that time Past Simple, but is it also possible to use the present perfect in some cases?  I would be grateful for clarification. Mid 2012 MBP shuts down claiming no power with charge at 30% or 40% or more Is it feasible to build a stream cipher from a cryptographic hash function? A few years ago I devised a symmetric-key system that worked like so:  H()   = some hashing function h     = the number of bits in the result of H() key   = bits to be used as a key ^     = the XOR operation +     = concatenation len() = the length function (in bits)  max = ceiling(len(cipertext) / h) pad = pad_0 + ... + pad_max pad_0 = H(key) ^ H(plaintext) pad_n = H(pad_(n-1)) cipherpart_n = plaintext_n ^ pad_n ciphertext = H(plaintext) + cipherpart_0  + ... cipherpart_max   Basically, it builds up a "pad" based on the hash of the message and hash of the key and XORs the message against it.  I am not actually an expert, so I was wondering why an approach like this isn't very common. Is there a way to turn off an external Apple Cinema Display remotely and continue to use the computer? Here's the situation: I often access my Mac Pro remotely using Screen Sharing and sometimes TeamViewer. The problem is that when I do this, everything I'm doing can be seen by those near the physical computer. It also uses a considerable amount unnecessary power to have the displays on but not actually being used.  Is there a way to turn them off and not just blank if possible, while still using Screen Sharing or TeamViewer Free? How to turn the white colour portion to transparent I got this map icon in work in illustrator, and would like to turn those white dash line and the white outline of the location mark to transparent. Can you please advise me how to do it? Thank you in advance. How can I use commercial at sign in Objective-C macro? SQL Server equivalent to Oracle's CREATE OR REPLACE VIEW Order of a homomorphism of groups Let $f: G \to H$ be a homomorphism of groups. Assume that $a\in G$ and $\operatorname{ord}(a)=n$. Prove that the order of $f(a)$ is a divisor of $n$. I know that if $H$ is a subgroup of $G$, then $$|G|=|H|\cdot|\text{distinct cosets of $H$}|$$ so $|H|$ must be divisor of $|G|$, but I don't understand how to apply that logic to homomorphisms (or if that will even work). Any help is appreciated! removing event listener