how do I get wine to run on ubuntu 15
How to install and configure Wine?
Increasing spacing between section number and title in the table of contents I'm using the simple ordinary \tableofcontents command to produce a table of contents, and I find that the resulting spacing between the section number and the section title is too small:    Can someone tell me how to fix this, please. My documentclass is memoir, if that matters. Set spawn point for a specific player I made a server and me and one of my friends want to do a prank on another friend, because he stole all my enchanted diamond armor.  The Prank  I want to set a player's spawn point in a pit of lava, how would I do this without affecting anyone else's spawn point? The situation is somewhat like-  var someVar = some_other_function(); someObj.addEventListener("click", function(){     some_function(someVar); }, false);   The problem is that the value of someVar is not visible inside the listener function of the addEventListener, where it is probably being treated as a new variable. I would like to know how to get the version information of an installed program that doesn't have the      --version or -version   method implemented. Say I have two strings,  String s1 = "AbBaCca"; String s2 = "bac";   I want to perform a check returning that s2 is contained within s1. I can do this with:  return s1.contains(s2);   I am pretty sure that contains() is case sensitive, however I can't determine this for sure from reading the documentation. If it is then I suppose my best method would be something like:  return s1.toLowerCase().contains(s2.toLowerCase());   All this aside, is there another (possibly better) way to accomplish this without caring about case-sensitivity? How can I find the method that called the current method? When logging in C#, how can I learn the name of the method that called the current method? I know all about System.Reflection.MethodBase.GetCurrentMethod(), but I want to go one step beneath this in the stack trace. I've considered parsing the stack trace, but I am hoping to find a cleaner more explicit way, something like Assembly.GetCallingAssembly() but for methods. Diminishing returns / non-linear reputation from “great” answers Over time I realized a very annoying property of the Stack Overflow reputation system: Easy answers to popular question are rewarded with a lot more reputation points than actually great answers. In case anybody actually needs examples for this, here are two examples from :   gained me 420 rep, I invested 2 minutes writing it, and it only was a wild guess.   took me about an hour for the research and the math and gained me 40 rep.  Now I know that you are bound to get more rep for answers that are useful to more people, and I'd say that's fine. But the current situation is quite extreme: 30% of my reputation is from 5 of my 330 answers, and they are definitely far from being my best ones.  A final example that is not from my profile, but more extreme: Do you really think  is worth 40000 reputation?  My proposition to improve that situation would be to make the reputation gain from a single answer non-linear, maybe even have it capped at a certain point. I'm not sure on how that non-linear function should look exactly, and would leave good proposals for that to users with more experience than me. How does the pull down resistor work in this circuit? Winsock2's select() on fd 0 (stdin) fails existence of sequence of polynomial Is there a sequence of polynomials $P_n$ such that   $\displaystyle\lim_{n \to \infty} P_n(z) = \begin{cases} 1, &amp; \text{Im } z &gt; 0\\ 0, &amp; z \text{ is real,} \\ -1, &amp; \text{Im } z &lt; 0 \end{cases}$  I have no clue where to start from. Please provide some hints. Thanks in advance. VMWare: This host doesn't support VT. Can not play 64-bit VM due to lack of VT flag I have an Intel E7300 Core2 Duo processor with 2.66GHz speed. I need to run a 64-bit WinXP SP2 VMWare image. My host operating system is Win 7. So I just installed the VMPlayer from www.vmware.com.  The problem is when I run the VM image it says This host doesn't support VT.  If I continue I see Windows shows an error message saying     Attempting to load an x64 operating system, however this CPU is not compatible with x64 mode.   My question is how do I run this VM without buying a new processor? Any other tools or software? A vessel is filled with liquid,3 parts of which are water and 5 parts syrup.How much of the mixture must be drawn off and replaced with water so that the mixture may be half water and half syrup?  What is the best possible way to solve this question? Standard value of PATH variable Windows 10 After having poorly handled the PATH system variable (resulting in deletion), I'm now looking to reinstate the variable with the original value. I found answers like  about Windows 8 and below, but not for Windows 10. I guess values are virtually identical, but I'd like to know the exact string so I'm not missing anything. EDIT: Also, Regedit tree have changed and I'm not able to locate the variable How can I quickly create a large file on a Linux () system?   will do the job, but reading from /dev/zero and writing to the drive can take a long time when you need a file several hundreds of GBs in size for testing... If you need to do that repeatedly, the time really adds up.  I don't care about the contents of the file, I just want it to be created quickly. How can this be done?  Using a sparse file won't work for this. I need the file to be allocated disk space. Is there a way in blender or an addon that allows me to select a bunch of faces (or verts) and evenly distributes (or relaxes) them into quads clean quads.  Without screwing up the vert ID/order.  Edit: I would like to have the shapes of my quads to turn into perfect squares while maintaining the volume of the object and the vertex order. In the book I'm study is written:     A normal subgroup of a group need not be characteristic.   And as an exercise I'm supposed to find an example, it also said that is pretty hard to find one. After trying for two days I wasn't able to find one example.   So, I'm asking for an example of a group $G$ with a normal subgroup $H$ that is not a characteristic of $G$.  I will add some context because maybe it will clarify why the book said it is difficult to find an example: the main problem with the exercise is that until it the book had only covered Group Definition, Subgroups, Lagrange's Theorem and Homomorphisms. So I'm supposed to find a example with such lack of advanced tools. Please tell me which choice below (or rather a better choice that I need to know) works better in my sentences in informal English:     I got myself out on a limb. I need to clear my check by tomorrow. No matter how, I must ............ 2 million bucks by tomorrow.   a) line up [to prepare, organize, or arrange something]  b) hook up [hook somebody up with something to help someone get something that they need or want]  c) fix up [to arrange for someone to have something that they need]  For me, all three options work in this sense with the same meaning and informality degree. Windows wildcards with files having more than 3 characters extensions On Windows 7, I have a directory containing the following four files:   xxx.txt xxx.txt2 xxx2.txt xxx2.txt2   With the file have more than 3 character as a file extension, the behavior of the wildcard * seems odd:  dir *.txt  10/13/2014  04:14 PM                 6 xxx.txt 10/13/2014  04:17 PM                 6 xxx2.txt 10/13/2014  04:17 PM                 6 xxx2.txt2 10/13/2014  04:14 PM                 6 xxx.txt2            4 File(s)             24 bytes            0 Dir(s)   6,660,980,736 bytes free   I would expect to see only the two files with txt extension and not the ones with txt2 (like it would on a Linux machine). Does MS-DOS ignore the truncate the file extension to 3 characters or does it add automatically another wildcard at the end? If I want to delete only the files with txt extension and not the one with txt2, which command should I use? Thanks When do "per day" spell-like abilities recover in 3rd edition? What is LINQ? I know it's for databases, but what does it do?