Content height expand between fixed header and fixed footer
Make a div fill the height of the remaining screen space
I have a WordPress website that I recently discovered had this error on the login page:     ERROR: Cookies are blocked due to unexpected output. For help, please   see this documentation or try the support forums.   I can only access the login page from wp-login.php, since /wp-admin/ displays a blank white page.  I've searched the web and tried many things with no success:   Removing ?&gt; and space at end of the functions.php Ensuring both functions.php and wp-config.php had no spaces at beginning or end of file Opening wp-config.php and functions.php in Notepad++ and converting to UTF-8 (people recommend 'without BOM' but that is only an option in the newest version of Notepad++ - I'm guessing UTF-8 does that now) I've set WP_DEBUG to true and have received no errors in debug.log,  except for 2 that relate to when I hadn't fully uploaded some files. That particular error mentioned nav-menu.php; this confirmed that it is reporting errors, just not related to my login issues I renamed each plugin folder with _tmp at the end to try and rule out any plugins causing the problem I also renamed the plugins folder to rule out all plugins at the same time   Given these things I've tried, and that I'm not receiving any PHP errors, what else could I try? I'm looking to make a "Drop Folder" in a windows shared drive that is accessible to everyone. I'd like files to be deleted automagically if they sit in the folder for more than X days.  However, it seems like all methods I've found to do this, use the last modified date, last access time, or creation date of a file.  I'm trying to make this a folder that a user can drop files in to share with somebody. If someone copies or moves files into here, I'd like the clock to start ticking at this point. However, the last modified date and creation date of a file will not be updated unless someone actually modifies the file. The last access time is updated too frequently... it seems that just opening a directory in windows explorer will update the last access time.  Anyone know of a solution to this? I'm thinking that cataloging the hash of files on a daily basis and then expiring files based on hashes older than a certain date might be a solution.... but taking hashes of files can be time consuming.  Any ideas would be greatly appreciated!  Note: I've already looked at quite a lot of answers on here... looked into File Server Resource Monitor, powershell scripts, batch scripts, etc.  They still use the last access time, last modified time or creation time... which, as described, do not fit the above needs. What are the best JVM settings you have found for running Eclipse? is keyword in Python Just need help understanding this question, as I don't really understand what a continuous random vector is. My limited understanding is that a continuous random vector must be completely continuous (so for continuous X and Y this is satisfied) and that to get the probability of the random vector occurring, we double integrate over the supports (of X and Y obviously). My guess is then, that the c.r.v (X,Y) IS a continuous random vector.  Also, what of the converse? If (X,Y) is a continuous random vector, then are X and Y continuous random variables? I also think this is correct, as the continuity of the vector MUST imply the continuity of X and Y, although I'm honestly not sure.  Thanks I read it in English in the United States, somewhere in the 1990s. I got it off of the big bookshelf in our family room, which means it could be a good bit older; some of the books were my Dad's. At the beginning, a young boy (maybe an early teen?) leaves his house, where he lives with his parent or parents, and takes a test to become a spaceship pilot for the military. Part of the test judges reaction speed, and he fails the test. He later learns (I think when he's approached by an agent of the government) that he "failed" because he has some sort of enhanced fortune that meant that he was actually giving the results before they could be displayed on the screen. At the time, I remember thinking that the book felt a bit like a Star Wars rip-off.  Years later, I read that one of the Star Wars books (probably now Legends) had Luke similarly failing the Imperial Academy test because he gave his answers too quickly, and it amused me that I was uncertain as to which had come first.  I don't remember anything concrete about the cover, although I have a general impression that it was white. Definitely futuristic. My impression was that the boy was wearing a white uniform for the testing and that the government agent who spoke to him had a grey beard, but I might be mixing bits of Star Wars in there. Use masks as part of materials in cycles found a 1994 uncashed profit sharing retirement plan check I found an old un-cashed check dated 1994 for $487 from my Xerox Retirement plan with no expiration date. Can I still cash it? How can I check if a program exists from a Bash script? I have an Object[] array, and I am trying to find the ones that are primitives. I've tried to use Class.isPrimitive(), but it seems I'm doing something wrong:  int i = 3; Object o = i;  System.out.println(o.getClass().getName() + ", " +                    o.getClass().isPrimitive());   prints java.lang.Integer, false.  Is there a right way or some alternative? Permanently turn off new Google Maps and go back to old one I found new Google Maps slow, useless (routes with only two points) and wrong. Is there any way, I can turn it off completely and go back to favored old Google Maps? Or is this &mdash; as with everything in Google &mdash; one way trip?  I found  text on this matter, but it seems useless. I have the feeling, that it discuss something completely different. It says about lite indicator in bottom-right corner. I don't have something like that. And provided links, that should switch new Google Maps engine between WebGL and canvas-based, simply doesn't work. All of them opens new window with annoying advertisment about new maps.  I even tried pasing part of URL, they're talking about (force=canvas) into any URL that my new Google Maps uses. Of course without any luck.  So... is there any way, I can get rid of new Google Maps, once and permanently?  UPDATE: In these days (April, 2015) Google , that soon new Google Maps will be the only one available. To my extremely negative surprise, this question will become invalid soon! :( I want to import graphics into my main input file using the macro \includegraphics. It does not work if the filename contains spaces.   also discusses this subject, but there is no solution there.  My compilation routine is latex->dvips->ps2pdf (because of PSTricks). Unable to format internal drive as APFS on 2018 MacBook Pro I’ve recently ran a semi-routine clean install on my 2018 MacBook Pro. This involves the following steps (in the given order):   Creating a USB installer with the latest macOS Mojave 10.14.2. Booting into the USB (Pressing Option key on boot). Using the Disk Utility, erasing the Disk and formatting it as APFS with a GPT Partition scheme. Using the Terminal, unmounting the disk diskutil unmountDisk disk0, where disk0 is the internal NVME drive. Using the Terminal, running gpt destroy disk0 where disk0. Using the Terminal, running diskutil zeroDisk disk0. Once that process is complete, I use the Disk Utility application to reformat as APFS, and install macOS.   Nothing super crazy, maybe a little redundant in steps, maybe a little overkill, maybe a little unnecessary.  Recently, however, on the final step where I format it as a APFS drive, it fails in creating the APFS container and says Internal State Error. It appears to first format as Mac OS Extended (Journaled) then create an APFS container, then add a APFS Volume. It fails when adding a Volume with An internal error occurred.  I have tried many things, including:   Securely erasing the drive diskutil secureErase 0 disk0. Simply zeroing the disk again diskutil zeroDisk disk0 (I’m not sure what the actual difference between these two are). Reformatting the drive as other things, such as ExFAT / FAT / MacOS Journaled, then trying to format as APFS. Reformatting the drive through the command line instead: diskutil eraseDisk JHFS+ NAME disk0 → diskutil apfs createContainer /dev/disk0s2 → diskutil apfs addVolume disk0s2 APFS NAME (It fails here with Error starting APFS Container creation: The given disk is not an APFS Container Reference (-69630), even though I just made a container there. Also, trying to add a volume to where it actually made the container (i don't know what it does this) diskutil apfs addVolume disk24 APFS NAME also fails with Error: -69624: Unable to add a new APFS Volume to an APFS Container Reformatting the drive using this: diskutil eraseDisk APFS NAME disk0 Restarting and trying these again. Using a different installer than the USB (The one from Command + R, Command + Shift + R, and whatever the other combo is), and trying these again.   All end up at the same thing - the final step fails. I would expect especially after a secure wipe that the drive would be removed from whatever state it was put in, or that if it was a bug with the 10.14.2 installer, that it still wouldn’t happen again in the High Sierra installer. In Disk Utility, I’m left with the following structure:  - APPLE SSD AP(...) // “Container disk24” takes up all space      - Container disk24 // or some other number. “Used” is 207.2MB and “Free” is 1TB.   Please note even though I can format as JHFS+, it won’t let me install the OS to such a formatted volume. The installer tells me this computer forces me to only install on APFS formatted volumes.  Any direction is greatly appreciated. I have never had such a silly problem before. Also, note that I have no Time Machine backup. How can I get my external IP address in a shell script? The trigonometric ratios of an angle greater than $90^\circ$ are equal to the supplementary angle's ratios.  I'm just clarifying this, but the ratios don't actually exist for angles greater than $90^\circ$ right? (since by definition these ratios are of a right angle triangle). Is it just mathematical custom to assume the ratios of an angle greater than $90^\circ$ to be equivalent to its supplementary angle's ratios? For convenience? Surfing the web anonymously What is the best, fastest, safest way to surf the web anonymously, and how much anonymity can you really achieve? I want to reinstall Ubuntu, but I also want all information and settings to disappear. So everything looks like the first time I installed it. Is it possible to do so via Terminal? Or what are the steps I should follow? I am trying to rotate a dual monitor which is attached to the VGA output of my laptop. My system is Ubuntu 15.10.  However, here is the outcome I get when I use xrandr:  xrandr --output VGA-1-0 --rotate right xrandr: output VGA-1-0 cannot use rotation "right" reflection "none"   I have seen other posts on this subject, which all recommend editing xorg.conf. I have tried that, too. Here's my current xorg.conf file:  Section "ServerLayout" Identifier "layout" Screen 0 "nvidia" Inactive "intel" EndSection  Section "Device" Identifier "intel" Driver "modesetting" BusID "PCI:0@0:2:0" Option "AccelMethod" "None" Option "RandRRotation" "True" EndSection  Section "Screen" Identifier "intel" Device "intel" EndSection  Section "Device" Identifier "nvidia" Driver "nvidia" BusID "PCI:1@0:0:0" Option "ConstrainCursor" "off" Option "RandRRotation" "True" EndSection  Section "Screen" Identifier "nvidia" Device "nvidia" Option "AllowEmptyInitialConfiguration" "on" Option "IgnoreDisplayDevices" "CRT" Option "RandRRotation" "True" EndSection   Still, I keep getting the same error when trying to use xrandr to rotate that screen.   Is there another way of doing so? Static nested class in Java, why? FAQ for Stack Exchange sites Community FAQ For sites in the Stack Exchange 2.0 network To see a list of commonly used words and phrases, see the . For official guidance from Stack Exchange, visit the . Asking questions                            Answering questions                 Accepting answers        Working with posts  What does it mean when a question or answer is...  ?  ?  ?  ?                                       Comments             Etiquette                         Promotion         Editing and Formatting                                    Tagging                      Reputation, badges, and voting                                         Moderation                                                 Searching and RSS feeds        Accounts, registration and logging in                                     Other                                 ()                                 Site-specific entries Stack Overflow             Meta Stack Exchange       Other     External links           Is your question not part of the FAQ? First look at questions tagged  to see if there is a question not in this index that might have the answer you seek. If you still can't find an answer, then see the following instructions for proposing an FAQ question. How can a question be added to this FAQ?  Ask only the question, stated plainly and simply, in the question body. The answer goes in an answer.  Link back to this index. Paste this at the end of the question:  [Return to FAQ index](/q/7931)   Tag as  and .  When a post seems to have hit a mature state, it will have  added by a moderator.  Flag for a moderator to mark community wiki.  Any FAQ post not yet community wiki should be made into a community wiki.  After the post has the  tag added to it, add a link in the above .