I want the command to work with Unity in 14.04.
Is is possible to move all windows (or all not minimized windows) form one workspace to another?   I know I can move one window to other workspace with Shift+Ctrl+Alt+arrow, but it will move only that one focused window.
Strange character when using listings package Why is it dangerous use a coiled extension cord Bash Script if condition is always true Regex to validate date format dd/mm/yyyy Zip a file without including the parent directory Double Negation in C++ I just came onto a project with a pretty huge code base.   I'm mostly dealing with C++ and a lot of the code they write uses double negation for their boolean logic.    if (!!variable &amp;&amp; (!!api.lookup("some-string"))) {        do_some_stuff();  }                                      I know these guys are intelligent programmers, it's obvious they aren't doing this by accident.   I'm no seasoned C++ expert, my only guess at why they are doing this is that they want to make absolutely positive that the value being evaluated is the actual boolean representation. So they negate it, then negate that again to get it back to its actual boolean value.   Is this correct, or am I missing something? What are your favorite English language tools? To prevent myself from asking an obvious, silly question multiple times: What are the English language tools you found most useful?  I found  extremely useful for looking up .   Please, one tool per answer. Do creatures that enter the battlefield at the same time see each other enter? Say I have this file:  hello world hello world   This program  #!/bin/bash  for i in $(cat $1); do     echo "tester: $i" done   outputs  tester: hello tester: world tester: hello tester: world   I'd like to have the for iterate over each line individually ignoring whitespaces though, i.e. the last two lines should be replaced by  tester: hello world   Using quotes for i in "$(cat $1)"; results in i being assigned the whole file at once. What should I change? Why doesn't the last digit method work for divisibility by 4? I wish to explain to a grade 5 kid, the answer to the question - 'When can we know that the observing the last digit of a number will not be sufficient to determine its divisibility by a given N?'  For example - It doesn't work for 3, because we get all sorts of digits, i.e. from 0 to 9, at the units place. The same reason works for 7 and 9.   But what would be a convincing argument for 4 and 8? Even though the last digits form a pattern - 0, 2, 4, 6 and 8 - but we're still not sure about its divisibility. How to prove $a^2 + b^2 + c^2 \ge ab + bc + ca$? How can the following inequation be proven?  $$a^2 + b^2 + c^2 \ge ab + bc + ca$$ Time travel short story where dinosaur doesn't taste like chicken In Fringe's season 1, the episode  (1x13) shows how  travels on VertusAir flight 718. We witness how he develops some strange symptoms, withdraws into a lavatory and transforms into a porcupine-like monster.  At the end of season 3, Peter "switches" the timeline (changing the past and making the present continue in a different timeline henceforth) from blue- to orange-verse. Various statements throughout the 4th season indicate time (the date) was not reset; Olivia and Walter have been working on Fringe cases for some three years etc. - hence it is safe to say that season 4 plays 3 years after season 1.  Then, in the episode  (4x16), the events from 1x13 happen again, up to the point of Bowman's transformation, which this time doesn't happen (not aboard the plane, anyway). As far as I can tell, great care was taken to exactly recreate the events from the season 1 episode, including hiring the same actors to play the flight attendants once again ( and ), so obviously this is supposed to be the same event with slight changes.  Peter, as well as Olivia - who is in the process of regaining her memories from the blue-verse -, remember the events from 1x13 and note the difference that Bowman's transformation happened later this time, implying that in the orange-verse, everything related to flight 718 played out the same way, except for the small difference that the transformation happened a bit later.  BUT ... all of this happened 3 years later!! Is there any explanation for this?  How unlikely is it that in the orange-verse timeline, Marshall Bowman is on the very same flight with the very same flight attendants 3 years after the same would have happened in the blue-verse? Mind you, this is not a "small change" in the course of events while mostly everything else stays the same.  So, why did Peter and Olivia realize the transformation happened a tad later in the orange-verse timeline, but were not baffled by the fact that essentially the same events as in the blue-verse happened, but three years later?  EDIT: Not only the flight and the flight attendants were the same in both episodes. The passenger next to Bowman was the same, an elderly lady played by  both times, as well. Moreover, the transcripts of  and  reveal that the dialogue between Bowman, the passenger next to him, and the cabin crew is the same down to the lines of text until the moment of transformation.  Interestingly, the announcement by the captain in the beginning seems to be different - starting the inflight movie + selling headsets vs. circling before beginning the final descent + selling snacks. On the other hand, this could be presumed to be a slight retcon, as in 4x16, it was crucial for the plot that the plane would be close to landing, and starting the inflight movie would not make much sense right before landing. Lots of new batteries (for mobile devices, MP3 players, etc) have connectors with 3 pins. I would like to know what is the purpose of this and how should I use these three pins?    They are usually marked as (+) plus, (-) minus, and T. Is it OK to leave "What have you tried?" comments? Is a general GRE score of X sufficient for entry to postgraduate degree Y? number of distinct solution of Integral equation Total number of distinct $0\leq x\leq 1$ for which $\displaystyle \int_{0}^{x}\frac{t^2}{1+t^4}dt = 2x-1$   $\bf{My\; Try::}$ Given $\displaystyle \underbrace{\int_{0}^{x}\frac{t^2}{1+t^4}dt}_{\geq 0} = 2x-1\;,$ Where $0\leq x\leq 1$  So we get $\displaystyle x\geq \frac{1}{2}\;\;\;,$ Now  $\displaystyle \frac{d}{dx}\left\{\int_{0}^{x}\frac{t^2}{1+t^4}dt\right\} =\frac{d}{dx}(2x-1)$  So $$\frac{x^2}{1+x^4}=2\Rightarrow \underbrace{x^2+\frac{1}{x^2}}_{\geq 2} = \frac{1}{2}$$  So no real values of $x$  Is my solution is Right, If not then how can i solve it some short way, Thanks If $\sum_{n=1}^{\infty} a_n$ is absolutely convergent, then $\sum_{n=1}^{\infty} (a_n)^2$ is convergent Cannot authenticate without a password How to install KDE along Unity? I have just installed the latest Ubuntu 14.04 and I would like to install KDE along side my Gnome/Unity that I have now. How can I do this?  Thanks!