How can I take on-device screenshots of "secure" apps?
Disable Screenshot Security
I am writing a document for which I need the margin to be exactly as follows: left, right, top and bottom text margin all equal to 1in, distance from bottom of the paper to page number equal to 0.75in (I don't have any footnote or header to set).  I tried to use the fullpage package in LaTeX but it does not give me the 0.75in to the page number. Is there a way to force that? I tried to set manually the margins for a 8.5x11 paper but I am not succeeding.    I tried but after writing:  \documentclass[PhD]{class_file} \usepackage[margin=1in,footskip=0.25in]{geometry}   I get the error message \paperwidth (0.0pt) too short.  I don't see the \paperwidth is set to 0.0pt anywhere though..  Also it seems to me that depending on which machine I use to compile my tex file, I get different margins, even when I set them up manually (without using geometry). Is it possible?    Using the geometry package things seem to work a bit better now (I changed machine and the problem with the paper width previously mentioned disappeared).   \usepackage[margin=1in,footskip=0.25in]{geometry}   gives me without problem upper, right and left margin of 1in. But the lower margin is 1.2in and I can't change it to be 1in even by using bottom=1in or bottom=0.8in. I really don't see how this can happen. Maybe a problem with the spacing between lines? The class files I am using can be fund at   I erased the margin settings of uclath12.clo as the margin I need are different from the ones that this file gives. Thank you. What's the "Bad magic number" ImportError in python, and how do I fix it?  The only thing I can find online suggests this is caused by compiling a .py -> .pyc file and then trying to use it with the wrong version of python. In my case, however, the file seems to import fine some times but not others, and I'm not sure why.  The information python's providing in the traceback isn't particularly helpful (which is why I was asking here...), but here it is in case it helps:  Traceback (most recent call last):   File "run.py", line 7, in &lt;module&gt;     from Normalization import Normalizer Wubi with 14.10 doesn't work - failed to partition the selected disk I tried to install Ubuntu 14.10 on my computer with Wubi. The installation appeared to work in Windows, and told me to reboot.   After rebooting the Ubuntu installer continued the installation, until it stopped with an error message: Failed to partition the selected disk with the detail This probably happened because are too many primary partitions in the partition table. What is the current state of apple device (iPhone, iPod, etc.) support? What ubuntu applications provide support? (guides, how to's, status) Also, specifically, details on support for syncing music to iPhone's and iPod's with the latest OS version:   Can you sync music to apple devices using >iOS4? (iPhone &amp; iPod) What applications allow you to do this and how? (guides, how to's, status)    What has already been established is:   Apple does not support Linux and has no plans to.  provides some support, however it currently does not support music/video synchronization with devices &gt;iOS4. Go to  and scroll to the section titled "" to see if your device version is supported. Windows using too much RAM, how to diagnose resource hog I have 16GB of system RAM. On startup with no applications open except the task-manager Windows is using about 3gb of RAM. I looked in the processes tab, but nothing seems to be out of the ordinary. How can I find out why my Windows is using so much RAM.    all processes from all users      Reading from the poolmon it seems that my wireless broadcom driver is using about 0.4GB of of RAM. Even if I remove  it would still be using  2.6GB on start-up, which is still too much.      After reinstalling the wireless driver associated with the memory leak. I have a new screenshot and would like to confirm that it was indeed a memory leak. Changing sfdc header and footer without creating new VF pages I need to change the header and footer of standard salesforce pages (sfdc pages) with a custom CSS that I have. Now I am not sure if this is a customer portal (it is probably not). I searched and found out it can be done by changing the Self-Service as given in the following link:   However the problem is when I go to Name | Setup | Customize | Self-Service, I do not see the Self-Service Portal - Settings anywhere (as given in the step 1 of the link). Instead there are two options, 1) Public Solutions 2) Web-to-Case.  Basically what I want is to replace the Blue header and footer of the salesforce standard pages with the CSS given to me. The changes will be in actual org.  Any guesses on how to go ahead with this? For valuation rings I know examples which are Noetherian.      I know there are good standard non Noetherian Valuation Rings. Can anybody please give some examples of rings of this kind?    I am very eager to know. Thanks. Finding empty directories recursively Why is polynomial regression considered a special case of multiple linear regression? If polynomial regression models nonlinear relationships, how can it be considered a special case of multiple linear regression?  Wikipedia notes that "Although polynomial regression fits a nonlinear model to the data, as a statistical estimation problem it is linear, in the sense that the regression function $\mathbb{E}(y | x)$ is linear in the unknown parameters that are estimated from the data."  How is polynomial regression linear in the unknown parameters if the parameters are coefficients for terms with order $\ge$ 2? How do I play Minecraft with people online, besides using a server? I'm trying to find an anime movie I watched when I was younger; I believe I first watched it in 90/91. The story revolved around the recruitment and training of a group that would pilot a mecha that was similar to Voltron in that each pilot controlled a portion of the mecha that would merge into a bigger mecha. Points that I remember:   Started on Earth Program was government funded One of the pilots was related to the creator of the program, I think a female Mecha had chain weapon and a sword that was summoned from it's superhero-like chest icon. Killing blow was an m or w shape Ended with father/creator of mecha? being kidnapped by the aliens and used as human shield to deter attack on alien vessel Regex for quoted string with escaping quotes What steps can I take to try to recover lost or inaccessible data from any storage device?  Answers:   This applies to any computer storage device, e.g. internal/external hard drives, USB sticks, flash memory. The most important thing is to STOP using it, any type of I/O can ruin your chances of a recovery.     We have separate questions covering common problems with USB flash drives in greater detail: About free quarks and confinement I simply know that a single free quark does not exist. What is the reason that we can not get a free quark?  If we can't get a free quark then what is single-top-quark? Who is the Lord, as referred to in the title? Frodo? Sauron? Someone else? Or is it more of an abstract title, not referring to a single person, like "He who wields the One Ring"? Completely uninstall an app on Lollipop I am having a problem with uninstalling apps on Android 5.0 (Nexus 5). I am developing an Android app, so I debug/run the app directly on my device. For production, I exported the same app with my keystore, uninstalled the debug APK that I ran earlier, tried to install the signed APK, and I got this error:      An existing package by the same name with a conflicting signature is already installed.   Is it because the bytecodes are still in the ART runtime? Anyone has any idea how to solve this? LibreOffice problem while openning a document My problem is that when I try to open one specific .odt document, I can't move the page or do anything except moving the mouse, which is useless. Also, the mouse, when I'm on the document, is freaking out switching between mouse and loader couple of times per second. It also becomes dark when I click on the document like if it's not responding. If a function $f$ is continuous $\implies$ $|f|$ is continuous.(Answered by Myself) $(i)$ Given a function $f:E \rightarrow \mathbb{R}$ define $|f|:E \rightarrow \mathbb{R}$ by $|f|(x)=|f(x)|$ for $x \in E$ show if $f$ is continuous at $c \in E$ then so is $|f|$.        $(ii)$ Now the converse is not true, find $f$ such that $|f|$ is continuous but $f$ is not. queries with db_select don't respect integers When I check "SHOW PROCESSLIST" in phpMyAdmin I can see lots of queries where argument-integers are being inserted as strings (with single quotation marks).  I'm wondering if this is due to the way phpmyadmin reports the queries (if it puts every argument between quotation marks) of if it is db_select that puts every argument between quotation marks.  An example of my code where integers are being used as arguments:  $select-&gt;join('taxonomy_index', 't_'.$key, 't_'.$key.'.nid = n.nid AND t_'.$key.'.tid = :tid_' . $key, array(':tid_'.$key =&gt; (int)$tid)); $select-&gt;condition('t_'.$key.'.tid', (int)$tid);   As you can see I explicitly write (int)$tid but in my query log I can see the following:  ... WHERE (t_0.tid = '10') ...   The big question is: How can I be sure that integers are being treated as integers in my queries? I don't want MySQL having to transform strings to integers. What does "in spades" mean?