Running from USB stick
How to make a live Ubuntu 18.04 USB with a persistent storage of more than 4GB
Active login not recognized on Super User crm 2011 how to hide/show the ribbon button with javascript Being able to join chat rooms from the Android app would be a plus! It would truly make us connected on the go, instead of having to sit down at our desks and open a browser window. This will allow more users to fully utilize the chat system and join events no matter where they are. What is the terminal's graphic API? How can certain programs set background and font colors, write characters to the same location on screen (e.g. to the third row, fifth column) more than once?  Some examples are the progress bar displayed by curl google.com &gt; a, some installation screens and nearly any text editor. "Learn More" link on tags broken in latest Chrome stable Note: This is identical to , but that bug was declined because Chrome 30 was in dev. Chrome 30 has now been released, and still has this issue.   The "Learn More" link for tags is broken in the latest release of Google Chrome.    If I right-click and open in new tab, I get the tag's page, but just clicking doesn't work.  I'm using Chrome 30.0.15599.69, the latest stable release: Adding holes simultaneously within mesh Im trying to add multiple holes within my mesh, so I divided it up, and then used cylinders shapes to make the holes. On the top image I used the Boolean operation. And on the bottom image, I subdivided one of the rectangles and used the looptool method with the circle. Once I add a subdivision modifier I am getting weird result with the Boolean but the operation holes, but the bottom Hole looks more acceptable once cleaned up. Is one or the other method the correct way? error: file '/grub/i386-pc/normal.mod' not found. grub rescue&gt;   What can I do? I just sit and stare at it.   I found my old netbook (Dell Inspiron 1010) which I have not used for about four years. I replaced Windows XP with Ubuntu 12.10. I used my bootable USB drive. I installed and rebooted. I got the message that normal.mod is not found.   What should I do? Type exit, reboot, or quit? Should I re-install? In PHP, the HEREDOC string declarations are really useful for outputting a block of html.  You can have it parse in variables just by prefixing them with $, but for more complicated syntax (like $var[2][3]), you have to put your expression inside {} braces.  In PHP 5, it is possible to actually make function calls within {} braces inside a HEREDOC string, but you have to go through a bit of work.  The function name itself has to be stored in a variable, and you have to call it like it is a dynamically-named function.  For example:  $fn = 'testfunction'; function testfunction() { return 'ok'; } $string = &lt;&lt;&lt; heredoc plain text and now a function: {$fn()} heredoc;   As you can see, this is a bit more messy than just:  $string = &lt;&lt;&lt; heredoc plain text and now a function: {testfunction()} heredoc;   There are other ways besides the first code example, such as breaking out of the HEREDOC to call the function, or reversing the issue and doing something like:  ?&gt; &lt;!-- directly output html and only breaking into php for the function --&gt; plain text and now a function: &lt;?PHP print testfunction(); ?&gt;   The latter has the disadvantage that the output is directly put into the output stream (unless I'm using output buffering), which might not be what I want.  So, the essence of my question is: is there a more elegant way to approach this?  Edit based on responses: It certainly does seem like some kind of template engine would make my life much easier, but it would require me basically invert my usual PHP style.  Not that that's a bad thing, but it explains my inertia..  I'm up for figuring out ways to make life easier though, so I'm looking into templates now. How to close ports in Linux? I have some question in closing port, I think I got some strange things.  When I use execute  nmap --top-ports 10 192.168.1.1   it shows that 23/TCP port is open.  But when I execute  nmap --top-ports 10 localhost   it show that 23/tcp port is closed.  Which of them is true? I want to close this port on my whole system, how can I do it? Photons in expanding space: how is energy conserved? If a photon (wave package) redshifts (stretches) travelling in our expanding universe, is its energy reduced?  If so, where does that energy go? What makes a Feynman diagram real or virtual? Simple question: as the title says, what makes a real Feynman diagram real, and what makes a virtual diagram virtual? Or in other words, how do I tell whether any given diagram is real or virtual? I've never gotten a really satisfying explanation of this. I would imagine it has something to do with virtual particles, but all internal propagators are virtual particles and I know for a fact that having internal lines doesn't make a diagram virtual. Trying to understand what is a p value I am trying to understand what a p value is and what is its importance in statistics, from this example.  For $50$ specimens of alloy steel the rock hardness scale measured an average of $62$ with standard deviation $8$ he manufacturer claims that the alloy has average strength of $64$ at significance of $0.01$ can you refute this?  Well I did this problem and saw no at this level you cant refute it , I use the null being that the hardness was $64$ and the alternate that the hardness was less then $64$. From the data we observe a $z=-1.7677$ but the chart is $z=-2.33$ and so we cant refute null at this level.  But now I want to understand what the p value would be ,  I thought it was that the p-value is the probability of getting the observed value of the test or a value with even more evidence against the null if the null is actually true. So using that I just look on the z chart, the probability of seeing Z greater then $1.7677$ is $0.0384$, so is that the p value? Is it possible to change your single-player skin? In Minecraft, is it possible to customize your skin in single-player mode (not just in multiplayer)? How? How to call shell script from php that requires SUDO? Computing the Galois group of polynomials $x^n-a \in \mathbb{Q}[x]$ I have some problems with this exercise. I don't know if it can be done. Consider the polynomial $ x^n - a \in \mathbb{Q} $ Can I compute the Galois group of this over $\mathbb{Q}$? Maybe having a nice "basis.  The splitting field is given by $\mathbb{Q}(\zeta_n,\alpha)$ , where $\zeta_n$ is a primitive root of unity , and $\alpha$ is some number such that $\alpha^n = a $. Well first of all, I want a $\underline{"good basis"}$ for the splitting field. In the sense that the minimal polynomials, of the adjoined elements, are different (in this case the computation of the galois group is very simple).  For example one easy case, it's when $a&gt;0$, then $(a)^{\frac{1}{n}} \in \mathbb{R}$ , so clearly the minimal polynomial of $(a)^{\frac{1}{n}} , \zeta_n$ are distincs, and I'm done. If $n$ is odd then , it's also easy, since one root it's also real, for example $x^3-3 $, the real root is $ \root 3 \of { - 3}  =  - \root 3 \of 3  $ , so I can consider the splitting field as $\mathbb{Q}(-\root 3 \of 3 , \zeta_3 )=\mathbb{Q}(\root 3 \of 3 , \zeta_3 )$. The difficult case is when $n$ is even and $a&lt;0$ , for example  $x^8+20$ or $x^4+20$ in some cases as in the second, there are particular cases since there exist algorithms for the Galois group of quartics, but in general. It can be done?  $\underline{Remark}$ I'm searching a $\underline{"good basis"}$ for the splitting field. In the sense that the minimal polynomials, of the adjoined elements, are different since in this case the computation of the galois group is very simple. create multilingual node programmatically i'm trying to create a multilingual node using a php script.  I'm doing this:   $node = new stdClass();  $node-&gt;title = "Test ".mktime();  $node-&gt;type = "job";  $node-&gt;language = 'de'; // Or e.g. 'en' if locale is enabled  $node-&gt;uid = $user-&gt;uid;   $node-&gt;status = 1; //(1 or 0): published or not  $node-&gt;promote = 0; //(1 or 0): promoted to front page  $node-&gt;comment = 1; //2 = comments on, 1 = comments off  $node-&gt;path = array('alias' =&gt; 'das-ist-ein-test-'.mktime());  $node-&gt;body[$node-&gt;language][0]['value']   = "Body Body Body";  $node-&gt;body[$node-&gt;language] = text_summary("Body Body Body");  $node-&gt;body[$node-&gt;language]  = 'filtered_html';  node_save($node);   As long as i set $node->language to 'und' everything is working fine. But as soon as I set the language to 'de' or 'en' (both languages are activated in my Drupal installation) the body text doesn't get saved.  So my question is: can anybody provide me with a working example of how to store a multlingual node (de,en) into Drupal using program code.  Thank you How to install Ubuntu on VirtualBox? I would like to know if anyone can help me with installing Ubuntu on VirtualBox Can ribosomes read ssDNA? My question is whether translation can be done, either naturally or artificially, through a ribosome reading (single-stranded) DNA directly. If not, I would like to know what allows ssRNA to be translated but not ssDNA. What does 'apt-get install update' do? I saw this snippet in some installation instructions:  $ apt-get install update   I know what apt-get install XXXX does and I know what apt-get update does, but I can't find any info on what this combined statement does. What does it do? How can I calculate the angle and proper turn direction between two 2D vectors?