hello my var directory is full and i want to add space to directory but i can't. I have a lot of space in the /home and root directory and I want to give it to /var I used GParted as a live CD but it did not allow me to increase or decrease and I do not know what to do and i'm not professional please help me
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?
I need to exclude .git from my find search. To achive that, I am using the -path ./.git -prune switch:  $ find . -path ./.git -prune -o \( -type f -o -type l -o -type d \) | grep '.git' ./.git   However, even though this skips the contents of the .git directory, it lists the directory itself. It works when I add -path ./.git -prune -o -print -a  find . -path ./.git -prune -o -print -a \( -type f -o -type l -o -type d \) | grep '.git'   Why is this necessary. I thought that both commands should have same output. The second syntax is quite ugly. I see that there a number of questions (, , , , ) on best practices, none of them answer the issue I am going to talk about.  We all need to prepare large documents (or slides) from time-to-time. And once you have reached a certain number of pages, you find that compiling the whole document takes a substantial time, which you need to do to check that the part you have written is error free, specially if it contains a number of images.   To circumvent the situation, I have used the following practices over years to keep compile time at minimum.   Divide the document in to many chapters: The chapters are put in separate files. Only the one I am working one is uncommented.  \documentclass{book}  \begin{document}  %\input {chapterone.tex} \input {chaptertwo.tex} %\input {chapterthree.tex} %\input {chapterfour.tex}  \end{document}    The above technique can also be used for \include.   Keep a preamble replica of the main file in a temporary file (build file): I use this technique when I am preparing a presentation with many slides, say a hundred. Prepare a main file, copy it to another build file. Delete everything between  \begin{document} and \end{document} in the build file. Prepare a slide (or a group of slides) in the build file. Cut and paste the contents between \begin{document} and \end{document} in the build file to relevant location in the main file only when satisfied with the output (image locations, overfull boxes etc.)     We can hear your inputs about the best practices you practice when a you are preparing a document or presentation from scratch.    Now, I have failed to find a good answer in the case when you have finished the whole document or presentation and now you need tweaking the small things, may be edit a text here, add an image there. What will be your best practice?  Perhaps, again keeping only one chapter uncommented will be usable here. But what about large presentations? May be adding a \end{document} just after the point-of-change will be beneficial, but only if you can put that before midpoint of the file.  Commenting a part of the file will also work, but that is error-prone, at least for me. When should I upgrade my camera body? As the question says, when should I upgrade my camera body? In particular, if I have a low- to mid-range body (A DSLR such as a Nikon D3200 or Nikon D5100, or Canon SL1 or T5, or a mirrorless camera such as a Panasonic GH3 or an Olympus E-PL6). How do I know when I need to upgrade?  I have a complement of "kit" lenses, such as an 18-55mm f3.5-5.6 and a 55-200mm f4-5.6. Maybe I've even added a 50mm 1.8 to the kit. Flash is only for indoors (right?) and I usually shoot outside, so that means I don't need an external flash.  I shoot photos of my family and friends whether out at the park or having a picnic, my kids sports practices and games, vacation photos, as well as some landscapes, flowers, and whatever else catches my eye. Pretty familiar territory. I'm not a professional and don't intend to become one. Can QGIS export Geospatial PDF for Avenza PDF map app? Since QGIS uses GDAL, does any map exported as a PDF become a Geospatial PDF? I am hoping to import maps from QGIS into the Avenza PDF Map app on my phone. Previous posts mentioned exporting as Geospatial PDF's and GeoTiff's, but none had an exact answer or process. Plotting the function $f(x)=x^{1/3}$ defined for any real number $x$ gives us:   Since $f$ is a function, for any given $x$ value it maps to a single y value (and not more than one $y$ value, because that would mean it's not a function as it fails the vertical line test). This function also has a vertical tangent at $x=0$.   My question is: how can we have a function that also has a vertical tangent? To get a vertical tangent we need 2 vertical points, which means that we are not working with a "proper" function as it has multiple y values mapping to a single $x$. How is it possible for a "proper" function to have a vertical tangent?  As I understand, in the graph I pasted we cannot take the derivative of x=0 because the slope is vertical, hence we cannot see the instantaneous rate of change of x to y as the y value is not a value (or many values, which ever way you want to look at it). How is it possible to have a perfectly vertical slope on a function? In this case I can imagine a very steep curve at 0.... but vertical?!? I can't wrap my mind around it. How can we get a vertical slope on a non vertical function? How to Disable new terms (free tagging) with Taxonomies? I am using ArcMap 10.2 and I'm looking for a way to add  a table containing certain fields from select elements from a featureclass to my map. Ive tried the add table option from the attribute table, but it doesn't quite give what I want (the table must be editable to look a certain way).   Are there any options out there for 10.2 like arcpy.mapping.tableview or will upgrading to 10.3 so I can get access to the "graphic table element" function be best? Creating if-else condition with ArcGIS API for JavaScript combo boxes? How do I format my code blocks? How do I post text so that it is formatted as code?  What do I need to do so that my code shows up properly &mdash; not escaped or removed &mdash; when posted? And how to get the correct syntax highlighting?     For more information, see "" in the . How to run GUI applications remotely on a headless server? I'm new to Ubuntu - sorry for novice questions. What I have - is Ubuntu server, to which I have access only via ftp and putty. What I would like to do - is to run firefox (or any other browser) from that Ubuntu machine.  I've managed to install firefox , but when I'm trying to run something like this:  x-www-browser http://google.com   It is saying:  Error: no display specified   I don't understand - there is no display at all at Ubuntu sever - it is just computer case on rack, the only display I have - is mine.  Don't know, how to redirect this display output to my machine (if this is possible at all). Are $_SESSION variables stored on the client or the server? I own a Windows 10 K or N Edition which doesn't include the media player package. My problem is: I want to have preview thumbnails in the explorer for my MP3s and videos.  I had the issue before when I updated to Win10 but there  saved me. Since the Anniversary update they are gone again.   Now I can install the old update but I still don't get the media player nor the preview images.  I tried most of the things Microsoft offers me but they are either not installable or don't work.  Any ideas what might be the correct update package?  Thx!  Ron Show that the Sorgenfrey line does not have a countable basis. I am trying to understand this proof from Munkres' book which shows that the Sorgenfrey line does not have a countable basis. His proof is:  Let $\beta$ be a basis for $\mathbb{R}_l$. Choose for each $x$ an element $B_x \in \beta$ such that $x \in B_x \subset [x, x+1)$. If $y$ is not equal to $x$ then $B_y \neq B_x$ since inf($B_x$) = $x$ and $y$ = inf($B_y$). Therefore $\beta$ must be uncountable.   I am new to topology so I am probably just missing a simple point but I do not see why $\beta$ must be uncountable according to this argument. I agree that $B_y \neq B_x$ but isn't it possible that $y \in B_x$ (and thus the set $B_y$ is not needed as part of the basis)? Thanks in advance for your help. ASP.NET MVC - Can't bind array to view model Add transparency to an existing PNG I'd like to use this image on a web site.    What I need to do is change the background from black to transparent, so I can use the arrow on my site maintaining the page background.  I used Gimp to convert the image to .png, but how do I proceed now? What is the difference between the Circle-K and Lawson Power Cube? Do I need a transit visa for a layover via airports in the UAE, such as Dubai International Airport or Abu Dhabi International Airport? If so, what are the requirements for such a visa? Can I get the transit visa on arrival? ASP.NET MVC JsonResult Date Format I have a controller action that effectively simply returns a JsonResult of my model. So, in my method I have something like the following:  return new JsonResult(myModel);   This works well, except for one problem. There is a date property in the model and this appears to be returned in the Json result like so:  "\/Date(1239018869048)\/"   How should I be dealing with dates so they are returned in the format I require? Or how do I handle this format above in script? Is it safe to connect a battery in series to wall via adapter?  I have an AC adapter which gives me 10 vDC from the wall (220 volts). I've measured the adapter and it outputs 10 vDC. I have a 3 volt battery. I would like to connect in series to get 13 vDC.   Is this possible? Is this safe? If not, what can go wrong? My university's thesis guidelines require that each bibliographic entry appear in whole on a single page, rather than being split across two. How can I prevent (La)TeX breaking a paragraph across a page boundary?