Label all figures in tabular
How does one create, caption, label and refer to a subfigure?
How do you remove the ability for a user to make a comment or post on a page? I am building a new website on Wordpress, and all my pages have the add comment box at the bottom. I wish fo rthis to be removed from pages such as Home, Contact Us, About etc etc, but want it to remain on the blogs and galleries.  I have read  but do not really understand what this means to do. is there an easier way to do it. I do not have  under Settings -> Discussions. Expansion of $(1+\sqrt{2})^n$ I was asked to show that $\forall n\in \mathbb N$ there exist a $p\in \mathbb N^\ast$ such that $$(1+\sqrt{2})^n = \sqrt{p} + \sqrt{p-1}$$   I used induction but it wasn't fruitful, so I tried to use the binomial expansion of $(1+\sqrt{2})^n$ but it seems I lack some insight to go further.   Any hint is welcomed. How to specifically use ntfsundelete to recover directory This is a followup on my original post  which may be deleted in the future.  In the process of backing up my audio books, I "permanently" removed a folder (with subfolders) that I had already exclusively moved to that drive. It's path is /media/gratis/Seagate Expansion Drive/Audiobooks/Jason Dark. The sole folder in that should be called John Sinclair; but I'm not sure about that.  Which tool offers the best chances to recover those files? I haven't written plenty on that drive afterwards; so I hope for the best. It's not that other methods failed; I just cant get my head around what to do and I want to be cautious. It's a NTFS Drive.  According to testdisk it has an "EFI GPT" Partition table.  Disk /dev/sdb - 5000 GB / 4657 GiB - CHS 608001 255 63, sector size=512 - Seagate Expansion Desk, FW:9401   Information According to "Disks" (Ubuntu Standard Software):  NTFS; GUID Partition Table; [...] Partition Type: Microsoft Reserved   Attempt 1: First off, ntfsprogs seems to no longer be in repos (those mentioned by another user); but it is already installed on my machine so no problems there. I always get the error:     Access is denied because the NTFS volume is already exclusively opened. The volume may be already mounted, or another software may use it which could be identified for example by the help of the 'fuser' command. You can use force option to avoid this check, but this is not recommended and may lead to data corruption.   Although I only just plugged it in and even quit Nautilus by force (nautilus -q).   Therefore, I ran sudo ntfsundelete /dev/sdb2 -f. That gave me a list of a bunch of files, 205013 to be exact. Now, what I want is the content of the directory .../Audiobooks/Jason\ Dark/ to be restored. What do I have to do? It's contents are .m4b &amp; .opus files and folders, of course. Correct usage of "lest" Uninstall apps locked by phone vendor Why is voltage same for the two resistors connected parallel in circuit? We know that the electric field inside resistor produced by battery is the actual thing that pushes the electrons in it to move and thus producing some current. We also know that strength of electric field can be described by the electric flux which is the total amount of fields passing through an area. That flux when combined(multiplied) with charge of electron gives the amount of force on it. Now comes our two resistors R1 and R2. Assuming a number of field lines coming out of a terminal going towards another terminal through these resistors, the field lines should get divided into the resistances R1 and R2. Therefore giving a reduced flux through each resistor than in a series. Which will then give a lower voltage for both resistors. Wasn't the electric fields strength divided across resistors in parallel? What is the main cause of voltage? How electrons get a force to produce current even when the wire is very long in? I think it is better to understand with reality than analogy. Please don't give misleading pictures Pick an urn and pick two balls from the urn There are 5 urns, the nth urn contains n − 1 red balls and 5 − n green balls (in total 4 ineach urn). We pick an urn at random and take 2 balls out of it without replacement.  (a) What is the probability the second ball is green?  (b) What is the probability the second ball is green given the ﬁrst is green?  (c) What is the probability we picked either the ﬁrst urn or second urn given both balls are green?  for (a), I did:   P(2nd ball is green) = 5*[{P(i th urn picked) * P(first ball drawn red/ ith urn picked) P(2nd ball drwan green/first ball red)}+ {P(i th urn picked) * P(first ball drawn green/ ith urn picked) P(2nd ball drwan green/first ball green)}]  = 5*[[{1/5 * (n-1)/4 * (5-n)/3 } + {1/5 * (5-n)/4 * (4-n)/3}] = 5* [{(n-1)(5-n)/60} + {(5-n)(4-n)/ 60}]  =[(n-1)(5-n) + (5-n)(4-n)]/12 = (5-n)(n-1+4-n)/12 = (5-n)*3/12 = (5-n)/4  And for b): 5*{P(i th urn picked) * P(first ball drawn green/ ith urn picked) P(2nd ball drwan green/first ball green)} = 5*{1/5 * (5-n)/4 * (4-n)/3} =(4-n)(5-n)/12  c), P(1st urn or 2nd urn/ both are green) = [ [P(1st or 2nd]* (4-n)(5-n)/6 ] / [{P(1st or 2nd]* (4-n)(5-n)/6} + {{P(3rd or 4th]* (4-n)(5-n)/6}] = {(4-n)(5-n)/15} /  2*{(4-n)(5-n)/15} = 1/2  But I am really uncertain about my solutions. If anyone has different solution or easier way to get the answer please let me know! Thanks a lot! SSH: How to disable weak ciphers? Security team of my organization told us to disable weak ciphers due to they issue weak keys.    arcfour   arcfour128   arcfour256   But I tried looking for these ciphers in ssh_config and sshd_config file but found them commented.   grep arcfour * ssh_config:#   Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc   Where else I should check to disable these ciphers from SSH? Examples  I've recently found examples of using pairs of enclosing braces {}, with nothing in between the opening and closing braces, as arguments to commands and even to their options:  cat foo | xargs -I{} echo {}  find . -size 0 -exec rm -i {} \;  No Documentation  My problem is that I cannot find a documentation in the  that describes the usage of {} in such context as in the examples above.  I do not think it is a , because a dollar sign must precede the enclosing braces in a parameter expansion as in ${}.  It cannot be a  either, because it takes the form of {x..y[..incr]}, where x and y are not optional.  It also cannot be a  either, because {} is used as arguments.  Questions   What does a pair of enclosing braces {} even mean, in general, as an argument to any command that accepts it? Where can I find a documentation that describes the usage of {} as arguments? How can I upload files asynchronously with jQuery? Can't create new folder from anywhere in Windows 7 I have this problem on two of my new laptops and can't seem to find a decent workable solution elsewhere in forum land. The problem is that on my Windows 7 Professional machines the right mouse button doesn't show the New Folder option and elsewhere as well (via Explorer) I'm unable to create new folders.   I'll be happy to get this tiny problem resolved and declare that Windows 7 is almost perfect! Thanks to all of you in advance for your contribution!  PS: None of the Vista solutions seem to work here!      Tried NewFolderFix.reg, didn't work - "Not all data was succesfully written to the registry. Some keys are open by the system or other processes."  Converted FolderFix.reg to .inf file and that worked.  Don't recall the problem appearing after an update.  MS answer to the explore process hanging (KB 972685) was to install the latest Visual C++ Update (vcredist.exe).  Nope. That didn't help either.  I haven't touched Silverlight since installation when Windows 7 hit the shelves. I tortured the RC installation before that, and never had problems there either.    UPDATE-  Logged back into Administrator account, still missing from there. Spent a bit more time looking instead of just fixing. Just yto make sure, logged back into my user account - still OK there.  Turns out the entries in HKCR\CLSID were the culprit here. Reg file wouldn't take again (as above) but inf file fixed it. This key was unable to be entered from regfile, or altered or deleted in Regedit (Permissions).   Don't quite understand why a common key in HKCR needed to be entered separately for each user.   Here is the file I used to fix it. Just copy into notepad, save as newfolderfix.inf, rt-click and select Install  ================================================================  [Version]  Signature=$Windows NT$  [DefaultInstall]  AddReg     =REGEntries.AddReg  [REGEntries.AddReg]  HKCR,"%String0%",,0x0,"CLSID_ExecuteFolder"  HKCR,"%String0%\InProcServer32",,0x0,"ExplorerFrame.dll"  HKCR,"%String0%\InProcServer32","ThreadingModel",0x0,"Apartment"   [Strings]  String0 = "CLSID\{11dbb47c-a525-400b-9e80-a54615a090c0}"  =============================================================   Thanks to others who helped point me in the right direction. Default route lost on reboot Does each new Horcrux take half of Voldemort's remaining soul, thus taking a smaller piece each time? When you commit a murder and create a Horcrux, you split your soul. It’s been talked a lot about Voldemort splitting his soul in 7/8 parts. But I think his remaining soul was not 1/7 or 1/8 but far more weaker than that because he did not create all Horcruxes at once.  When he created his first Horcrux, his soul was split into 50-50 (diary). But when the second Horcrux was created, it was created by Voldemort only and the first Horcrux soul should have remained intact. Hence it would have been a 25-25 split of Voldemort's main soul. And so on for every split.  Am I right? How do tag merge requests work? I had raised a  to merge pre-build-event, and pre-buildevent; and postbuild-event and post-build-event. That was about 11 months ago, and I still see these two tags even now.  How are tag merge requests handled? Is there a better way for tag merge requests other than posting on Meta? How to get number of affected rows in sqlalchemy? I have one question concerning Python and the sqlalchemy module. What is the equivalent for cursor.rowcount in the sqlalchemy Python? Recursively copy files from one directory to another I have all my music in a folder /media/kalenpw/MyBook/Music/ABunchOfOtherFoldersWithFilesInside. I want to copy all of the mp3s to /media/kalenpw/HDD/Music so I used:  cp -R /media/kalenpw/MyBook/Music/*.mp3 /media/kalenpw/HDD/Music   however this only copied the mp3s in the root music folder and did not open any of the artist subdirectories and copy those files.  I was under the impression -R would recursively copy all the files. How can I achieve said goal? Why should I use an Initialization Vector (IV) when I have unique keys? I took a look at  but my question is not the same.  I have unique keys encrypting each plaintext (in CBC mode, AES-256) and I do not use a key to encrypt more than one plaintext. Is it insecure to use null IVs in this case? If it is insecure, why? Consider $\mathbb R^{[0,1]}$ the space of all functions from $[0,1]$  to $\mathbb R$  and the cylindrical sigma algebra $\mathcal B$  on it. The question is: how to prove that $C[0,1]\notin \mathcal B$. Why is it better to use "#!/usr/bin/env NAME" instead of "#!/path/to/NAME" as my shebang? I notice that some scripts which I have acquired from others have the shebang #!/path/to/NAME while others (using the same tool, NAME) have the shebang #!/usr/bin/env NAME.  Both seem to work properly.  In tutorials (on Python, for example), there seems to be a suggestion that the latter shebang is better.  But, I don't quite understand why this is so.  I realize that, in order to use the latter shebang, NAME must be in the PATH whereas the first shebang does not have this restriction.  Also, it appears (to me) that the first would be the better shebang, since it specifies precisely where NAME is located.  So, in this case, if there are multiple versions of NAME (e.g., /usr/bin/NAME, /usr/local/bin/NAME), the first case specifies which to use.  My question is why is the first shebang preferred to the second one? Can I embed a custom font in an iPhone application? I would like to have an app include a custom font for rendering text, load it, and then use it with standard UIKit elements like UILabel. Is this possible?