I want to install Ubuntu like how you would to a hard drive so I can use it as a portable system. I do not want a Live install; I want something where i can install updates, install drivers, and things like that. I'm really confused because I made a persistent install using UNetBootIn in Windows thinking that would allow me to do that and yet when I booted I still saw the "Install Ubuntu 12.04 LTS" icon.
If you are hurrying to reply, System → Administration → StartUp Disk Creator -- no, that's not what I'm talking about.   I want to try Ubuntu 11.04's Unity without touching my existing Ubuntu install.  To do this, I need to install the nVidia drivers first (sigh).  To do this, I need changes to persist a reboot.  To do this, I need to really install Ubuntu on a USB key.  How do you do that?    What I tried   I tried to make a USB key from , then boot from it, then choose "Install Ubuntu." The installer refused to install to the installation media itself. I tried, from my installed copy of Ubuntu:  sudo kvm /dev/sdb --cdrom .cache/testdrive/iso/ubuntu_natty-desktop-i386.iso   ...but the installer didn't detect the disk properly.
How do multiple natural attacks work? Okay, I need some clarification. The  state this about natural attacks:     You do not receive additional natural attacks for a high base attack bonus. Instead, you receive additional attack rolls for multiple limb and body parts capable of making the attack (as noted by the race or ability that grants the attacks).   Let's say that I can shape into an . My BAB is +8/+3 and STR 5. An Oliphant has two natural attacks: Gore and Stomp (x2).  Reading the rules, it seems that I can't do two Gore attacks, like:   1st attack: AB +13. DAM 2d8 + 5 2nd attack: AB +8. DAM 2d8 + 5   because I don't get additional attacks for a high BAB. Does that mean I need to combine attacks instead? Example:   (Gore) 1st attack, AB +13. DAM 2d8 + 5 (2 Stomps) 2nd attack, AB +6*. DAM 2d6 + 5 * With the Multiattack feat, reduces secondary weapon penalty to &minus;2.   Also, does the damage from the two stomps equal 2d6 + 5, or should I roll damage for each stomp? (1st foot = 2d6 + 5, 2nd foot = 2d6 + 5). Show that antipodal points remain antipodal under any isometry of $S^2$ "The antipodal map of $S^2$ is the isometry $\bar m$ sending each point $P$ to its opposite point $-P$" (from textbook)  Show that antipodal points remain antipodal under any isometry of $S^2$. In other words, for each isometry f of $S^2$, if $P$ and $P'$ are antipodal, then so are $f(P)$ and $f(P')$  I am unsure how I can define the $P$ and $P'$ so that they are opposites of each other in the antipodal map, and am I supposed to apply the traditional isometries (translation, reflection and rotation) to the points? I don't understand this problem. I have seen lots of UI designer nowadays including this kind of illustration i want to know the name of this style so that i can also learn and try this in my designs. Recently I had a bunch of my own scripts for the thumbnails in Nautilus: , , office documents and so on.  Seems like either I’m doing something wrong (thumbnail generation behavior changed), or custom thumbnailes don’t work in latest GNOME at all, even my previous scripts, which worked smoothly on previous versions of Ubuntu.  I’ve done some research, tried to run a simple script (see below) and it didn’t work out.  My test thumbnailer in /usr/share/thumbnailers/z.thumbnailer:  [Thumbnailer Entry] Exec=/home/maximal/thumb.sh %s %i %u %o MimeType=image/webp;image/x-webp   Where /home/maximal/thumb.sh is:  #!/bin/bash echo $0 &gt;&gt; /home/maximal/thumb.log echo $1 &gt;&gt; /home/maximal/thumb.log echo $2 &gt;&gt; /home/maximal/thumb.log echo $3 &gt;&gt; /home/maximal/thumb.log echo $4 &gt;&gt; /home/maximal/thumb.log   Then, when I remove thumbnail cache rm -rf ~/.cache/thumbnails and restart Nautilus nautilus -q, my log file doesn’t contain anything and ~/.cache/thumbnails/fail/gnome-thumbnail-factory contains all the failed thumbs (looks like corrupted/empty PNGs):    So, apparently, Nautilus even didn’t try to execute my thumbnailer script. When I try to run thumb command itself, it works perfectly. For example convert through cwebp|dwebp package:  convert -thumbnail 256x256 file.webp png:file.webp.png   When I wrap this command to a thumbnailer, it looks like it wasn’t even requested to run by Nautilus.  [Thumbnailer Entry] Exec=convert -thumbnail %sx%s %i png:%o MimeType=image/webp;image/x-webp;   Exactly the same situation occurs with other my thumbnailers: audio waveforms, office documents, photoshop files and so on.  Could anyone help? I am a girl in my early twenties traveling to USA from India and in my visa application I have provided the contact address for a relative in San Francisco, and their invitation letter. I would like to visit LA first. Will I face problems during immigration if I land in LA (with an immediate on wards ticket to SF)? I dont plan to get on the flight from LA to SFO.  Initially I was planning to fly to SFO from India and then fly to LA immediately after completing immigration at SFO airport. Each spell has it's own casting time, e.g.  takes 1 full round and  takes a swift action.   On the other hand,      Drinking a potion or using an oil is a standard action    as      In many ways, they behave like spells in potion form, and as such their effects can be dispelled by effects like dispel magic using the alchemist's level as the caster level. Unlike potions, though, extracts can have powerful effects and duplicate spells that a potion normally could not.   So how long does consuming an extract take? I'm inclined to believe that it takes just as long as the spell does to cast (e.g. a full round to Enlarge Person, only a swift for Burst of Speed) but I'd love to know if this is ever clarified in the rules or a FAQ that I've missed. Basic Excel currency format with Apache POI I'm able to get cells to format as Dates, but I've been unable to get cells to format as currency... Anyone have an example of how to create a style to get this to work?  My code below show the styles I'm creating... the styleDateFormat works like a champ while styleCurrencyFormat has no affect on the cell.  private HSSFWorkbook wb; private HSSFCellStyle styleDateFormat = null; private HSSFCellStyle styleCurrencyFormat = null;   ......  public CouponicsReportBean(){     wb = new HSSFWorkbook();     InitializeFonts();  }  public void InitializeFonts() {     styleDateFormat = wb.createCellStyle();     styleDateFormat.setDataFormat(HSSFDataFormat.getBuiltinFormat("m/d/yy"));       styleCurrencyFormat = wb.createCellStyle();     styleCurrencyFormat.setDataFormat(HSSFDataFormat.getBuiltinFormat("$#,##0.00"));  } Does a non-abelian semigroup without identity exist? Can't boot into Ubuntu in Windows 10 / Ubuntu dual boot I followed the official step-by-step "Visual Studio Code and Unity" guide, but it seems I messed up something, because Intellisense doesn't see any Unity related stuff.  Like the MonoBehaviour class and its members (like .transform), or the Unity callbacks, like Start or Update. We can apply l’Hôpital’s Rule to the indeterminate quotients $ \dfrac{0}{0} $ and $ \dfrac{\infty}{\infty} $, but why can’t we directly apply it to the indeterminate difference $ \infty - \infty $ or to the indeterminate product $ 0 \cdot \infty $?  Furthermore, why can’t we call $ \infty + \infty $ and $ \infty \cdot \infty $ indeterminate forms?  I’m new to calculus, so please clear up my concepts if you can. Thanks! How to find/grep what is between string1 and string2? I am trying to extract a value from a long string that may change over time. So for example the string could look something like this  ....../filename-1.9.0.3.tar.gz"&lt;....   And what I want to extract is the value between filename- and .tar.gz, essentially the file version (1.9.0.3 in this case). The reason I need to do it this way is because I may later run the command and the value will be 1.9.0.6 or 2.0.0.2 or something entirely different.  How can I do this? I'm currently only using grep, but I wouldn't mind using other utilities such as sed or awk or cut or whatever. To be perfectly clear, I need to extract only the file version part of the string, since it is very long (on both sides) everything else needs to be cut out somehow. I've been stuck on this problem for about an hour.     In an ideal transformer, the same flux passes through all turns of the primary and of the secondary . Show that in this case $M^2=L_1L_2$, where $M$ is the mutual inductance of the coils, and $L_1$, $L_2$ are their individual self-inductances.   My first instinct was the following: If we isolate the response of each coil to the other one, we get the equations $N_1\Phi_1=MI_2$ and $N_2\Phi_2=MI_1$, where $\Phi$ is magnetic flux going through a single turn of the coil and $I$ is current. Likewise, if we isolate the response of each coil to itself, we get the equations $N_1\Phi_1=L_1I_1$ and $N_2\Phi_2=L_2I_2$. I would now naturally want to say "Now just multiply $N_1\Phi_1$ and $N_2\Phi_2$ both ways, and get the desired result!" i.e.,  $$(N_1\Phi_1)(N_2\Phi_2)=(MI_2)(MI_1)=(L_1I_1)(L_2I_2)\implies M^2=L_1L_2$$  But that's incorrect, because the response of the coils to themselves and to the other coil are different quantities (i.e. not necessarily equal).  Realizing this, I write down the more general equations.  $$N_1\Phi_1=MI_2+L_1I_1$$ $$N_2\Phi_2=MI_1+L_2I_2$$  Now even with the hypothesis that $\Phi_1=\Phi_2=\Phi$, I still can't see how the identity $M^2=L_1L_2$ follows. Could you help clear up my confusion?  *Taken from D. Griffiths Introduction to Electrodynamics (4th ed.), Problem 7.58. SEO for importing the page header with JavaScript rather than PHP My website has the same header/sidebar/footer on every page, so I have been importing them using PHP. To do this I forced all html files to be processed through the apache servers PHP handler via htaccess. I have come to understand that is not necessarily the best thing to do and so found out how to do everything I need using simple JavaScript. I also store a variable in the initial page that then gets used in the imported html.  Questions: By switching from:  &lt;?php include "_header.html";?&gt;   to  &lt;script type="text/javascript" src="_header.js"&gt;&lt;/script&gt;   I am noticing that the "view source" shows the header.js link, whereas the PHP method will show the source as if the html had been there all along. Will search engines recognize the html in the JavaScript just as they would when loaded with PHP?  I understand it is bad practice to alter the page contents -after- it is downloaded, but this doesn't fall into that category does it? That would detail things like after a wait function, or after user interaction, correct?  Are there any other foreseeable downfalls to switching to JavaScript and turning off the forced PHP processing? Capitalize and punctuate "let us continue this discussion in chat" Is there a command to show the directory/file name when cat files?  For example: assume two files f1.txt and f2.txt are under ./tmp  ./tmp/f1.txt ./tmp/f2.txt    Then when I do cat ./tmp/*.txt, only the content of files will be shown. But how to firstly show the file name, then the content?, e.g.:   (The needed command):  ./tmp/f1.txt:    This is from f1.txt  and so on  ./tmp/f1.txt:  This is from f2.txt ...   Is there a command to do it? (There seems to be no option for 'cat' to show the file names) How do I find the amount of free space on my hard drive? Is there a way to quickly check the amount of free / used disk space in Ubuntu?  I would assume you could right click on 'file system' in the file browser and choose 'properties' or something but there is no such option. How to make git ignore changes in case? I'm not too sure what is going on here, but sometimes a particular file in my repository will change the case of its name. e.g.,: before: File.h after: file.h I don't really care why this is happening, but this causes git to think it is a new file, and then I have to go and change the file name back. Can you just make git ignore case changes? [edit] I suspect it is Visual Studio doing something weird with that particular file, because it seems to happen most often when I open and save it after changes. I don't have any way to fix bugs in VS however, but git should be a bit more capable I hope. The reciprocal of many prime numbers p in base 10 have a set of repeating digits p-1. Why? I've noticed that the reciprocal of many prime numbers have a curious number of digits. For example. 1/7 has 6 repeating digits, 1/17 has 16 repeating digits, and 1/47 has 46. There's a rule here that makes this pattern, and I haven't quite figured it out. Does anyone have some insight on this?  There are a few other numbers that follow the pattern subversively. For example, 1/3 has two repeating digits: 33. 1/11 has ten repeating digits: 0909090909. The number 1/13 has a set of six that repeats twice, which makes a set that's 12 digits long.  For reference, here is a website that lists reciprocals of numbers 2 through 70, including non-primes.   The ones that break the rule are 1/2 and 1/5, but they seem to be a matched pair, where the 2 and 5 switch places in the equation 1/X = Y/10  What is the rule that makes this pattern? I'm very curious. This question has come up    ( ), but I'm finding the answers to be generally incomplete. The general question is "Why does/doesn't my job get killed when I exit/kill ssh?", and here's what I've found.  The first question is:  How general is the following information?  The following seems to be true for modern Debian linux, but I am missing some bits; and what do others need to know?   All child processes, backgrounded or not of a shell opened over an ssh connection are killed with SIGHUP when the ssh connection is closed only if the huponexit option is set: run shopt huponexit to see if this is true. If huponexit is true, then you can use nohup or disown to dissociate the process from the shell so it does not get killed when you exit.  Or, run things with screen. If huponexit is false, which is the default on at least some linuxes these days, then backgrounded jobs will not be killed on normal logout. But even if huponexit is false, then if the ssh connection gets killed, or drops (different than normal logout), then backgrounded processes will still get killed.  This can be avoided by disown or nohup as in (2). There is some distinction between (a) processes whose parent process is the terminal and (b) processes that have stdin, stdout, or stderr .  I don't know what happens to processes that are (a) and not (b), or vice versa.   Final question: How can I avoid behavior (3)?  In other words, by default in Debian backgrounded processes run along merrily by themselves after logout but not after the ssh connection is killed.  I'd like the same thing to happen to processes regardless of whether the connection was closed normally or killed.  Or, is this a bad idea?  Edit: Another, important way to keep jobs of being killed, that works (?) in either case is to run them through .  But, the question is more about understanding when things get killed and when they don't: sometimes people want the jobs to be killed on logout, for instance.  More threads: -  -  -  -  -  -  -  -