In the Vim documents there a mention that Crtl+A should increase a number by one. In the Windows version it instead selects all text.  Is there an alternative shortcut for increasing a number by one?
While CtrlX works fine in vim under windows, CtrlA selects all (duh).  Is there a way to increment a number with a keystroke under windows?
Suppress Chrome 'Failed to load resource' messages in console I was just wondering since i have the 12.04 lts ubuntu edition if it's possible to upgrade it to 13.04 or even 14.04 after it gets released without losing any of my files and installed apps?  That's actually the main reason i chose the LTS version because i didn't know if i had to re-install all my apps every time a new ubuntu version gets released. How to find files between two dates using "find"? I stupidly ran sudo rm /* followed by sudo rm -R /*  My sites still run, although the vast majority of commands like ls are now broken.  Is there a simple way to get data off the server or reverse some of damage? Is it bad to use a pacifier? I've been using it when she gets fussy and she seems to love it. Is this a bad habit to get into? I've heard there are potential dental/breastfeeding/dependency issues. Is there any truth to this? Why does this intentionally incorrect use of strcpy not fail horribly? Is there a replacement for unistd.h for Windows (Visual C)? I'm porting a relatively simple console program written for Unix to the Windows platform (). All the source files include "unistd.h", which doesn't exist.  Removing it, I get complaints about misssing prototypes for 'srandom', 'random', and 'getopt'. I know I can replace the random functions, and I'm pretty sure I can find/hack-up a getopt implementation.    But I'm sure others have run into the same challenge.  My question is: is there a port of "unistd.h" to Windows? At least one containg those functions which do have a native Windows implementation - I don't need pipes or forking.  EDIT:  I know I can create my very own "unistd.h" which contains replacements for the things I need - especially in this case, since it is a limited set. But since it seems like a common problem, I was wondering if someone had done the work already for a bigger subset of the functionality.  Switching to a different compiler or environment isn't possible at work - I'm stuck with Visual Studio. Are the floor functions of $0.999\cdots$ and 1 equal?  It is true that $0.999\cdots=1$ but how does one justifies the integer part of $0.999\cdots$ being 1 , where it is not, or alternatively without using $0.999\cdots=1$ how can we show that  $\lfloor0.999\cdots\rfloor = \lfloor 1 \rfloor$ ? How can i find the python triggered by the GUI? Can “whose” refer to an inanimate object? We lit a fire whose fuel was old timber wood.   Is the word whose referring to fire, an inanimate object, correct in this sentence? Or is there a more appropriate word? This might be a stupid question, but why exactly is work a path function?  In school, my teacher said it’s because it depends on the path. She gave an example of walking up a mountain, and said the work you expend depends on the path you take (straight path up or circling up around the mountain). But isn’t the work expended just equal to $E= mgh?$ What is the origin of "a cut above/below the rest"? I am not very well versed on set theory or syntax, but I thought I knew the basics.  However, in a book about databases I am reading now, the author uses $2^x$ to signify "a set of $x$."  For example, $2^{\text{dogs}}$ is a set of $\text {dogs}$, etc.    The author never really explained this or why he does it, I just picked up the meaning from context.    I am not sure why the exponent operator is used, nor am I sure what the number $2$ has to do with it.  The sets being represented are NOT powers of $2$ (in size)... they come in all sizes.  Is this a valid notation?  I have not seen it anywhere before... Is it possible to browse the internet from a laptop so that the web sites you visit think you are browsing from a mobile device?  Say I need to connect via a very low bandwidth connection and just using the mobile version of the site is sufficient?  Currently I'm using Vista and Firefox 3.5 How to make password-less login work I generated a key and copied it to my target:  ssh-keygen ssh-copy-id username@hostname   I left the the location of the key as default and did not set any passphrase.  For a small while after that, I was able to ssh username@hostname without being prompted for a password, and then it stopped working for some reason. A half covered lens Let's say there's an object in front of a convex lens. I have a piece of paper behind the lens at the right location such that it will the lens will form an image on the paper. The object is illuminating.  Now if I put another piece of paper right before the lens, and cover up half of the lens. The image, instead of only half being visible, it will actually remain the same. The only difference is that it will be dimmer.  Now, the question is what if I remove the paper at the location where the image forms, and put my eye there. What will I see? Will I see the piece of paper which is blocking half of the lens at all? Does that mean I will just "see through" the paper?  I wanted to try this out myself, but unfortunately I don't have a lens besides me. I'm looking into using Named Credentials (spring '15) to simplify apex callouts to an external web service.  I actually thought, based on the documentation, that this would help, and I'm referring correctly to the Named Credential in my code and have also given my profile access to the NC, but I'm faced with this error when I do the callout:     System.UnexpectedException: You don't have permission to view this   data. Ask your administrator to set up authentication for the external   data source   This seems to say that NC are tied to the use of External Data Source, which is absolutely unrelated to what I want to do, and the documentation doesn't mention that they are a requirement.  Have any of you run into this error when testing out Named Credentials? Is there a more accurate way to create a Javascript timer than setTimeout? make tail -f exit on a broken pipe I want to watch a file until a bit of text appears  I found this answer:   but when I tried it on ubuntu, it doesn't exit:  $ echo one &gt; test.txt $ echo two &gt;&gt; test.txt $ echo three &gt;&gt; test.txt $ echo four &gt;&gt; test.txt $ cat test.txt | sed '/w/ q' one two $   works as expected.  however when I try to tail the file  $ tail -f test.txt | sed '/w/ q' one two   it never exits.  tail does not stop even though the pipe is broken.  Does anybody know how to make tail exit when sed exits? The comments in  say that I shouldn't wait until low battery charge level before I charge, because that reduces battery life (this is contrary to my understanding before that the faster we charge (without waiting for battery to discharge) the worse it will be for battery life). My question is, when I should generally start charging to avoid this effect? 20%?   Interesting question: If we always limit the usage of the battery only 20% and above, won't we, in effect, reduces our battery capacity to 80%, because we will only use the battery in 20%-100% state?