I'm currently using the latest version on Ubuntu. It's great but I would like to use windows 10 as there are many more games and aplications running on that operating system. Is there any way i can dual boot or get windows without loosing all of my data.  I'm new to computer stuff as i have only just built mine. Thanks in advance.
I currently have Windows 7 on my computer and I want to install Ubuntu alongside Windows safely.  Could someone please provide clear instructions?
SQL Server - copy stored procedures from one db to another Number theory counting sums of squares modulus This is an extra question from an old examination paper:     VI. Let $n&gt;1$ in $\mathbf{Z}$ and let $r(n) = \#\{(a,b)\in \mathbf{Z}^{2};n=a^{2}+b^{2}\}$ Let also $n=n&#39;n&#39;&#39;n&#39;&#39;&#39;$ where $n&#39;,n&#39;&#39;,n&#39;&#39;&#39; \in \mathbf{N}$ and   $p|n&#39; \Longrightarrow p\equiv 1\mod 4 ; p|n&#39;&#39; \Longrightarrow p=2 ; p|n&#39;&#39;&#39; \Longrightarrow p\equiv 3 \mod 4$   for $p\in \mathbf{N}$ prime.   i) Show that if $n&#39;&#39;&#39;$ is not a square, then $r(n)=0$.  ii) Show that if $n&#39;&#39;&#39;$ is a square and $n&#39; = 1$, then $r(n)=4$  iii) Show that if $n&#39;&#39;&#39;$ is a square and $1&lt;n&#39;=p_{1}^{e_{1}}\ddots p_{k}^{e_{k}}$ where $p_{1},...,p_{k}$ are different primes in $\mathbf{N}$ and $e_{1},...,e_{k} \in \mathbf{N}$, then it holds that $r(n)=r(n&#39;)=4(e_{1}+1)\ddots (e_{k}+1)$    I am completely dumbstruck and can't see how to begin (and neither did an older student who took this exam and whom I asked for hints). Help is greatly appreciated. Adding vertical space at the start of a page I'd like to, first thing before writing anything on a page, add some vertical space.  Minimal (non)working example:  \documentclass{article} \begin{document}  \vspace{250px} I want to be further down on the page :(  \vspace{250px} Haha! Sucker :D \end{document}     How can I get the first \vspace to work, just like the second one? Can I put a rack on a carbon road bike? I got a carbon-framed  recently but I also want to use it for commuting to and from work and I want a place to put my lock and other stuff on the bike. Is it possible to have a rack on this kinda bike. Custom cursor in WPF? I want to use an image or icon as a custom cursor in WPF app. What's the best way to do it? Is there a way to convert number words to Integers? I try to get rounded corners on a UIImage, what I read so far, the easiest way is to use a mask images. For this I used code from TheElements iPhone Example and some image resize code I found. My problem is that resizedImage is always nil and I don't find the error...  - (UIImage *)imageByScalingProportionallyToSize:(CGSize)targetSize {     CGSize imageSize = [self size];     float width = imageSize.width;     float height = imageSize.height;      // scaleFactor will be the fraction that we'll     // use to adjust the size. For example, if we shrink     // an image by half, scaleFactor will be 0.5. the     // scaledWidth and scaledHeight will be the original,     // multiplied by the scaleFactor.     //     // IMPORTANT: the "targetHeight" is the size of the space     // we're drawing into. The "scaledHeight" is the height that     // the image actually is drawn at, once we take into     // account the ideal of maintaining proportions      float scaleFactor = 0.0;      float scaledWidth = targetSize.width;     float scaledHeight = targetSize.height;      CGPoint thumbnailPoint = CGPointMake(0,0);      // since not all images are square, we want to scale     // proportionately. To do this, we find the longest     // edge and use that as a guide.      if ( CGSizeEqualToSize(imageSize, targetSize) == NO )     {          // use the longeset edge as a guide. if the         // image is wider than tall, we'll figure out         // the scale factor by dividing it by the         // intended width. Otherwise, we'll use the         // height.          float widthFactor = targetSize.width / width;         float heightFactor = targetSize.height / height;          if ( widthFactor &lt; heightFactor )             scaleFactor = widthFactor;         else             scaleFactor = heightFactor;          // ex: 500 * 0.5 = 250 (newWidth)          scaledWidth = width * scaleFactor;         scaledHeight = height * scaleFactor;          // center the thumbnail in the frame. if         // wider than tall, we need to adjust the         // vertical drawing point (y axis)          if ( widthFactor &lt; heightFactor )             thumbnailPoint.y = (targetSize.height - scaledHeight) * 0.5;          else if ( widthFactor &gt; heightFactor )             thumbnailPoint.x = (targetSize.width - scaledWidth) * 0.5;     }       CGContextRef mainViewContentContext;     CGColorSpaceRef colorSpace;      colorSpace = CGColorSpaceCreateDeviceRGB();      // create a bitmap graphics context the size of the image     mainViewContentContext = CGBitmapContextCreate (NULL, targetSize.width, targetSize.height, 8, 0, colorSpace, kCGImageAlphaPremultipliedLast);      // free the rgb colorspace     CGColorSpaceRelease(colorSpace);          if (mainViewContentContext==NULL)         return NULL;      //CGContextSetFillColorWithColor(mainViewContentContext, [[UIColor whiteColor] CGColor]);     //CGContextFillRect(mainViewContentContext, CGRectMake(0, 0, targetSize.width, targetSize.height));      CGContextDrawImage(mainViewContentContext, CGRectMake(thumbnailPoint.x, thumbnailPoint.y, scaledWidth, scaledHeight), self.CGImage);      // Create CGImageRef of the main view bitmap content, and then     // release that bitmap context     CGImageRef mainViewContentBitmapContext = CGBitmapContextCreateImage(mainViewContentContext);     CGContextRelease(mainViewContentContext);      CGImageRef maskImage = [[UIImage imageNamed:@"Mask.png"] CGImage];      CGImageRef resizedImage = CGImageCreateWithMask(mainViewContentBitmapContext, maskImage);     CGImageRelease(mainViewContentBitmapContext);      // convert the finished resized image to a UIImage      UIImage *theImage = [UIImage imageWithCGImage:resizedImage];      // image is retained by the property setting above, so we can      // release the original     CGImageRelease(resizedImage);      // return the image     return theImage; } Any way to have CPU temperature in the menu bar? I tried  and  but it does not update the temperature and I do not wish to change the fan speed. I am completely new to riding bikes and know that are usually filled with air but nowadays some people fill them with Nitrogen instead.  I don't know why they prefer to fill their tires with nitrogen as it is more costly than filling them with air.  What are the benefits of filling tires with Nitrogen? Peltier Unit Not Working Find equation of a plane that passes through point and contains the intersection line of 2 other planes Find equation of a plane that passes through point P $(-1,4,2)$ that contains the intersection line of the planes  $$\begin{align*} 4x-y+z-2&amp;=0\\ 2x+y-2z-3&amp;=0 \end{align*}$$  Attempt: I found the the direction vector of the intersection line by taking the cross product of vectors normal to the known planes. I got $\langle 1,10,6\rangle$. Now, I need to find a vector normal to the plane I am looking for. To do that I need one more point on that plane. So how do I proceed? I'm working on moving my current server setup to newer hardware, and migrating from ubuntu karmic koala to lucid lynx. Currently i'm using gw6c (compiled from the gogo6 website, as opposed to the version from the repositories) to get ipv6 access for my systems. On the karmic koala system, i used simple init.d script to get the ipv6 client started   #! /bin/sh /usr/local/gw6c/bin/gw6c -f /usr/local/gw6c/bin/gw6c.conf   I figured since this runs at any runlevel, it should translate to  respawn console none  start on startup  stop on shutdown  script exec /usr/local/gw6c/bin/gw6c -f /usr/local/gw6c/bin/gw6c.conf emit free6_ipv6_started end script   this works fine started from initctrl, but it apparently fails to start when it boots. - its status being stop/waiting. It works fine (and respawns) when started otherwise.Any ideas on where i'm going wrong, and what would be the appropriate 'start on' arguement?  EDIT: the exact error is 'init: gw6c main process (xxx) ended with status 8' followed by the process respawning , with xxx being a PID i suspect. I'm also half suspecting this is cause gw6c starts before networking does, and i need my eth0 up before gw6c is I've just got my first follower, and I'm wondering if I can get a second person to follow me. Is the game limited to one or two follower(s) or does it allow for a large number of followers? It really seems handy to me to have some followers protect me when I draw attention from a larger group, or when I try to steal something where I really shouldn't... I need to prove that $H$ is a maximal normal subgroup of $G$ if and only if $G/H$ is simple.  My proof to the $(\Rightarrow)$ direction seems too much trivial:  Let us assume there exist $A$ so that $A/H\lhd G/H$. Then by definion, $H$ must be normal in $A$. Because $H$ is maximal, we get $H=A$ and therefore $A/H={1}$  Is it correct?  Update:  Now I see that I need to prove that not only $A\lhd H$ but also $A\lhd G$. Assumig I have proven that, is the proof correct? I have to deal with a large number of files nested inside of directories (one file per directory), resembling something like this:  fred/result.txt john/result.txt mary/result.txt ...   I am currently using the following command to process each of those files:  find . -maxdepth 1 -type d \( ! -name . \) -exec bash -c \"cd '{}' &amp;&amp; processResult result.txt\" \;   I am looking for something I can add into the end of this command that will change the filenames to fred.txt, etc. and then later move the file into the parent directory to eliminate the extra layer of directories.  What would be the best way to do this? How would you count occurrences of a string (actually a char) within a string? I am doing something where I realised I wanted to count how many /s I could find in a string, and then it struck me, that there were several ways to do it, but couldn't decide on what the best (or easiest) was.  At the moment I'm going with something like:  string source = "/once/upon/a/time/"; int count = source.Length - source.Replace("/", "").Length;   But I don't like it at all, any takers?  I don't really want to dig out RegEx for this, do I?  I know my string is going to have the term I'm searching for, so you can assume that...  Of course for strings where length > 1,  string haystack = "/once/upon/a/time"; string needle = "/"; int needleCount = ( haystack.Length - haystack.Replace(needle,"").Length ) / needle.Length; I would like to get the multi pattern match with implicit AND between patterns, i.e. equivalent to running several greps in a sequence:  grep pattern1 | grep pattern2 | ...   So how to convert it to something like?  grep pattern1 &amp; pattern2 &amp; pattern3   I would like to use single grep because I am building arguments dynamically, so everything has to fit in one string. Using filter is system feature, not grep, so it is not an argument for it.    Don't confuse this question with:  grep "pattern1\|pattern2\|..."   This is an OR multi pattern match. Find a recurrence relation for the number of ways to arrange $n$ dominoes to fill a $2$ by $n$ checkerboard. I am having trouble with this question, please take a look at it:     Find a recurrence relation for the number of ways to arrange $n$ dominoes to fill a $2$ by $n$ checkerboard.   I have just started reading the topic and it is one of the starting problem. Please help. You can give me some hints, a complete answer is also appreciated.  Thanks How to make left-right transition of overlay image ffmpeg Shortcut to view wireless networks in Windows 7 Does anyone know how to create a shortcut which opens the wireless networks dialog box in Windows 7?  I'm looking for a shortcut that takes me directly to the window which shows you the available wireless networks around you.