Can anyone tell how to install  on Ubuntu?
How can install Desktop Toggl on Ubuntu 13.04? I try type:  sudo add-apt-repository ppa:official-toggl/ppa sudo apt-get update sudo apt-get install desktop-Toggl    But getting information desktop-Toggl not found.
How can i limit the character length in excerpt? Possible Duplicate:          I have a question after reading this post (). I like this function(Search Term Without Plugin) very much but the character length is too long. What php code should i add to make the excerpt shorter? Would appreciate if someone can suggest it. Thank you! What is the REST endpoint URL to get list of site collections? If I go to SharePoint 2013 site, click on Admin -> SharePoint, you will see a list of site collections (the link is https://somename-admin.sharepoint.com/_layouts/15/online/SiteCollections.aspx)  What is the REST endpoint URL to get this list of site collections ?  I was trying _api/search/query?querytext='contentclass:sts_site' or _api/search/query?querytext='contentclass:sts_web', but it doesn't give the whole list... In "Winnie the Pooh", Why isn't the Hundred Acre Wood  plural? When I read some of these Winnie the Pooh stories to my kids at night, the place where the story takes place is the Hundred Acre Wood, not Hundred Acre Woods.  Why is that? I use to work at night and it is eye-hurting to watch at lightbulb-bright screens (I've got two - laptop's built-in panel and an external 18-inch CRT) in a dark environment. So I adjust my screens to be darker.  Can I do this a software way instead of pressing monitors' buttons that many times every time? Motley fool says you can make $15,978 more per year with Social Security. Is this for real? The Motley fool has an ad campaign that says you can make $15,978 more per year on Social Security by doing 17 minutes of work using a legal loophole.  I don't want to link to their ad (although, you can find it by searching ).  What are they talking about here?  Is there any truth to this?  If someone could explain it to me without me having to watch the entire ad video or subscribe to their newsletter, I'd appreciate it. How do I turn off some formats in GeoServer's WMS? I have published a couple of layers on my Geoserver.  To be complaint with the T&amp;C of my data provider, I need to block the access of some of those layers as Vector data. Hence I have already blocked the WFS services on these Layers.  I came to know that even on the WMS service, you can get Vector Data, if you use GeoRSS and some of the .   How do I block GeoRSS, SVG &amp; UTFGrid as formats in the WMS Service? Where should I start learning? There are various topics to learn like Objects, Classes, Apex, Visualforce, SOSL, SOQL, Triggers, etc. There are so many options out there to start learning. I couldn't decide what topic to learn first, and then step by step get proficiency in all aspects of Saleforce. Why is the gradient of implicit surface the normal vector (i.e. parallel to the normal line)? If we have an implicit surface $g(x, y, z)=...$, the gradient is a normal vector. But why? Do I have to start with tangent vectors and then show the gradient is perpendicular? Not sure how to approach this. How do I effectively defeat the Wall of Flesh? My script (should) acts differently, depending on the presence of the data in the input stream. So I can invoke it like this:  $ my-script.sh   or:  $ my-script.sh &lt;&lt;-MARK     Data comes...     ...data goes. MARK   or:  $ some-command | my-script.sh   where two last cases should read the data, while first case should notice the data is missing and act accordingly.  The crucial part (excerpt) of the script is:  #!/bin/bash local myData; read -d '' -t 0 myData;  [ -z "${myData}" ] &amp;&amp; {     # Notice the lack of the data. } || {     # Process the data. }   I use read to read input data, then option -d '' to read multiple lines, as this is expected, and the -t 0 to set timeout to zero. Why the timeout? According to  (typing left unchanged; bold is mine):     -t timeout time out and return failure if a complete line of input is               not read withint TIMEOUT seconds.  The value of the TMOUT               variable is the default timeout.  TIMEOUT may be a               fractional number.  If TIMEOUT is 0, read returns success only               if input is available on the specified file descriptor.  The               exit status is greater than 128 if the timeout is exceeded   So I in case 2 and 3 it should read the data immediately, as I understand it. Unfortunately it doesn't. As -t can take fractional values (according to above man page), changing read line to:  read -d '' -t 0.01 myData;   actually reads the data when data is present and skips it (after 10ms timeout) if it is not. But it should also work when TIMEOUT is set to real 0.  Why it actually doesn't? How can this be fixed? And is there, perhaps, alternative solution to the problem of "act differently depending on the presence of the data"?  UPDATE  Thanks to @Isaac I found a misleading discrepancy between quoted on-line version and my local one (normally I do not have locale set to en_US, so help read gave me translation which I couldn't paste here, and looking up for on-line translation was faster than setting new env---but that caused the whole problem).  So for 4.4.12 version of Bash it says:     If TIMEOUT is 0, read returns               immediately, without trying to read any data, returning               success only if input is available on the specified               file descriptor.   This gives a little bit different impression than "If TIMEOUT is 0, read returns success only if input is available on the specified file descriptor"---for me it implied actually an attempt to read the data.  So finally I tested this and it worked perfectly:  read -t 0 &amp;&amp; read -d '' myData;   The meaning: see if there's anything to read and if it succeed, just read it.  So as to base question, the correct answer was provided by Isaac. And as to alternative solution I prefer the above "read &amp;&amp; read" method. In the LoTR movies (not sure if the books are the same) but when Gollum lost the ring to Bilbo decades ago in The Hobbit, he appeared to look the same and even move the same in The Fellowship of the Ring. Bilbo on the other hand, seemed to have aged very rapidly when he passed the ring to Frodo. When Frodo met up with Bilbo in Rivendell shortly after his quest began, Bilbo appeared much older and even more much slower.  I realize that Gollum had the ring for much longer than Bilbo, but wouldn't him losing the ring have the same effect as it had on Bilbo? Does Kylo not know the fate of Darth Vader? It seems Kylo has an obsession of Darth Vader and has an interest in the dark side because of it.   Does he not realize that Darth Vader turned good and helped destroy the Empire (Spoilers?)? I feel like Kylo would've seen how much better the Light Side was as it was able to turn Vader from the Dark Side if he had known this. Programmatically combining images in PHP I'm a big fan of Yahoo's  for speeding up websites. One of the recommendations is to combine images where possible to cut down on size and the number of requests. However, I've noticed that while it can be easy to use CSS sprites for layouts, other image uses aren't as easily combined. The primary example I'm thinking of is a blog or article list, where each blog or article also has an image associated with it. Those images can greatly affect load time and page size, especially if they aren't optimized. What I'm looking for, in concept or in practice, is a way to dynamically combine those images while running them through a loss-less compression using PHP.   A few added thoughts or concerns:   Combining the images and generating a dynamic CSS stylesheet to position the backgrounds of the images might be one way to go about it, but I also worry about accessibility and semantics. As far as I understand, CSS images should be used for layout elements and the img tag (with the alt attribute) should be used for images that are meant to convey information. I could set the image as a background to a div element and substitute a title attribute for the alt attribute, but I'm unsure about the accessibility and semantic implications of doing so. Might the GD library be a good candidate for something like this? Can you recommend other options? People seem to believe that one's consciousness is a "different" consciousness than that of others, but the "same" consciousness as the one that has been in one's body in the past and the one that will be in one's body in the future. How likely is this to be true and why?   Also, I have almost no knowledge about neuroscience, so please refrain from using neuroscience jargon if feasible. How to obtain the sum of the following series? $\sum_{n=1}^\infty{\frac{n^2}{2^n}}$ I have a small issue with my Ubuntu (I think After an upgarde). When I try to login (Login Screen), I get disconnected and get back to the screen (again &amp; again).  I tried:   Trying to login with others Desktop environements. Booting from old kernel. log in via command line [apt-get update &amp;&amp; apt-get upgrade]. removing ~/.gconf directory. sudo apt-get install --reinstall ubuntu-desktop and sudo apt-get install unity   None of these solutions worked. URL to create a new Google document What is the current URL to create a new Google Document please? Since Google last updated their Docs the old URL does not work. How to count occurrences of one field grouped by values of another? I can run faster than _____. (1) him (2) he? Consider the sentence &quot;I can run faster than 15 miles per hour.&quot; Its meaning is clear and to my eyes obviously grammatically correct. Now let me present some variations that have given me trouble for a long time.  I am faster than 15 miles per hour. – To me this is clearly incorrect. Directly comparing me to a speed doesn't seem right. We need to compare my speed to a speed, or me to another person.  I can run faster than him. – Compared to the base sentence, there is a distinct shift in meaning of the comparison. While before I named a speed faster than which I can run, now I am naming a person. It doesn't seem quite right. I realize the parts of speech can change, but my initial objection is that &quot;him&quot; is not a speed.  I can run faster than he. – This seems most correct to me, but still somehow feels objectionable. Is this in fact the correct way to say it? And if so, is it proper as is or need I say &quot;... faster than he can&quot; or even &quot;... faster than he can run?&quot;  I am faster than him. – With &quot;am&quot; instead of &quot;can run&quot; it now seems slightly more correct. But is it?  I am faster than he. – I'm in doubt here. It doesn't seem wrong to me to say, &quot;I am faster than he is&quot; or even &quot;I am faster than he is fast.&quot; (Though I suppose that is a given since I could hardly properly compare to some other category as in &quot;I am faster than he is smart.&quot;)  My speed is faster than his. – Hmm. This seems more proper as &quot;my speed is greater than his.&quot;   So which of these constructions is correct and which is incorrect? Is there a general rule that I can follow? UPDATE The scholarly article  may be of great interest to some readers!  Once we accept that the elided constituent and its antecedent can differ in form, it becomes reasonable to ask how large this difference can be. The answer in Rooth (1992), Fiengo and May (1994), Chung et al. (1995) and subsequent work is that the wiggle room is actually quite small: the elided constituent and its antecedent are allowed to differ only in the realization of inﬂectional morphology. Other than that, both constituents have to be syntactically and lexically isomorphic. BAD signature when trying to verify SHA256SUMS for Bionic Beaver ISO I am attempting to verify my download of Bionic Beaver on Windows 7.  I feel like I am missing something very obvious.  I went to  and clicked on both SHA256SUMS and SHA256SUMS.gpg  It seems like this does not download the files, but opens the text in the files in new tabs.  I used Ctrl-A and then copied the text into Notepad, naming the files SHA256SUMS and SHA256SUMS.gpg.  I made sure that windows didn't add any weird extensions when saving.  I manually downloaded both keys I used from https://keyserver.ubuntu.com, one with fingerprint  C598 6B4F 1257 FFA8 6632 CBA7 4618 1433 FBB7 5451   and the other with fingerprint  8439 38DF 228D 22F7 B374 2BC0 D94A A3F0 EFE2 1092   After I downloaded both keys I certified them with my personal key using Kleopatra, after verifying the key fingerprint with those at .  When I ran   gpg --verify SHA256SUMS.gpg SHA256SUMS   I got   gpg: Signature made 11/29/18 16:27:43 US Mountain Standard Time gpg:                using DSA key 46181433FBB75451 gpg: BAD signature from "Ubuntu CD Image Automatic Signing Key &lt;cdimage@ubuntu.c om&gt;" [full] gpg: Signature made 11/29/18 16:27:43 US Mountain Standard Time gpg:                using RSA key D94AA3F0EFE21092 gpg: BAD signature from "Ubuntu CD Image Automatic Signing Key (2012) &lt;cdimage@u buntu.com&gt;" [full]   When I ran   gpg --verbose --verify SHA256SUMS.gpg SHA256SUMS   I got  gpg: armor header: Version: GnuPG v1 gpg: Signature made 11/29/18 16:27:43 US Mountain Standard Time gpg:                using DSA key 46181433FBB75451 gpg: using pgp trust model gpg: BAD signature from "Ubuntu CD Image Automatic Signing Key &lt;cdimage@ubuntu.c om&gt;" [full] gpg: binary signature, digest algorithm SHA512, key algorithm dsa1024 gpg: Signature made 11/29/18 16:27:43 US Mountain Standard Time gpg:                using RSA key D94AA3F0EFE21092 gpg: BAD signature from "Ubuntu CD Image Automatic Signing Key (2012) &lt;cdimage@u buntu.com&gt;" [full] gpg: binary signature, digest algorithm SHA512, key algorithm rsa4096   I tried copying the data from SHA256SUMS and SHA256SUMS.gpg tabs over TOR instead, in case it was a local network problem, but no dice either.  What am I missing here? Is there some way to download the SHA256SUMS and SHA256SUMS.gpg files directly, as opposed to copying the data into a text editor and saving it?  Any help would be very appreciated. I am very confused and frustrated at this point.