How to use different keyboards in different apps without paid software?
Use fixed keyboard for a given app
Can Selenium interact with an existing browser session? Can Java's NullPointerException be changed to report on which variable was null? I have a file containing two columns and 10 million rows. The first column contains many repeated values, but there is a distinct value in column 2. I want to remove the repeated rows and want to keep only one using awk. Note: the file is sorted with values in column 1. For example:    1.123 -4.0 2.234 -3.5 2.234 -3.1 2.234 -2.0 4.432 0.0 5.123 +0.2 8.654 +0.5 8.654 +0.8 8.654 +0.9 . . . .   Expected output  1.123 -4.0 2.234 -3.5 4.432 0.0 5.123 +0.2 8.654 +0.5 . . . . Hydraulic Disk brake piston not fully retracting My front disk brake's piston doesn't fully retract.  While I can ride the bike, the brake is slightly rubbing.  (IE, if I just spin the wheel with my hand, it'll go around about one and a half times and then stop.) It's definitely slowing me down.   If this fixable?  The advice I got was that it's not worth the trouble and to buy a replacement set.  The current brakes are Avid Juicy 7s that are about 7 years old This question is about finding reasons for compile errors when using tikz.  Consider the files compiles.tex, compiles-not1.tex and compiles-not2.tex. Then it is clear that compiles-not1.tex does not compile, because the name C has not been assigned. The file compiles-not2.tex does not compile, because \draw (A) -- (A -| B ); contains a space after the name B. However, this is difficult to see from the error message.   Is it possible to tweak the error messages generated by tikz to perhaps mark tikz-code and names in some way? What I mean is that in the example, an error message ! Package pgf Error: No shape named 'B ' is known. might be more helpful, as the space in the name B\␣ (B with a trailing space) is more clearly delimited from the message.   File compiles.tex compiles without errors.  \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture}     \node (A) {A};     \node[above right of=A] (B) {B};     \draw (A) -- (A -| B); \end{tikzpicture} \end{document}   On compilation compiles-not1.tex generates ! Package pgf Error: No shape named C is known.  \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture}     \node (A) {A};     \node[above right of=A] (B) {B};     \draw (A) -- (A -| C); \end{tikzpicture} \end{document}   compiles-not2.tex generates ! Package pgf Error: No shape named B  is known.  \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture}     \node (A) {A};     \node[above right of=A] (B) {B};     \draw (A) -- (A -| B ); \end{tikzpicture} \end{document} UK Visa in an expired Nigerian passport - what to use? What book would you recommend for scientists who are not statisticians?  Clear delivery is most appreciated. As well as the explanation of the appropriate techniques and methods for typical tasks: time series analysis, presentation and aggregation of large data sets. Trying to identify a very old short story about aliens colonizing human bodies Don't remember the exact start to the story, but it went something like "walking along a path" or something, and when he hears what sounds like a shotgun blast behind him, he then feels something strike him in the butt. He passes out, and when he awakens, he discovers that the "shotgun blast" was actually a miniature spaceship that exploded and shot miniature aliens into his body. The aliens prove to be very beneficial because they clean up all the toxins and other poisons in his body. They can be transmitted through kissing or sexual activity.  Any help with the name of the story would be greatly appreciated.  Dan I'm trying to run a gunicorn_django process in supervisor but it always exits immediately, giving this error:   INFO exited: my_app (exit status 1; not expected) INFO received SIGCLD indicating a child quit INFO gave up: my_app entered FATAL state, too many start retries too quickly   My server script looks like this:  #!/bin/bash set -e LOGFILE=/var/log/gunicorn/my_app.log LOGDIR=$(dirname $LOGFILE) NUM_WORKERS=3 USER=my-www-user GROUP=my-www-user cd /home/my-www-user/my_app source /home/my-www-user/.virtualenvs/my_app/bin/activate test -d $LOGDIR || mkdir -p $LOGDIR gunicorn_django -w $NUM_WORKERS --debug \  --user=$USER --group=$GROUP \  --log-level=debug --log-file=$LOGFILE 2&gt;&gt;$LOGFILE\  --pythonpath=my_app --settings=settings.active \  my_app.wsgi:application   And my supervisor config looks like this:  [program:my_app] directory=/home/my-www-user/my_app/ user=my-www-user command=/home/my-www-user/my_app/server.sh stdout_logfile=/var/log/supervisor/my_app.log stderr_logfile=/var/log/supervisor/my_app-error.log autostart=true autorestart=true   When I su into the my-www-user account the server starts normally. When I do sudo supervisorctl start my_app it simply hangs until I do CTRL-c, then I find the error above in the supervisord.log file.  Does anyone have a clue about what I am missing? I've setup a HTTPS and FTP site in IIS but how can I add users to use the FTP site?  Does they necessarily need an account with password in the computer to be able to use it? Finding information on German soldiers from World War I and World War II? I just refreshed the [iphone]-tag-site, and I'm seeing all kinds of questions with what appears to be a grey overlay (see image). What is this for/why am I seeing this? I have never seen anything like this before.. Conveying "under the radar" in a less colloquial way I am searching for a word to contrast with iconic  I want to characterize views of the city as both iconic and under the radar, maybe "non-iconic."  I was thinking about saying that a view of the city was undiscovered, but I think that maybe that overstates what I'm think-- I more mean under-appreciated. Are there any other words that come to mind? Which rational numbers can be written as the sum of two rational squares?  That is, for which rational numbers $a$, are there rational numbers $x$ and $y$ such that $a = x^2 + y^2$.  It is a famous theorem that if an integer can be written as the sum of two rational squares then it can be written as the sum of two integral squares, and then the solution is the famous one by Fermat, but I didn't find anything about the general case. Can a function be made to accept a variable amount of inputs? Where is "Regular Solids" option? Following an online tutorial that uses an object named "icosahedron" from Add > Mesh > Regular Solids > Archimedean > Icosahedron. This object is not available in my version of Blender (2.74). Presenter asks me to include an add-on named "Add Mesh: Regular Solids", which again is not listed in my User Preferences dialog. What can I do about it? Is there a significant difference between "rock" and "stone"? I found this pretty good small research, but I am still concerned about "regular usage" in life, say, when I am talking in the office, especially because of this comment:     To me: Stone is something you can pick up with one hand (for   throwing). A rock takes two hands. I have a Dell N5110 laptop with integrated Nvidia GeForce GT 525M and an Intel HD Graphics 3000 card; My problem is the default card is the Intel one, and it provides a very bad performance with Windows 8. So can I force to use the Nvidia one all the time including "Desktop Windows Manager" ? When to use self over $this? In PHP 5, what is the difference between using self and $this?  When is each appropriate? Why don't sandwich toasters have an on/off switch? The absolute majority of electrical appliances have an On/Off switch. However, the absolute majority of sandwich toasters do not - you just plug them into the socket and unplug them when you're done. At least, that's the case for all household sandwich toasters I've ever seen. I'm referring to this device, not the vertical toaster (where the lever doubles as a switch):    It looks like some models do have a switch, but apparently these are just the larger/industrial types, not the common variety.  Why is that?