How  do i screenshot on samsung galaxy s~3  Model number GT-S5280 Android Version4.1.2
Is there a way to take a screenshot of an Android device and save it as an image file?
Remove category & tag base from WordPress url - without a plugin I'm trying to use push with AppInbox/Cloud Pages. I want the Cloud Page that is linked to the push message to be able to display dynamic content based on an attribute for that contact. This page -  - says that it is possible to personalise Cloud Page content but doesn't say how. I've already had a Salesforce support case opened and closed with no luck - apparently it's not their job to assist me with how to do something even if they say something is possible but back it up with no documentation for how it might be done. I've tried the normal way you'd do it from an email, using both the _subscriberkey personalisation string as well as the RequestParameter function with fields from the entry source DE, but neither of these work. Given you're selecting a static Cloud Page when you set up the send and there's no visible way to add attributes, how do you actually get a Cloud Page to pick up these values? The main effect will be non-significant if the interaction is significant? Prove $\forall n\geq 2,n\in\mathbb{Z}$, $(n+1)\mid(n^3+1)$ Question: Prove $\forall n\geq 2,n\in\mathbb{Z}$, $(n+1)\mid(n^3+1)$    I know that it is possible to solve by factoring $n^3+1$ and showing that $n+1$ is a multiple, but I would like to show this via induction.  Attempt: Using induction:  Let $n=2:3\mid 9$, so true for $n=2$  (1) Assume true for $n=k:(k+1)\mid(k^3+1)$, so $(k+1)r=k^3+1$ for some $r\in\mathbb{Z}$  (2) Let $n=k+1:(k+2)\mid(k+1)^3+1$, so $(k+2)s=(k+1)^3+1$ for some $s\in\mathbb{Z}$  From (2) we have $(k+1)s+s=(k+1)^3+1$, subbing (1) into (2), I get $k^3+1+s=(k+1)^3+1$  Therefore $k^3+s=(k+1)^3$.  Setting $s=3k^2+3k+1$, this holds.  Where am I going wrong, is the proof valid, any help would be greatly appreciated. When I open a window to air out the room, how does the smell disperse? Let's say I'm in a room with some kind of noxious stink, possibly of flatulent nature.  The quickest way to right the world that comes to mind is to open a window.  When I open a window, how do the stank particles leave the room? Shortest path from points in one layer to points in another layer via roads in QGIS I'm looking for a way to calculate the shortest path from addresses to subway stations via a network of roads.  I have the , however, the addresses and subway stations are point layers that do not overlap with vertices in the roads layer.  In QGIS, is there a way to calculate the shortest distance from the address/subway station points to the roads, create vertices at those locations, then calculate the shortest distance via the roads network?   black squares - addresses white circles - subway stops gray lines - roads Is there a way to enable the JavaScript Error/Debug Console for Safari within Android? What's up with Vic? In the TV series Glitch, we see several people returning from the dead.  We see Vic, a police officer,      getting in a car accident and seemingly .   Afterwards, he behaves very strange. He searches for the doctor and the risen, whom he seems to know a lot about, sometimes even more than they know themselves.      He rekills Maria by breaking her neck.   And he threatens the other risen.  Most of the risen, especially those that have been dead longer, have some difficulty remembering their past lives. Vic on the other hand, seems to remember fine but to have a complete change of character instead.   Why is he after the other risen? How does he know so much about them? Why did he have such a change of character?     Yes, these are several questions, but they are closely related, so I opted to ask them in one question. Sum of two squares modulo p I have heard somewhere that for all primes $p$, for all $k$, there exist $x, y$ s.t. $x^2 + y^2\equiv k \pmod{p}$? I recall that the proof is very elementary, but I can't remember such a proof. How would one prove this? One way is to use Cauchy-Davenport, but I don't think that this is the simplest solution. I've created a Lightning component to view key details for the Account and Contact lookups from a Case, like so:    The problem is, I have been unable to get field content to render when  using the &lt;force:inputField/&gt; or &lt;force:outputField/&gt; components when I place them inside the markup to style them as cards. I've used &lt;ui:outputText/&gt; as a workaround, but that means I don't get any of the built-in behaviors I would get with the &lt;force:*Field/&gt; components -- like Lightning styling, which means I have to manually do it using SLDS.  This displays the contact name as expected:  &lt;aura:component implements="flexipage:availableForRecordHome,force:hasRecordId" access="global" controller="LightningCaseTestController"&gt;   &lt;aura:handler name="init" value="{!this}" action="{!c.doInit}" /&gt;   &lt;aura:attribute name="recordId" type="Id" /&gt;   &lt;aura:attribute name="contact" type="Contact" default="{sobjectType: 'Contact'}"/&gt;    &lt;force:outputField value="{!v.contact.Name}"/&gt;   &lt;force:inputField value="{!v.contact.Name}"/&gt;  &lt;/aura:component&gt;   This does not:  &lt;aura:component implements="flexipage:availableForRecordHome,force:hasRecordId" access="global" controller="LightningCaseTestController"&gt;   &lt;aura:handler name="init" value="{!this}" action="{!c.doInit}" /&gt;   &lt;aura:attribute name="recordId" type="Id" /&gt;   &lt;aura:attribute name="contact" type="Contact" default="{sobjectType: 'Contact'}"/&gt;    &lt;article&gt;     &lt;force:outputField value="{!v.contact.Name}"/&gt;     &lt;force:inputField value="{!v.contact.Name}"/&gt;   &lt;/article&gt;  &lt;/aura:component&gt;   Basically, it appears that as soon as any markup is placed around the &lt;force:*Field/&gt; tags -- even just a &lt;div&gt; -- they no longer render. Examples in Trailhead and other places all seem to use &lt;ui:outputText/&gt; or &lt;ui:input*/&gt;.  This seems like a lot of extra manual work. Am I missing something?  Update: it only fails when the component is included in a Lightning page -- such as the record detail page -- from Lightning App Builder. If I add it to a simple Lightning app, it works:  &lt;aura:application &gt;     &lt;c:LightningCaseTest recordId="SOMECASEID" /&gt; &lt;/aura:application&gt;   So it appears to be a bug? How do we know Dark Matter isn't simply Neutrinos? remote action function encountering CPU time out limit exception What are the uses of Unicorns? What different uses does the unicorn have?  Other than the delicious taste of them coming off the grill.   At Wit's End #221 Simulate repeated rolls of a 7-sided die with a 6-sided die What is the most efficient way to simulate a 7-sided die with a 6-sided die? I've put some thought into it but I'm not sure I get somewhere specifically.  To create a 7-sided die we can use a rejection technique. 3-bits give uniform 1-8 and we need uniform 1-7 which means that we have to reject 1/8 i.e. 12.5% rejection probability.  To create $n * 7$-sided die rolls we need $\lceil log_2(  7^n ) \rceil$ bits. This means that our rejection probability is $p_r(n)=1-\frac{7^n}{2^{\lceil log_2(  7^n ) \rceil}}$.  It turns out that the rejection probability varies wildly but for $n=26$ we get $p_r(26) = 1 - \frac{7^{26}}{2^{\lceil log_2(7^{26}) \rceil}} = 1-\frac{7^{26}}{2^{73}} \approx 0.6\%$ rejection probability which is quite good. This means that we can generate with good odds 26 7-die rolls out of 73 bits.  Similarly, if we throw a fair die $n$ times we get number from $0...(6^n-1)$ which gives us $\lfloor log_2(6^{n}) \rfloor$ bits by rejecting everything which is above $2^{\lfloor log_2(6^{n}) \rfloor}$. Consequently the rejection probability is $p_r(n)=1-\frac{2^{\lfloor log_2(  6^{n} ) \rfloor}}{6^n}$.  Again this varies wildly but for $n = 53$, we get $p_r(53) = 1-\frac{2^{137}}{6^{53}} \approx 0.2\%$ which is excellent. As a result, we can roll the 6-face die 53 times and get ~137 bits.  This means that we get about $\frac{137}{53} * \frac{26}{73} = 0.9207$ 7-face die rolls out of 6-face die rolls which is close to the optimum $\frac{log 7}{log6} = 0.9208$.  Is there a way to get the optimum? Is there an way to find those $n$ numbers as above that minimize errors? Is there relevant theory I could have a look at?  P.S. Relevant python expressions:  min([ (i, round(1000*(1-(  7**i )  /  (2**ceil(log(7**i,2)))) )/10)  for i in xrange(1,100)], key=lambda x: x[1]) min([ (i, round(1000*(1- ((2**floor(log(6**i,2))) / (  6**i ))   )    )/10)  for i in xrange(1,100)], key=lambda x: x[1])   P.S.2 Thanks to @Erick Wong for helping me get the question right with his great comments.  Related question: Insert title of table of contents into toc I have a little bit of problem. I have to put the title of toc into toc. I've used the following code to do that and it works for me, kind of. The problem is in the title is aligned with the titles of the chapters and not with list of figures etc.  { \makeatletter \let\@oldstarttoc\@starttoc \renewcommand{\@starttoc}{%   \addcontentsline{toc}{chapter}{\protect\numberline{}\contentsname}% Add ToC to ToC   \@oldstarttoc } \tableofcontents \makeatother }   Here is the picture of my toc.    My idea is to use the same code for  Acknowledgements, Lists of... , Abbreviations etc. Is it ok to try that or there is an alternative? BAD signature when trying to verify SHA256SUMS for Bionic Beaver ISO I am attempting to verify my download of Bionic Beaver on Windows 7.  I feel like I am missing something very obvious.  I went to  and clicked on both SHA256SUMS and SHA256SUMS.gpg  It seems like this does not download the files, but opens the text in the files in new tabs.  I used Ctrl-A and then copied the text into Notepad, naming the files SHA256SUMS and SHA256SUMS.gpg.  I made sure that windows didn't add any weird extensions when saving.  I manually downloaded both keys I used from https://keyserver.ubuntu.com, one with fingerprint  C598 6B4F 1257 FFA8 6632 CBA7 4618 1433 FBB7 5451   and the other with fingerprint  8439 38DF 228D 22F7 B374 2BC0 D94A A3F0 EFE2 1092   After I downloaded both keys I certified them with my personal key using Kleopatra, after verifying the key fingerprint with those at .  When I ran   gpg --verify SHA256SUMS.gpg SHA256SUMS   I got   gpg: Signature made 11/29/18 16:27:43 US Mountain Standard Time gpg:                using DSA key 46181433FBB75451 gpg: BAD signature from "Ubuntu CD Image Automatic Signing Key &lt;cdimage@ubuntu.c om&gt;" [full] gpg: Signature made 11/29/18 16:27:43 US Mountain Standard Time gpg:                using RSA key D94AA3F0EFE21092 gpg: BAD signature from "Ubuntu CD Image Automatic Signing Key (2012) &lt;cdimage@u buntu.com&gt;" [full]   When I ran   gpg --verbose --verify SHA256SUMS.gpg SHA256SUMS   I got  gpg: armor header: Version: GnuPG v1 gpg: Signature made 11/29/18 16:27:43 US Mountain Standard Time gpg:                using DSA key 46181433FBB75451 gpg: using pgp trust model gpg: BAD signature from "Ubuntu CD Image Automatic Signing Key &lt;cdimage@ubuntu.c om&gt;" [full] gpg: binary signature, digest algorithm SHA512, key algorithm dsa1024 gpg: Signature made 11/29/18 16:27:43 US Mountain Standard Time gpg:                using RSA key D94AA3F0EFE21092 gpg: BAD signature from "Ubuntu CD Image Automatic Signing Key (2012) &lt;cdimage@u buntu.com&gt;" [full] gpg: binary signature, digest algorithm SHA512, key algorithm rsa4096   I tried copying the data from SHA256SUMS and SHA256SUMS.gpg tabs over TOR instead, in case it was a local network problem, but no dice either.  What am I missing here? Is there some way to download the SHA256SUMS and SHA256SUMS.gpg files directly, as opposed to copying the data into a text editor and saving it?  Any help would be very appreciated. I am very confused and frustrated at this point. We are doing research on monitor human activities to avoid adverse events. In part of it, we did an experiment in our MoCap lap to detect the human motion to monitor his activities. We have f-curves from that motion. But we need all the xyz coordinates values for that motion for that given time (just say about 2-3 minutes) to do a scientific analysis of the data.  Do anyone have an idea how to get xyz values from f-curves? When should I use specially and when especially? java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config Summation of series $\sum_{n=1}^\infty \frac{n^a}{b^n}$? How can we evaluate this series  $$\sum_{n=1}^\infty \frac{n^a}{b^n}?$$  Here $a$ and $b$ are positive integers. If $b=1$ then series will be diverging, in other cases, it will be converging, but how to find this sum?  Isn't there a simple solution which doesn't involve Stirling numbers?