Using iMac 2008 as a monitor for Microsoft Surface 7 I am trying to connect an iMac 2008 to a Microsoft Surface 7. My iMac has a Mini Display Port. Any idea how to connect the iMac to the MacBook Pro, to use as an external monitor? I think I need the USB C to Mini USB Cable (Mini USB to USB C Cable) 3.3 Feet in Black Not similar to the link
What are the requirements to use iMac screen as a second monitor - Target Display Mode? I have a Surface Pro 4 and an iMac (late 2019). I would like to connect my Surface Pro to the iMac to use the iMac screen as a second monitor.  Is that possible?  What are the requirements to use an iMac as a second screen?
I've been using mkvmerge to merge a video file and subtitles, I'm using the following command  mkvmerge -o output.mkv video.mp4 subtitles.srt   Which is working fine but as you can probably guess this is really slow operation   I've to open terminal in every one of those directories where movies are stored. Then I've to copy and paste the names of the files in the command Then I've to rename the output file Then delete the original files which I used   This is a lengthy process.     Ideal situation that I want.   I'll go into the folder which contains a movie file and a subtitle file with the same name. I select a movie file and and a subtitles file, right click and run a nautilus script on them. They get merged Original file gets deleted. Rename the merged file with the name of the orignal file with mkv extension      This doesn't need to be recursive, I don't want my HDD creating and deleting 100's of files at ones. Movie files and Subtitle files generally have the same name but some times have "_en" post fixed to subtitle files. If you have another approach of doing it I'm on board with that too. What is the probability that a person is the second person to roll a 6 for the first time? Suppose $A$, $B$, and $C$ roll a die in turns. What is the probability that $A$ is the second person to roll a $6$ for the first time? How to align multiple subfigures in a grid? I have three images and I want to align them in the way that one image is above the other two. Here's an example:    How can I achieve this? For my other figures I use the subcaption package, but I am not able to align the pictures that way with it.    Thanks for all your replys! The answer that is working for me is the one supposed by karlkoeller:  \documentclass{article} \usepackage{graphicx} \usepackage{subcaption}  \begin{document}  \begin{figure} \centering \begin{subfigure}[b]{.45\linewidth} \includegraphics[width=\linewidth]{example-image-a} \caption{A mouse}\label{fig:mouse} \end{subfigure}  \begin{subfigure}[b]{.45\linewidth} \includegraphics[width=\linewidth]{example-image-b} \caption{A gull}\label{fig:gull} \end{subfigure} \begin{subfigure}[b]{.45\linewidth} \includegraphics[width=\linewidth]{example-image-c} \caption{A tiger}\label{fig:tiger} \end{subfigure} \caption{Picture of animals} \label{fig:animals} \end{figure}  \end{document} What laptop specs are important for intensive image editing work? How important is the following in purchasing a laptop that will be used for image editing:   processor speed amount of RAM integrated vs. dedicated graphics card HD speed (SSD; or 5400/7200/10000 rpm) How to get a list of current open windows/process with Java? Does any one know how do I get the current open windows or process of a local machine using Java?    What I'm trying to do is: list the current open task, windows or process open, like in  Windows Taskmanager, but using a multi-platform approach - using only Java if it's possible. How do I get the distance meter value between two geometries in PostGIS? I have a simple question about calculating distances in PostGIS.  I would like to get the distance between two geometries. I am using this sid : 4269 in meters what i am doing now is this : ST_Distance((a.geom,b.geom)) FROM ... but I am getting result in degrees. I think that I should work with geography but how can I cast a geom to a geography? I tried with (a.geom::geography) but i am getting an error.  What can I do to get my result in meters?   Thank You Counting points in polygons using QGIS The app keeps asking for a nickname, and I have entered dozens of names, but it keeps saying that the names aren't available. How can I find an available name? Java has a convenient split method:  String str = "The quick brown fox"; String[] results = str.split(" ");   Is there an easy way to do this in C++? Is there a way to view the site without having to look at reputation information? I do not want to track my rep information or see anyone else's.  I think that'll let me focus more on the questions themselves.  Is anyone else interested in this feature? I don't see anything on Stack Overflow itself, but are there any add-ins or  scripts that do this? Is it ever bad to use \left and \right? A quark star is a hypothetical type of compact exotic star composed of quark matter. These are ultra-dense phases of degenerate matter theorized to form inside particularly massive[citation needed] neutron stars. -Wikipedia   If you add enough mass to a neutron star it forms a black hole but how much mass is needed to form a quark star? When do neutrons and protons start to break down into a mush of quarks and gluons? At what port did Lorance Effler born about 1787 in Germany come to the US? How to install the OS with a new Hard drive? If you copy the contents of   httpd.conf   and then paste it into a cat command.. such as this one..  #!/bin/bash cat &gt; /test &lt;&lt; EOF pasted here.. EOF   you run into this error:  -bash: command substitution: line 1: unexpected EOF while looking for matching `'' -bash: command substitution: line 4: syntax error: unexpected end of file   perhaps the solution is to escape the dollar signs and maybe even quotes and so on..  but given that this is such a large file.. can dollar signs be automatically be escaped ?  is my only option to escape them via another program and then give it to the cat command ? Quick question about ideals of field $F$ in $F[x]$ are principal. Just got a question about ideals of $F[x]$ being principal with $F$ being a field.  The proof basically starts assuming $g(x) \in N \subset F[x]$ where $N$ is an ideal and $g(x)$ is a minimal degree element. The rest is just deducing the what the division algorithm says.  But my question is that shouldn't we let $g(x)$ be arbitrary? Why are we choosing the minimal element? How can I block app and game invitations once and for all in Facebook? I want to block app and game invitations once and for all in Facebook. How can I do it so they cannot disturb me anymore? Error entering equation in DSolve How can I determine if someone's SSH key contains an empty passphrase? Some of my Linux &amp; FreeBSD systems have dozens of users. Staff will use these "ssh gateway" nodes to SSH into other internal servers.  We're concerned that some of these people use an unencrypted private SSH key (A key without a . , because if a cracker ever gained access to their account on this machine, they could steal the private key and now have access to any machine which uses this same key. For security reasons, we require all users to encrypt their private SSH keys with a passphrase.  How can I tell if a private key is not-encrypted (e.g. Does not contain a passphrase)? Is there a different method to do this on an ASCII-armored key vs. a non-ASCII-armored key?  Update:  To clarify, assume I have superuser access on the machine and I can read everybody's private keys. I've seen a couple other questions with this error message but it seemed that the host and ip in question were ones the OP knew. These two are unrelated to my server.  Where and why is postfix generating this error?     Jul 24 17:42:14 email postfix/smtpd[32277]: warning: hostname kimtake.respectedopinion.com does not resolve to address 62.210.28.114   Jul 24 17:42:14 email postfix/smtpd[32277]: connect from unknown[62.210.28.114]   Jul 24 17:42:14 email postfix/smtpd[32277]: disconnect from unknown[62.210.28.114]