How can I prevent users from downloading documents created in Google Drive?
Prevent people from downloading / copying / making a copy of data in Google doc
$|A \cup B| = \mathfrak{c}$, then $A$ or $B$ has cardinality $\mathfrak{c}$. There is a book I read in the 1980s or 1990s from a Ca.  library. It was a hard copy not a paperback. It is not "To Outlive Eternity/Tau Zero" by Poul Anderson (I have that one). It may have been written by a woman or someone whose last name starts with an "L".  A large crew of men and women are in a new super fast space ship. They are being chased by someone and they outrun the collapse of the universe, but they have lost their home planet. They watch as the universe is reborn. They go into orbit around a planet that looks like it can support life like theirs. They are moving super fast. They look like a ring of radiation going around the planet. They put down 10 super metal markers with scientific info onto the surface of the planet. They watch the planet develop and form life like the dinosaurs and then evolve into human like life forms.  There are 2 warring countries on the planet. They block or turn off the sun to freeze the planet and force the countries to form one world government. The planet gets freezing cold and the people start to freeze. The countries agree to form one world government. The people on the ship are welcomed to the planet. I posted what I think is a clever answer to:    But then I noticed the question was posted a while ago on Mar 2.  I wanted to see what the chance of the user logging back in and seeing my answer, but the  says the user was seen on Feb 19.  I thought this was supposed to be the date they last logged in? How could they have asked a question on Mar 2 if they haven't logged in since February?  Thanks A pessimist is someone who always considers negative outcomes of a situation, whereas an optimist always considers the positive outcomes. Is there a word for someone who, in any given situation, doesn't care about the outcome at all? creating a tar archive without including parent directory I am trying to create a graphical program for my script.  Inside the script I use tar to create a tar archive.  From the graphical program I get the full name of file that I want to create a tar archive.  tar -cvf temp.tar /home/username/dir1/dir2/selecteddir    My tar archive includes home, username, dir1, dir2 and selecteddir while i want tar to create archive only including selecteddir. Per User Named Credential and External Identity Users My question is almost similar to one mentioned in 'Auth Provider with per-user Named Credential' (). I am trying to authenticate and make a API call when a new or existing Salesforce community users try to log in. The Authentication is provided by 3rd party (Cognito). So, the requirement is :  User to be authenticated using the 3rd party system for login. After successful authentication and before community page is displayed, the API call is to be made to 3rd party system to get more details about the user.  In order to achieve this:  Created an Open ID Connect Auth. Provider Use the registration handler on the Auth. Provider to create/link a new/existing user. Use a login flow for API call. Use Per User Identity Type Named Credential to make API calls.  No, where I am having issue is once the user has authenticated successfully, how do I allow the user to make API call without authenticating it again. I am getting the error: An Apex error occurred: System.UnexpectedException: You don't have permission to view this data, enter credentials for the named credential in your personal settings. Or ask your Salesforce admin for help. I believe this error is due to the fact that the user is not listed under 'Authentication setting for External Systems'. My requirement doesn't allow me to authenticate the user again, so how do I achieve this using either APEX or any other way? How to use SSH to run a local shell script on a remote machine? I have to run a local shell script (windows/Linux) on a remote machine. I have SSH configured on both machine A and B. My script is on machine A which will run some of my code on a remote machine, machine B. The local and remote computers can be either Windows or Unix based system. Is there a way to run do this using plink/ssh? Why is this match pattern unreachable when using non-literal patterns? Split file into multiple small files, separate by the newline symbol Is there a utility that split file by newline symbol? e.g if a file contains the following lines,  aa bbb cccc   If I want to split it to 3 files, the desired output would be:  aa, bbb And cccc (in 3 different files)  I already checked the split command, it only cut file by file sizes, not what I want.  If I don't wrote a utility myself, is there any standard tool to use? Unit Test - Creating Custom Metadata I have three questions that I'd like to be clarified.   Is their anyway we could create Custom Metadata in Test Classes? I tried to create on my Test Class but I got an error saying the fields of the metadata could not be writable.  If not, then does that mean we should declare real values in our Custom Metadata and use that instead in our test classes? If (2) is correct, then does this mean we have to create the Custom Metadata in the environment we'll be deploying our code before doing the actual deployment? How to align two images side by side if one label has more lines I have two same sized images and want them side by side with a caption under them.  My code looks like this:   \begin{figure}[H] \centering \begin{minipage}{.5\textwidth}   \centering     \includegraphics[width=\textwidth]{3}     \caption{label1}   \label{fig:test1} \end{minipage}% \begin{minipage}{.5\textwidth}   \centering     \includegraphics[width=\textwidth]{4}     \caption{label2}   \label{fig:test2} \end{minipage} \end{figure}   which works fine until one of the labels has 2 lines, than it looks like this:    and I woud like to prevent it to look something like this:    How can it be done?  Thanks Why is the laboratory frame energy always greater than the center of mass frame energy? I have been looking for an answer to 'Why is the laboratory frame energy always greater than the center of mass frame energy during collisions?'.  A lot of resources provided mathematical explanations. I wanted to get some perspectives in terms of physics.  Could you explain this? Why is human vision restricted to 400-700 nm? Across the electromagnetic spectrum, 400-700 nm is a narrow spectrum of frequencies and focused in the region of short wavelengths. For example, radio waves cover a large range of frequencies unexploited by the visual system. So what biological reason is there that evolved us to use such a small frequency bandwidth for vision? Probability of flipping coin What is the probability of obtaining THT before HHH when a toss is tossed sequentially? Could someone solve using state diagram and law of total probability? How to replace a string with a string containing slash with sed? I am looking for a way to replace a string in a file with a string that contains a slash by using sed.  connect="192.168.100.61/foo" srcText="foo.bar=XPLACEHOLDERX" echo $srcText | sed "s/XPLACEHOLDERX/$connect"   The result is:  sed: -e Expression #1, Character 32: Unknown option for `s' What is the most convenient way to change options for Graph[] objects? Find $f$ if $ f(x)+f\left(\frac{1}{1-x}\right)=x $ Find $f$ if $$ f(x)+f\left(\frac{1}{1-x}\right)=x $$ I think, that I have to find x that $f(x) = f\left(\frac{1}{1-x}\right)$ I've tried to put x which make $x = \frac{1}{1 - x}$, but this equation has no roots in real numbers. Merging bib files from within LaTeX Show the number of up-votes and down-votes on the mobile site theme CPT Template Not Showing - Getting 404