On Windows I can Shift Right-click in a folder and I am presented with the option to Open a Command Window Here. Is there a way I can do this on my MacBook Air? Or, do I need to open the terminal manually, and then cd to the destination folder?
I was wondering if there was any was I could right click inside any instance of a "Finder" window such that I have an option that says "Open Terminal Here". It would be really helpful.
Determine if wire in switch box is safe to re-purpose? I need to pull a neutral wire to my light switch for a smart switch.  It's presently switching an outlet that I don't need switched, and the other side of the outlet already has unswitched power.  My plan is to use a smart switch, which requires neutral, to control a different device wirelessly.    I can't feasibly run a new wire, because the wires aren't run through conduit.  Instead, my plan is to repurpose the switched wire to get neutral from the outlet.    The switch, which controls an outlet has two wires, one black and one red.  The switched outlet has a white neutral wire, plus the red and black wires that I assume run directly to the switch.  I've completely disconnected the red and black wires from the outlet and the switch.  The black wire is measuring 120V AC when measured against ground using the box as ground, both at the outlet and at the switch. Using my DMM, the red wire is measuring 24V AC with respect to the box/ground at both sides.  I assume this is a  caused by induction from the charged black wire over to the floating red wire.    Our house is ~100 years old and this particular switch seems to be run using armored cable (note the paper wrap around each wire.)  There are literally only two wires in the switch box; no wire nuts.    If relevant, we do have some old knob and tube wiring active, but I'm pretty confident there's none on this circuit.  Is there some way I can determine with enough confidence that the red wire isn't connected elsewhere such that I can know it's safe to connect the red wire at the outlet to netural? Suddenly Okular will not open any more I have made my laptop double boot a few months again, with Ubuntu 18.04.1 . I have been working with okular to open pdf files (for the commenting option) but suddenly okular doesn't work anymore. When trying to open okular I get the following error:     Unable to find the Okular component: Cannot load library /snap/okular/39/usr/lib/x86_64-linux-gnu/qt5/plugins/okularpart.so: (libKF5JSApi.so.5: cannot open shared object file: No such file or directory)   I don't understand how to solve this problem. Okular was working fine until today and I didn't change anything to my ubuntu system in the mean time. Perhaps the problem comes from the fact that I have been working on windows the last few days and also used the windows ubuntu app.   How can I make okular work again? Algorithm to return all combinations of k elements from n Windows Starter Edition, Home and Home Premium do not include gpedit, how do I install it? Using Squeeze Theorem to show the following limits Consider a function f (x) defined on R satisfying:   for all x distinct 0.  Calculate: lim f(x) with x→∞ and limf(x) with x→−∞   Issue information:   if x → ∞ then we can consider | x | = x  if x → -∞ then we can consider | x | = -x  I can use x² = | x |? In the answer to , I was advised:      Yes you have to download the language pack. And you also have to go here: C:\Program Files (x86)\Origin Games\Dragon Age Inquisition\Data\Win32        In the folder loctext leave only the files en.sb and en.toc present, put the others in a folder named temp.   In the folder locfacefx make a copy of en.sb_DiP_STAGED and en.toc_DiP_STAGED, rename them to en.sb and en.toc. place the other language files into a temp folder   When I started the game the language was changed also into the interface. Take notes on what you have done and keep the original files in case something doesn't work, but for the moment that seem to work."   I have no en.sb_DiP_STAGED and en.toc_DiP_STAGED files in my Origin version of the game. Exit from both root and user with one command I know about "not using sudo su -" etc. But let's be honest, almost all of us do it.   So, here is the issue. We can't have root logins enabled, so we have to ssh in as our user then su to root.  Here is the process tree:       1  7897  7826  7826 ?           -1 S     1000   0:00 sshd: josh@pts/0  7897  7898  7898  7898 pts/0     8182 Ss    1000   0:00  \_ -bash  7898  7990  7990  7898 pts/0     8182 S        0   0:00      \_ sudo su -  7990  7991  7990  7898 pts/0     8182 S        0   0:00          \_ su -  7991  7992  7992  7898 pts/0     8182 S        0   0:00              \_  -su  7992  8182  8182  7898 pts/0     8182 R+       0   0:00                  \_ ps axjf   I would like to exit from root, then from my user with one command. Is there a way to do this?  BTW exit &amp;&amp; exit does not work because it exits the shell and doesnt process the rest of the command  josh@ubuntu:~$ sudo su - root@ubuntu:~# exit &amp;&amp; exit logout josh@ubuntu:~$ I would like to capture the contents of AJAX requests using Greasemonkey.  Does anybody know how to do this? What is the gradient of $f(x, y, z) = \sqrt{x^2+y^2+z^2}$? What is the gradient of $f(x, y, z) = \sqrt{x^2+y^2+z^2}$?  I know that $\nabla f = \left\langle\frac{\partial f}{\partial x}, \frac{\partial f}{\partial y}, \frac{\partial f}{\partial z}\right\rangle$ or equivalently $\nabla f = \frac{\partial f}{\partial x}\mathbf{i} + \frac{\partial f}{\partial y}\mathbf{j} + \frac{\partial f}{\partial z}\mathbf{k}$.  Eventually, I am going to evaluate this gradient at a point and then dot it with some given unit vector to find a directional derivative. I think maybe what is troubling me is the radical in $f$. Will I have to use the chain rule in order to find the three partial derivatives?  I tried this:  $$\frac{\partial f}{\partial x} = \frac{1}{2}(x^2 + y^2 + z^2)^{-\frac{1}{2}}2x$$ $$= \frac{x}{\sqrt{x^2 + y^2 + z^2}}$$  That result looks ugly to me. However, if I did that partial derivative correctly, then I think I know what I am doing. How to Identify Overfitting in Convolutional Neural network? I understand that dropout is used to reduce over fitting in the network. This is a generalization technique. In convolutional neural network how can I identify overfitting? One situation that I can think of is when I get training accuracy too high compared to testing or validation accuracy. In that case the model tries to overfit to the training samples and performs poorly to the testing samples. Is this the only way that indicates whether to apply dropout or should dropout be blindly added to the model hoping that it increases testing or validation accuracy Cardinality of the quotient ring $\mathbb{Z}[x]/(x^2-3,2x+4)$ This problem is from a practice exam I was working on.     What is the cardinality of the quotient $\mathbb{Z}[x]/(x^2-3,2x+4)$ ?   Thoughts. If I find a ring that is easier to handle then this then I can go from there. So I think this is isomorphic to $\mathbb{Z}_2[x]/(x^2-3,x+2)$. And then I am stuck.  Am I correct so far? What should I be looking to do from here?  Thanks for your time and your answers. Can you end Beast Form early? Is there any way to end beast form early? I find myself using it to clear out a particularly hard portion of a dungeon at times, but then I have to sit around for 2-5 minutes so I can be my human character again (I have to feed to keep my health up, so I'm a werewolf longer than the 2.5 minutes).  Is there anyway to end it early? It was announced on  (at 1:05:26) that Stack Exchange has its own URL shortener, http://s.tk/. Users can't create their own, they can only use the ones that are built-in. What shortened URLs are available through it? I have had significant problems with watching flash video in 64-bit Ubuntu.  Does anyone know of a good way to get flash running on the platform? How do you prove ${n \choose k}$ is maximum when $k$ is $ \lceil \tfrac n2 \rceil$ or $ \lfloor \tfrac n2\rfloor $? The day before yesterday I think, my daughter asked me where we were going and since I was not planning to do the weekly shopping on that day and I just wanted to buy some stuff from two stores, I said offhand we are going to the shops! Looking back, it seems when I don't find a NAmE word I turn to UK if I know of.  So what do you say when:   go shopping (it's just go shopping!) you go to buy something specific; I mean you're not going shopping, and it's usually found in any store. You don't have to shop around. you want to buy non grocery or clothing stuff, maybe a can of paint and a spare part for your car together.    I have found some kind of answer for this question on , but I prefer to get a clear answer to my points above, and also if you agree with this native speaker about using store in singular form not plural:     Just as a side note, we don't use the plural in American English. "I'm   going to the store" (even if I may visit several stores), not "I'm   going to the stores". (If we know we are going to several stores I   think it would be more likely to say "I'm going shopping" or even "I'm   going downtown" in smaller towns.) I will soon be attending a Ph.D program in mathematics. I do not know how common this practice is, but the department has a requirement that graduate students must learn a foreign language and be able to read and write mathematics in that language. The three choices are French, German, or Russian. I personally have no preference on which to learn, but I was wondering if there were other reasons that would make one language more advantageous over the others in terms of a general mathematical career. Thanks in advance in any response. Can I have 2x2 workspaces in GNOME 3? Proof of $\int_0^\infty \left(\frac{\sin x}{x}\right)^2 \mathrm dx=\frac{\pi}{2}.$ I am looking for a short proof that $$\int_0^\infty \left(\frac{\sin x}{x}\right)^2 \mathrm dx=\frac{\pi}{2}.$$ What do you think?  It is kind of amazing that $$\int_0^\infty \frac{\sin x}{x} \mathrm dx$$ is also $\frac{\pi}{2}.$ Many proofs of this latter one are already in this . How could it be that the entropy of gas is not infinite?  If we use the formula $S=k\ln(\Omega)$ we get infinity because there are an infinite number of possible situations (because there are infinite possibilities of position and momentum for each molecule).