Background: I am using VirtualBox installed on Windows 7. From within VirtualBox I am using Xubuntu as a virtual OS. The reason I chose this approach is so that I don't have to keep turning off Windows and rebooting from Xubuntu every time I needed to switch OSes. And VirtualBox's seamless mode is pretty amazing to allow me see Xubuntu and Windows 7 all in one screen.   Issue: Now I am thinking of a way to have Xubuntu more integrated into my system. By this I mean I want to have a physical partition for Xubuntu. But I want to still have the feeling of the seamless mode.  Question: So finally, my question is: is it possible to load a partition in VirtualBox as a virtual OS?   Case examples: Ideal scenario would be: I physically boot up and login to Windows 7. Now I want to access Xubuntu, so I load VirtualBox and access my Xubuntu partition without rebooting. And the other way around too, i.e. I boot up the system, login to Xubuntu, and can access the actual Windows 7 partition through VirtualBox.   Other info: Please note that I am not talking about getting access to files, as I have a completely separate partition for my files, and am very familiar with VirtualBox's Shared Folders option.
Using Virtual Box, how can I install an OS to a secondary, physical disk, and boot it in both (at separate times) Virtual Box, and as a typical secondary OS install?
If a car hits a wall at a speed of $v$, and an identical car hits a wall at a speed of $2\,v$, with the kinetic energy equation $E_K = \frac{1}{2}mv^2$ (the speed goes from $v$ to $0$) the second car will lose 4 times the energy, and therefore cause 4 times the damage, but with the force equation $F = ma$ (the car hits the wall and decelerates), it will hit with 2 times the force, and cause 2 times the damage.  How can this be explained? How to allow page break inside a float environment? I'm using new float enviroment to show some examples in my document. This  enviroment contains tcolorbox which provides a gray background. The main text in the enviroment is a mixture of plain text and code blocks (in lstlisting env). Each float should have it's own caption and label.  In style file:  \usepackage{newfloat} \DeclareFloatingEnvironment[name={Example}]{suppfigure}   In the main document:  \begin{suppfigure}[!h] \caption{Some code example}\label{suppfigure1} \begin{tcolorbox}[arc=0mm, left=1pt, right = 1pt, boxrule=0mm,colback = {shadow-gray}]   Text  \begin{lstlisting}  int i = 0;  \end{lstlisting}  Some more text  \begin{lstlisting}  String.Format("{0,10:0.0}", -123.4567);   \end{lstlisting}  \end{tcolorbox}  \end{suppfigure}   How can I allow page break inside the suppfigure to extend my example to multiple pages? How do I logout from a non-registered account? I have a registered StackOverflow account which I normally log into using OpenID.  Recently I logged out in order to post a question anonymously (supplying a fake name and of my secondary email addresses).  The problem now is that I'm logged in to StackOverflow as this "dummy" user, unable to see a way to log out.  The top menu normally has a "logout" link, but when you aren't fully registered this link is replaced with "register".  There is no "logout" link for me. :(  So..   When logged out there is a "login" link. When logged in there is a "logout" link. When "logged in" with an unregistered account, there is only a "register" link (no "logout"). Make Windows 7 ignore WiFi when ethernet is available When I dock my Windows 7 laptop, I want it to prefer the wired ethernet connection over WiFi.  This is a pretty straightforward thing to do on my Mac - I just reorder my network preferences, and it "does the right thing." I just can't figure out how to achieve the same thing on my Win7 laptop.  So, when I'm docked, it connects to WiFi, and then fails to connect to servers on the local wired network. How do I fix this? Regular expression: match start or whitespace Can a regular expression match whitespace or the start of a string?  I'm trying to replace currency the abbreviation GBP with a £ symbol. I could just match anything starting GBP, but I'd like to be a bit more conservative, and look for certain delimiters around it.  &gt;&gt;&gt; import re &gt;&gt;&gt; text = u'GBP 5 Off when you spend GBP75.00'  &gt;&gt;&gt; re.sub(ur'GBP([\W\d])', ur'£\g&lt;1&gt;', text) # matches GBP with any prefix u'\xa3 5 Off when you spend \xa375.00'  &gt;&gt;&gt; re.sub(ur'^GBP([\W\d])', ur'£\g&lt;1&gt;', text) # matches at start only u'\xa3 5 Off when you spend GBP75.00'  &gt;&gt;&gt; re.sub(ur'(\W)GBP([\W\d])', ur'\g&lt;1&gt;£\g&lt;2&gt;', text) # matches whitespace prefix only u'GBP 5 Off when you spend \xa375.00'   Can I do both of the latter examples at the same time? Objects not rotating or scaling in viewport Recently I have learned how to draw simple stuff with TikZ. I really like it. Now I wonder if it is possible to draw with TikZ on a image. Instead of pasting a image in Illustrator and adding some vectors to point something in the picture I would like to do it using TikZ. Is it possible?   For example, on a picture of a computer (PNG,etc) I would like to draw some arrows and labels saying "Keyboard", "Monitor", etc. Is it possible to access a 64-bit dll from a 32-bit application? Punctuations with relative pronouns Sogou is a Chinese search engine, which can search text, images, music and maps.  Is a comma required before "which" in the above sentence? It shows no question owner, not even a simple name (without link).   What happened? Laptop Overheating. Is there a way to cool it? I have a laptop that's running on the following:   MSI MS-1634X motherboard AMD Turion X2 TL-66 CPU ATI Mobility Radeon HD2600   It keeps overheating, especially when I do something more CPU and GPU-intensive such as games. I've tried SpeedFan and Notebook Hardware Control and neither are able to help control my fans. I also have a Targus Chillmat for my laptop which helps cool down my laptop, but it still overheats. Are there any fan controlling programs that I could use to maybe turn up the RPMs on my fans or any other ways to cool down my laptop? My laptop runs pretty hot, maybe 80c core when being used, not even intensively. The Hard drive stays cool though, close to 35c.  Any help is appreciated. Thanks! A word for something that is deeper, more compelling than what is obvious or visible I am trying to run Notepad as admin so I can edit my hosts file from the command line.  I have tried runas /user:(myusername)\administrator "notepad c:\windows\system32\drivers\etc\hosts" I then input my password and I get     RUNAS ERROR: Unable to run - notepad   c:\windows\system32\drivers\etc\hosts 1327: Account restrictions are   preventing this user from signing in. For example: blank pa sswords   aren't allowed, sign-in times are limited, or a policy restriction has   been enforc ed.   PS: I know if I give permission to my user account I can edit it without running as admin. But I'd like to know how to do this without having to change permissions on the hosts file. This time when I used certbot it created a certificate for "www.$website" instead of $website. This is not what I need.  Here it is:    $ website="my_website123.com"   $ sudo certbot certonly --standalone -d $website -d www.$website --email admin@$website              Saving debug log to /var/log/letsencrypt/letsencrypt.log   Plugins selected: Authenticator standalone, Installer None   Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org   Cert not yet due for renewal    You have an existing certificate that has exactly the same domains or certificate name you requested and isn't close to expiry.   (ref: /etc/letsencrypt/renewal/www.my_website123.com.conf)    What would you like to do?   -------------------------------------------------------------------------------   1: Keep the existing certificate for now   2: Renew &amp; replace the cert (limit ~5 per 7 days)   -------------------------------------------------------------------------------   Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2   Renewing an existing certificate   Performing the following challenges:   http-01 challenge for my_website123.com   http-01 challenge for www.my_website123.com   Waiting for verification...   Cleaning up challenges    IMPORTANT NOTES:    - Congratulations! Your certificate and chain have been saved at:      /etc/letsencrypt/live/www.my_website123.com/fullchain.pem      Your key file has been saved at:      /etc/letsencrypt/live/www.my_website123.com/privkey.pem      Your cert will expire on 2018-10-18. To obtain a new or tweaked      version of this certificate in the future, simply run certbot      again. To non-interactively renew *all* of your certificates, run      "certbot renew"    - If you like Certbot, please consider supporting our work by:       Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate      Donating to EFF:                    https://eff.org/donate-le   Why did it create one for "www" instead of the bare domain?   On all my own servers this exactly command has always created a cert. without "www" - this is what I need. I even tried yesterday on a different server -- without "wwww".  How can I make it create a cert. without "www"? My USB drive used to be originally 8GB when I bought it.  I'm trying to reformatted in Windows 7 by right clicking on the drive and selecting Format.... But the capacity only shows 250MB.  Is there something I can do to get the original size back? Maybe it got partitioned in a weird way?   The  flash drive is a SanDisk Cruzer Micro 8GB. I got it from Wal-Mart but this is the same drive. How to access a clicked URL in a URL handler application created in Automator I'm currently trying to modify the default URL handling behavior in OS X. I would like, when clicking on any link outside of a web browser, to copy this URL to the pasteboard instead of opening it in the default web browser – for instance, clicking a link in a Skype conversation should copy this URL to the OS X pasteboard instead of opening it in Firefox (which is currently my default web browser).  I have thought about solutions, but I’m currently unable to implement one. If I can create an application that puts URLs into the pasteboard that are sent to it, and can set this application as the default web browser, I would be able to achieve my goal.  I created an application with Automator that executes the shell command pbcopy and have set this application as my default web browser, but I didn’t get the expected result. I did some testing and I can confirm that the application runs on clicking on a link, however, I cannot get the URL passed to the application / shell script. I tried both stdin or a passed argument, but without success.  Is there a way for an application created with Automator to retrieve a clicked URL and send it to pbcopy, when that application is set as a (default) handler for URLs?  Alternatively, is there a better way to create a fake web browser that takes the input and puts it in the pasteboard than Automator? Or is there any other way that I can achieve my goal without a custom application / script? As a non-native speaker, I feel that it is ridiculous that can and can't could sound so similar in American accent.  Just now, I was just listening to a video in which the speaker with an American accent says     Fat cells can't reproduce themselves.   The speaker dragged the word "can't" longer for emphasis, but perhaps as a result, what I heard at first was     Fat cells can reproduce themselves.   Of course from the context I later figured out what he was really saying, but I felt extremely surprised by how these two words which literally mean the opposite could sound so similar in American accent. How is that not affecting American people's daily conversations? As a non-native speaker, is there a way for me to further clarify them when my listeners are confused? (Like when you say "one-eight" to clarify that you were trying to say "eighteen" as opposed to "eighty".) Excel VBA code to turn a row with a variable number of columns into fixed-length rows I would like to change this:  Filer   ShareName       IPAddress1    IPpaddres2    IPAddress2    ... ... .... ServerA /share1/tools   192.168.1.52  192.168.1.65  192.168.1.158 ServerA /share/library  192.168.1.65  192.168.1.61  192.168.1.155 ServerB /share/tools    192.168.1.158 192.168.1.159 ServerD /share/misc     192.168.1.7 .. ... ..... .......   To this, in a new worksheet:  Filer   ShareName       IPAddress ServerA /share1/tools   192.168.1.52 ServerA /share1/tools   192.168.1.65 ServerA /share1/tools   192.168.1.158 ServerA /share/library  192.168.1.65  ServerA /share/library  192.168.1.61  ServerA /share/library  192.168.1.155 ServerB ... ... ServerD ... ... .. ... ..... ....... Unknown Column In Where Clause What is the difference between "twenty-four-hour shift" and twenty-four hour shift"? Just read somewhere about this puzzling puzzle:  What is the difference between:   I'm doing a twenty four-hour shift tonight. I'm doing a twenty-four hour shift tonight. I'm doing a twenty-four-hour shift tonight.   I know number 1 is 20 x 4 hours. Number 2 and 3 is the same as far as I know. Is this true?