I dual booted my PC 2 years ago, and I installed a 50gb partition for Ubuntu. But now I use Ubuntu most of the time. And now there is no space remaining in my Ubuntu partition. I have watched several tutorials, read many blogs, but still can't extend my Ubuntu partition size.  I have tried using GParted in Ubuntu and Disk Management in Windows. But in Gparted, I can't extend ext4 partition size    And in case of Disk Management it only shows delete and help option for the Ubuntu partition. There are no extend option.   I have a lot of free space in other drives, please someone suggest me the solution  free -h:  total        used        free      shared  buff/cache   available Mem:           7.7G        2.8G        761M        1.2G        4.1G        3.4G Swap:          1.9G          0B        1.9G  grep -i swap /etc/fstab:  # swap was on /dev/sda8 during installation UUID=6d6b17ee-13d7-49f9-90aa-6a1118c56698 none     swap    sw       0       0  sudo blkid | grep -i swap:  /dev/sda8: UUID="6d6b17ee-13d7-49f9-90aa-6a1118c56698" TYPE="swap" PARTUUID="93bc1965-08"
Till today I was using ubuntu 13.04 in my windows7/ubuntu dual boot. Just now I have upgraded to ubuntu 14.04. My software updater showed an updates available message. I proceeded with  Install Now . Soon I got the following window.    Then I tried sudo apt-get clean as recommended. Nothing happened! Not even a window opened. Teach me deleting the temporary packages.   Deleting temporary files may not be highly helpful in case of further updates and installs for I don't have too much space left in my /. I wanna extend my / partition with the help of the unallocated space in my HD. The following is my Gparted window.       I got an answer . But it wasn't useful for me. I had two choices. But the answer wasn't working for both my chioces.  Choice 1: I may use the 4.25 GiB unallocated space to extend my /dev/sda10. To do so, I must need to move my linux-swap partition. But my Resize/Move option is disabled for the linux-swap partition. Choice 1 failed!   Choice 2: I may use the 14.35 GiB unallocated space instead. In this case I must move more than one partition. /dev/sda4  partition is the first on the list. Even that partition has the same problem. Resize/Move option is disabled. Choice 2 failed!  I am out of choices now.  What shall I do? Help me to extend my / with Gparted.
Assume there is a public-key encryption scheme $(KeyGen, Enc, Dec)$ with perfect correctness (i.e., for all messages M and valid key-pairs (PK,SK), we have $Dec_{SK}(Enc_{PK}(M))=M$).  Will there always be a function $A$ such that for all messages M and valid public-keys PK, $A_{PK}(Enc_{PK}(M))=M$?  In other words, can a computationally unbounded adversary decrypt the message, having only the public key? How can I attach a file to a post? I want to attach some files to a post on one of Stack Exchange sites. What is the best way to do this? Cloning a Non-Standard Svn Repository with Git-Svn I'm relatively new to Git, but I've found it so easy to work with at home that I'd like to use it at work where our projects are stored in Svn repositories. Unfortunately, the repositories are slightly non-standard and I'm having trouble getting them cloned. Sure, they all have trunk, branches/ and tags/, but branches/ and tags/ have subdirectories before hitting the real project directories:  trunk/ branches/maintenance/release1 branches/maintenance/release2 ... branches/development/feature1 branches/development/feature2 ... tags/build/build1 tags/build/build2 ... tags/release/release1 tags/release/release2   After cloning:  $ git svn clone -s --prefix=svn/ https://mydomain.com/svnproject $ git branch -r   development   development@1340   maintenance   maintenance@1340   tags/build   tags/build@1340   tags/release   tags/release@1340   trunk   trunk@1340    I get none of the actual project branches or tags. I actually need to be able to work on the trunk, one maintenance branch and one development branch. I've tried this approach in addition to several hacks at modifying the config, but nothing is working for me.  Is there any way I can get the key components of my non-standard Svn project into a local git repository so that I can easily move between them?  Many thanks.  UPDATE: I should add that I can't do a wholesale switch to Git (yet). There are other team members involved and an international presence. The logistics of the transition are more than I'm willing to undertake until I'm much more comfortable with Git; as I mentioned, I'm still pretty new. I've barely scratched the surface of its capabilities. Expected number of games played in a game with 'win by two' rule. Calvin and Hobbes play a match consisting of a series of games, where Calvin has probability p of winning each game (independently). They play with a “win by two”” rule: the first player to win two games more than his opponent wins the match. What is the expected number of games played? My attempt: I use Markov chains. Let $S$ denote that starting state, $W$ and $L$ denote the states where Calvin and Hobbes win respectively. Then, I have $$\mu_S = 1+ p\mu_W+q\mu_L $$ $$\mu_W = 1+ q\mu_S $$ $$\mu_L = 1+ p\mu_S $$ where $\mu_j$ denote the expected number of games from state $j$. Solving the system, I get the solution $\mu_S = \frac{2}{1-2pq}$ which I think is correct. I however would like to know how to approach it with geometric distribution instead of Markov chains. I read one solution where the number of games is given as $1+\text{Geom}(p^2+q^2)$ but I do not understand it. My understanding is that for the game to stop, the required probability is $p^2 + q^2$ since this is the probability that either Calvin or Hobbes win two games in a row. How to use this information in a Geometric random variable? Thanks. Here is the problem: From any IP address not belonging to your mail server:  telnet me.myemailserver.com 25    helo me.someserver.com mail from: &lt;yourusername@mydomain.com&gt; rcpt to: &lt;yourusername@mydomain.com&gt; data This is spam.  Buy my stuff. .   I'm using Postfix.  I'm having a problem finding a solution to requiring SMTP-AUTH for email claiming to be from mydomain.com.  Googling around, this guy has identified the same problem (where I cut-n-paste with some modifications) the above example from:   This link   gets close to a solution but it has a side effect of requiring SMTP-AUTH for mail not from mydomain.com.  For mail not claiming to be from mydomain.com, I would do the usual RBL and Spam filtering.  In short, I want to reject mail to local domains (mydomain.com) from outside/unauthenticated clients claiming to be from local domains (mydomain.com).  This is what I tried: I've tried both permit and reject as the default.  Here is exact excerpt from my main.cf:  smtpd_recipient_restrictions = reject_unauth_pipelining,                            permit_sasl_authenticated,                            check_recipient_access pgsql:/etc/postfix/pgsql-recipient.cf,                            reject_unauthenticated_sender_login_mismatch,                            reject_unauth_destination,                            reject_unlisted_recipient,                            check_sender_access pgsql:/etc/postfix/pgsql-sender.cf,                            reject_unlisted_sender,                            reject_invalid_hostname,                            reject_non_fqdn_hostname,                            reject_non_fqdn_sender,                            reject_non_fqdn_recipient,                            reject_unknown_sender_domain,                            reject_unknown_recipient_domain,                            reject_rbl_client cbl.abuseat.org,                            reject_rbl_client sbl.spamhaus.org,                            reject_rbl_client sbl-xbl.spamhaus.org,                            reject_rbl_client bl.spamcop.net,                            reject_rbl_client dnsbl.njabl.org,                            reject_rbl_client blackholes.wirehub.net,                            reject_rbl_client relays.mail-abuse.org,                            reject_rbl_client dialups.mail-abuse.org,                            reject_rbl_client blackholes.mail-abuse.org,                            reject_rhsbl_sender dsn.rfc-ignorant.org,                            (reject and permit both tried here) Evaluating the sum $\sum_{n=1}^{\infty}\dfrac{(-1)^{n}}{n^{2}}$ I am tasked to evaluate the sum  $$\sum_{n=1}^{\infty}\dfrac{(-1)^{n}}{n^{2}}$$ Using contour integration. This is what I've done so far.   Let $C_{N}$ be the square defined by the lines $x=\pm(N+\tfrac{1}{2})\pi$ and $y=\pm(N+\tfrac{1}{2})\pi$. Let $f=\tfrac{1}{z^{2}\sin(z)}$. I was able to prove that  $$\int_{C_{N}}\dfrac{1}{z^{2}\sin(z)}dz=2\pi i\left[\dfrac{1}{6}+2\sum_{n=1}^{N}\dfrac{(-1)^{n}}{\pi^{2}n^{2}} \right]. $$  By Cauchy's residue theorem. So now if I could prove that he integral converges to zero then I would be done. The problem is that I can't seem to get an upper bound on the integral. I've having trouble with the fact that $|f|$ is unbounded within $C_{N}$ so ML inequality doesn't help me. Any hints would be great. Thanks. Hi is it possible to exclude traffic from a certain country in google analytics?  If yes, how do I do it? $2\times2$ matrix $A$ such that $A$ has one independent eigenvector while $A^{2}$ has two independent eigenvectors Fire (at, on, in, to) target How to correctly choose the preposition in "fire (at, on, in, to) target"? How can I download a Flash video from a website? How to install and use Ubuntu from a USB flash drive on Windows 8? A type-I superconductor can expel almost all magnetic flux (below some critical value $H_c$) from its interior when superconducting. Light as we know is an electromagnetic wave. So what would happen if we shine a light deep into a type-I superconductor? Suppose the magnetic field of the light is significantly lower than $H_c$.  And what about type-II superconductors? I'm trying to display models that have shading drawn or baked directly on the textures, but I can't figure out how to disable Blender's default scene lighting. If there are no lights in the scene, everything is black, but I want to see the textured objects fully bright. How do I disable the lighting?  NOTE: Just before posting this, I found the "Shadeless" material property, which does more or less what I want. However, is there a way to globally toggle the default lighting? automatically apply special formatting to selected words in text TV series from 70s or 80s - 1 female pilot was cloned from the other pilot's fingernail This was a tv show that aired in the US in the '70s or early '80s, possibly on Saturday mornings. Since I was a child, I'm assuming it was a kids program? It was comic science fiction and set on a spaceship. The only 3 specific details I remember are:   The crew traveled between ship levels by using open "jump tubes" that were similar to a giant vacuum tube message system, only without any "container" for the passenger. They just stepped into an alcove with a big hole in the floor and ceiling, then shot up or down. Frequently the show would use this as a source of slap-stick comedy.  The captain was male. The 2 pilots were female, and 1 had been cloned from the other's fingernail cell. They often disagreed about which one was the clone. Check if an image is loaded (no errors) with jQuery Why is `enjoy to [verb]` incorrect I can say:     I love to read. I hate to read.   But it must be:     I enjoy to read. I enjoy reading.   What is enjoy so different? Is Meta Stack Overflow just the meta for Stack Overflow or is it a somewhat special meta site? Initially I thought that Meta Stack Overflow was the common meta for all SE sites.   Then I noted that  has its own meta site.   It took a while for me to learn that even Server Fault has its own meta site.  Looking at my reputation points, I see difference between Stack Overflow and Meta Stack Overflow, but not between the other sites and there corresponding meta sites.  Now, is Meta Stack Overflow in some sense the master meta site of all or not? Let $x_1,x_2,\ldots,x_n$ be the roots for $1+x+x^2+\ldots+x^n=0$. Find the value of   $$P(1)=\frac{1}{x_1-1}+\frac{1}{x_2-1}+\ldots+\frac{1}{x_n-1}$$   Source: IME entrance exam (Military Institute of Engineering, Brazil), date not provided (possibly from the 1950s)  My attempt: Developing expression $P(1)$, replacing the 1 by $x$, follows $$P(x)=\frac{(x_2-x)\cdots (x_n-x)+\ldots+(x_1-x)\cdots (x_{n-1}-x)}{(x_1-x)(x_2-x)\cdots (x_n-x)}$$    As $x_1,x_2,\ldots,x_n$ are the roots, it must be true that   $$Q(x)=(x-x_1)\cdots(x-x_n)=1+x+x^2+\ldots+x^n$$ and  $$Q(1)=(1-x_1)\cdots(1-x_n)=n+1$$ Therefore the denominator of $P(1)$ is  $$(-1)^{n} (n+1).$$ But I could not find a way to simplify the numerator.  Another fact that is probably useful is that  $$1+x^{n+1}=(1-x)(x^n+x^{n-1}+\ldots+x+1)$$ with roots that are 1 in addition of the given roots $x_1,x_2,\ldots,x_n$ for the original equation, that is  $$x_k=\text{cis}(\frac{2k\pi}{n+1}),\ \ k=1,\ldots,n.$$  This is as far as I could go...    Hints and full answers are welcomed. How does ssh run a command? I'm using Bash on both client and server. When running a command over SSH:   ssh &lt;host&gt; 'declare' gives a list of shell variables. ssh &lt;host&gt; 'mount' gives a list of mountpoints.   However, declare is a Bash builtin, while mount is an external command. How does SSH know which to run if there is a shell builtin and an external command with the same name on the server?