How do manually trigger the F12 (Developer Tool panel) on document click
Open Safari / Google Chrome developer tools programmatically from JavaScript
I'm stuck underground.   I can't mine any further to reach lava. There is no water nearby, and zombies can't reach me.  I can't see to find any blocks to suffocate my character.  NBTEdit and similar programs don't work on Mac, so I can't edit my save file to escape. I have hardly any blocks so cannot jump and lay my way up. I can't see, and do not have any torches, so can't make a staircase back up. I don't want to make new save as I have an awesome house filled with stuff that took me ages to find.    How can I get back to the surface? Is there a tag in HTML that will only display its content if JavaScript is enabled? I know &lt;noscript&gt; works the opposite way around, displaying its HTML content when JavaScript is turned off. But I would like to only display a form on a site if JavaScript is available, telling them why they can't use the form if they don't have it.  The only way I know how to do this is with the document.write(); method in a script tag, and it seems a bit messy for large amounts of HTML. How to pronounce "Moderators's"? If I want to use the plural of &quot;moderator&quot; and also add the apostrophe plus S, how do I pronounce it? How do native speakers pronounce it?  Moderators = moderatorz Moderators's = moderatorziz or just moderatorz?  A sentence is:  &quot;I always thought that moderators's decisions seemed fairly arbitrary.&quot;   I guess moderatorziz is correct but it sounds weird to me. Do native speakers pronounce it as moderatorziz? Complete classification of the groups for which converse of Lagrange's Theorem holds Prove divisibility law $\,b\mid a,c\,\Rightarrow\, b\mid ka + lc$ for all $k,l\in\Bbb Z$ Exclude one pattern from glob match USB flash drive not working or is appearing as an empty disk drive, Disk Management reports "No Media" with 0 bytes size I have a USB flash drive which is no longer recognized by my computer. Windows Disk Management and DiskPart report No Media with no storage space (0 bytes) on the drive and I cannot partition or format the drive:     If the drive appears in Windows Explorer, trying to access it returns an error message indicating that there is no disk inserted, such as the following:     Please insert a disk into drive X:.   Various disk partitioning and data recovery utilities don't recognize the drive or only give a generic name for the drive and cannot access the contents of the drive.  What can I do? How do I recover data from the drive?     This question comes up often and the answers are usually the same. This post is meant to provide a definitive, canonical answer for this problem. Feel free to edit the answer to add additional details. I have a PC who wants to jump onto an enemy in a combat situation. The player wants him to land on the (humanoid) enemy, sword drawn, and use the enemy to break his fall while plunging shortswords into it. I thought of using a straight attack roll, because it was only a 12 foot drop from the ledge to the top of the enemy. But I would imagine a lot would depend on the distance, and also whether the enemy might suspect such an attack. Also, I would expect the PC would take damage on a miss, but how about on success? Dependency error while installing WINE Every time I try to install "WINE" VIA the Software Center on Ubuntu 12.10, I get this error:  The following packages have unmet dependencies:  wine1.4: PreDepends: dpkg (&gt;= 1.15.7.2~) but 1.16.7ubuntu6 is to be installed          Depends: libc6 (&gt;= 2.14) but 2.15-0ubuntu20 is to be installed          Depends: wine1.4-amd64 (= 1.4.1-0ubuntu1) but 1.4.1-0ubuntu1 is to be installed          Depends: wine1.4-i386 (= 1.4.1-0ubuntu1) but it is not going to be installed   When I try installing it VIA the terminal, this is what I get:  Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  wine1.4 : Depends: wine1.4-i386 (= 1.4.1-0ubuntu1) but it is not installable            Recommends: gnome-exe-thumbnailer but it is not going to be installed or                        kde-runtime but it is not going to be installed            Recommends: ttf-droid            Recommends: ttf-mscorefonts-installer but it is not going to be installed            Recommends: ttf-umefont but it is not going to be installed            Recommends: ttf-unfonts-core but it is not going to be installed            Recommends: winbind but it is not going to be installed            Recommends: winetricks but it is not going to be installed E: Unable to correct problems, you have held broken packages.   how do I fix this? How can I render bokeh circles?  Nothing I do seems to work.   I tried using an empty as the focus point for a cube, with some point lamps in the background with about 2000 strength, but it doesn't work. It just makes everything blurry.  I also raised the blades to 4/5/6/12, and it doesn't make a difference.  I'm using Blender 2.74. "Looking forward to hearing from you" - May I omit "I am" at the beginning? Some publications capitalize He, Him, etc., when referring to a god.    What is this practice called? 'Proper noun' is rather generic. simple process builder failing with error "failed to access the value for variable because it hasn't been set or assigned" Note: This error might look like a familiar error but the   resolution mentioned in the  is not working in the below case and I am not sure why, hence posting this question.   Problem description:   I have a process builder on case object set to fire for every time new record is created. Criteria is set to 'Formula evaluates to True' with below formula: AND(NOT(ISBLANK([Case].AccountId)),ISPICKVAL([Case].Account.Active__c,'Yes')) With immediate action set to update custom field on the Case object. Custom field Active__c on the Account object is type picklist with two possible values 'yes' and 'no'.   Screenshots of the process builder:        Creating a case as shown in the below screenshot with very minimal details and especially not populating account details:    Throws below error:     The flow failed to access the value for   myVariable_current.Account.Active__c because it hasn't been set or   assigned.   Relevant data from log file:     22:14:31.0 (12479016)|WF_FLOW_ACTION_BEGIN|09L370000000FEJ 22:14:31.13   (13607478)|FLOW_CREATE_INTERVIEW_BEGIN|00D37000000H8hr|300370000008ZTl|301370000004weE   22:14:31.13   (15394571)|FLOW_CREATE_INTERVIEW_END|5525dfa7819c33f438ce3cef9b6c15c668d8ff2-3d11|Test   22:14:31.15 (15820974)|FLOW_START_INTERVIEWS_BEGIN|1 22:14:31.15   (16674702)|FLOW_START_INTERVIEW_BEGIN|5525dfa7819c33f438ce3cef9b6c15c668d8ff2-3d11|Test   22:14:31.15 (35470120)|FLOW_ELEMENT_ERROR|The flow failed to access   the value for myVariable_current.Account.Active__c because it hasn't   been set or assigned.|| 22:14:31.15   (35479812)|FLOW_START_INTERVIEW_END|5525dfa7819c33f438ce3cef9b6c15c668d8ff2-3d11|Test 22:14:31.15 (35517783)|FLOW_START_INTERVIEWS_END|Interview error.   Aborting all.|5525dfa7819c33f438ce3cef9b6c15c668d8ff2-3d11|Test   22:14:31.15 (35528335)|FLOW_START_INTERVIEWS_END|1 22:14:31.0   (35588898)|WF_FLOW_ACTION_ERROR|09L370000000FEJ|300370000008ZTl|Error   executing flow: test, FlowDefId: 300370000008ZTl, FlowVersionId:   301370000004weE 22:14:31.0   (35612585)|WF_FLOW_ACTION_ERROR_DETAIL|An unhandled fault has   occurred in this flowAn unhandled fault has occurred while   processing the flow.  Please contact your system administrator for   more information. 22:14:31.0   (35683203)|WF_FLOW_ACTION_END|09L370000000FEJ   URL to the complete debug log :  (Note: You can see from the log that there are no other workflow rules or triggers on the case object).  My analysis: When the first condition inside the AND expression is evaluating as false, why is it trying to evaluating the second condition to check the custom field on the Account object? It shouldn't right?  Any help?  EDIT: I am looking to solve this using option 'Formula Evaluates to True' only because I have other complex criteria like checking the day(Mon vs Tue and etc) of the case creation. onChange event doesn't trigger $P[X=x]=0$ when $X$ is continuous variable Let $\lambda(A)$ be the Lebesgue measure of $A$. There exists an interval $I$ such that $\lambda(E \cap I) / \lambda(I) < 1-\epsilon$ (Not mentioned in title but $\epsilon$ is a number greater than $0$ and $E$ a Lebesgue measurable subset of $\mathbb{R}^n$.) I know a question equivalent to this one has been asked (). But it was not answered. Also my thinking is a bit different. So I would love to get some help on this problem. So far I've got:  $$\frac{\lambda(E \cap I)}{\lambda(I)} &gt; 1- \epsilon \iff \frac{\lambda(I)-\lambda(E\cap I)}{\lambda(I)} &lt; \epsilon$$  And also, a theorem states that, for all $\epsilon$ there exists a closed set $F\subset E$ such that $\lambda(E\setminus F) &lt; \epsilon$ so it would sufice to prove  that there exists an interval $I$ such that $$\frac{\lambda(I)-\lambda(E\cap I)}{\lambda(I)}&lt;\lambda(E\setminus F).$$ I'm not sure if this helps me much but any help is appreciated. What would you do? Is there a way to convert a List(of Object) to a List(of String) in c# or vb.net without iterating through all the items? (Behind the scenes iteration is fine – I just want concise code)  Update: The best way is probably just to do a new select  myList.Select(function(i) i.ToString()).ToList();   or  myList.Select(i =&gt; i.ToString()).ToList(); Meaning of U suffix Recover harddrive data I have a dell laptop that recently "died" (It would get the blue screen of death upon starting) and the hard drive would make a weird cyclic clicking noises.  I wanted to see if I could use some tools on my linux machine to recover the data, so I plugged it into there.  If I run "fdisk" I get:  Disk /dev/sdb: 20.0 GB, 20003880960 bytes 64 heads, 32 sectors/track, 19077 cylinders Units = cylinders of 2048 * 512 = 1048576 bytes Disk identifier: 0x64651a0a  Disk /dev/sdb doesn't contain a valid partition table   Fine, the partition table is messed up.  However if I run "testdisk" in attempt to fix the table, it freezes at this point, making the same cyclical clicking noises:  Disk /dev/sdb - 20 GB / 18 GiB - CHS 19078 64 32 Analyse cylinder   158/19077: 00%   I don't really care about the hard drive working again, and just the data, so I ran "gpart" to figure out where the partitions used to be.  I got this:  dev(/dev/sdb) mss(512) chs(19077/64/32)(LBA) #s(39069696) size(19077mb)  * Warning: strange partition table magic 0x2A55. Primary partition(1)    type: 222(0xDE)(UNKNOWN)    size: 15mb #s(31429) s(63-31491)    chs:  (0/1/1)-(3/126/63)d (0/1/32)-(15/24/4)r    hex:  00 01 01 00 DE 7E 3F 03 3F 00 00 00 C5 7A 00 00  Primary partition(2)    type: 007(0x07)(OS/2 HPFS, NTFS, QNX or Advanced UNIX) (BOOT)    size: 19021mb #s(38956987) s(31492-38988478)    chs:  (4/0/1)-(895/126/63)d (15/24/5)-(19037/21/31)r    hex:  80 00 01 04 07 7E FF 7F 04 7B 00 00 BB 6F 52 02   So I tried to mount just to the old NTFS partition, but got an error:  sudo mount -o loop,ro,offset=16123904 -t ntfs /dev/sdb /mnt/usb NTFS signature is missing.   Ugh.  Okay.  But then I tried to get a raw data dump by running  dd if=/dev/sdb of=/home/erik/brokenhd skip=31492 count=38956987    But the file got up to 59885568 bytes, and made the same cyclical clicking noises.  Obviously there is a bad sector, but I don't know what to do about it!  The data is still there... if I view that 57MB file in textpad... I can see raw data from files.  How can I get my data back?  Thanks for any suggestions,  Solution:  I was able to recover about 90% of my data:   Froze harddrive in freezer Used Ddrescue to make a copy of the drive Since Ddrescue wasn't able to get enough of my drive to use testdisk to recover my partitions/file system, I ended up using photorec to recover most of my files What are the salary and perks of Captain America? Brooklyn is Captain America's home, but times have changed since he was kid 8-9 decades ago. He can't afford a house there, now. This thing really troubled me when he said it in Avengers: Age of Ultron. I mean, I really became sympathetic, despite it being intended for fun.  What's the salary Captain America collects from (fallen) S.H.I.E.L.D. and/or Tony's Avengers organization? Can't they gift him a house in Brooklyn? I mean, he is one of Earth's mightiest heroes who help saved the world lots of times.