Centering div so content of it will always be in middel
How to horizontally center an element
Does Forbidden Island usually need any rule variants for playing with 5+ people? I don't see any reason why Forbidden Island wouldn't be able to handle 5 or maybe even 6 players with some simple variants. Does anyone have any experience with different player numbers with some wisdom to pass on?  It would be slightly harder to gather the required 4 treasure cards at one person, but there would be more people total to trade with. The island would sink faster and it would take longer for a certain critical player to have their turn, even though the navigator and helicopter can move anyone. How can these disadvantages be offset to keep the game strong and sufficiently difficult? Let $S$ and $T$ be finite non-empty sets such that $|S| = |T|$. Show that the function $f : S\to T$ is onto if and only if it is one-to-one. This is a recent homework bonus question assigned in my Proofs and Conjectures class. It (evidently) includes and evaluates our understanding of elementary-set theory and how to determine and prove that the function f is onto and one-to-one. I haven't been able to really grasp firmly how it is we do this. Help would be much appreciate, thank you. Proof of $\pi$ not being a quadratic irrational number. Does someone know a proof (books, articles) that $\pi$ is not a quadratic irrational?   The proof should not use that $\pi$ is transcendental.  Any hints would be appreciated. Auto revision summary has wrong plural: "added 1 characters in body" As seen at:           Update: I'm 101% sure the down votes were due to the lack of free hands.    Update 2: likes me, like me not, like me, likes me not... yeah ! Convert a Bitmap to GrayScale in Android How to make a LAMP server accessible from the internet? Hi I want to make my own SNS (Social Networking Site), so I installed LAMP on my Ubuntu 14.04. But its not accessible from the internet! I can run the server only on my computer by typing "https:\localhost" on my browser.  I don't want any domains; I just want that whosoever from any part of the world wants to use my SNS he/she just have to type the ip-address and my SNS opens i.e. I want my server accessible from the internet.  My router is Binatone DT 850W. Can you please tell me what should I do? Turning off auto-maximizing of windows in 14.04 I know this has been asked for other Ubuntu releases, but the solutions posted are not working for me in 14.04. I've installed CCSM and turned off the grid option, but the windows still maximize when dragging to the top of the screen. I've dealt with it for a while but it's getting rather obnoxious. Anyone else had this problem and come across a solution?  EDIT:  This is happening in Gnome Classic, but not Gnome 3 Can I possibly recover the Windows system partition that I deleted (100MB)? After moving to SSD I deleted the System Partition (100MB) from my previous drive, causing mass destruction.  I tried to delete the System Partition which windows 7 creates (on my previous disc as I moved to SSD) and when I tried to extend the main partition size to include the new Unallocated Space it asked me if I wanted to convert the disc to Dynamic.  I simply pressed yes and the partition simply disappeared into unallocated space. All of my family pictures / videos lost.  After reading an article on Microsoft they said to recreate the partition with the same exact size, so I tried to do that but it didn't work. I did not format the drive at all when I created partitions.  How can I possibly recover the partitions?  Thanks! Add different materials to different parts of a mesh? How do you add more than one material to a mesh?   I have tried adding two materials to the object, and then assigning one of the materials to a vertex-group, but I could not find a place to assign it.  I am making a striped bouncy ball that I want to deform, so adding a different material by separating the mesh into different objects would not be ideal. Why should the minimal class be avoided? A common scenario we run into on Stack Overflow is that we have a troll, spammer, or obvious sock puppet of another user and moderators decide to delete this user. We go on about our business only to find out an hour or two later that the account we just deleted has been recreated, using the same credentials, and is now back to trolling, spamming, or committing voting fraud once again.  I've seen some people recreate an account like this using the same credentials four or five times (multiple times in the last week, in fact). The only thing that stops them is if we remember to suspend the account for right before we destroy it. Accounts recreated using the same credentials as an account that was suspended will be locked into the same suspension the old account was serving.  In particular, this becomes a real problem with sock puppet accounts that have a network association reputation bonus attached to them, because the recreated accounts keep getting that 100 point bonus and can immediately be used for voting fraud, to troll chat, or to spam comments. I've had to deal with quite a few puppet accounts like this by suspending them for a year before deletion.  I propose that all moderator-deleted accounts behave as if they were suspended for a year upon deletion, so that recreating these accounts using the same credentials will cause the new account to be locked in a one-year suspension. This would prevent the new accounts from being used to abuse the site in the same manner as their old account did.  This won't put an end to people creating new spam, troll, or puppet accounts after we delete them, but it will at least slow them down by forcing them to create new login credentials each time. It also would curb abuse of account association bonuses by puppets. How can I update my OpenGL to 3.0 or higher In MySQL 5.0 why does the following error occur when trying to create a view with a subquery in the FROM clause?     ERROR 1349 (HY000): View's SELECT contains a subquery in the FROM clause   If this is a limitation of the MySQL engine, then why haven't they implemented this feature yet?  Also, what are some good workarounds for this limitation?  Are there any workarounds that work for any subquery in the FROM clause or are there some queries that can not be expressed without using a subquery in the FROM clause?    An example query (was buried in a comment):  SELECT temp.UserName  FROM (SELECT u1.name as UserName, COUNT(m1.UserFromId) as SentCount        FROM Message m1, User u1        WHERE u1.uid = m1.UserFromId        Group BY u1.name HAVING SentCount &gt; 3 ) as temp How to prove that the set of rational numbers are countable? What is the best way (performance wise) to paginate results in SQL Server 2000, 2005, 2008, 2012 if you also want to get the total number of results (before paginating)? Is there an easy way to attach source in Eclipse? I'm a big fan of the way Visual Studio will give you the comment documentation / parameter names when completing code that you have written and ALSO code that you are referencing (various libraries/assemblies).  Is there an easy way to get inline javadoc/parameter names in Eclipse when doing code complete or hovering over methods? Via plugin? Via some setting? It's extremely annoying to use a lot of libraries (as happens often in Java) and then have to go to the website or local javadoc location to lookup information when you have it in the source jars right there! I have been creating a table from mysql result , but its printing the html markup only and says controller must return a response . what may be the reason ?      LogicException: The controller must return a response ((5   rows)group_nameparent_nameEditDeleteSelect   itemsL2V9http://192.168.1.236/mailusers/usergroup/edit/6>edithttp://192.168.1.236/mailusers/usergroup/delete/6>delete           L3v3http://192.168.1.236/mailusers/usergroup/edit/7>edithttp://192.168.1.236/mailusers/usergroup/delete/7>deleteAdminsV6http://192.168.1.236/mailusers/usergroup/edit/8>edithttp://192.168.1.236/mailusers/usergroup/delete/8>deleteL4Vodafonehttp://192.168.1.236/mailusers/usergroup/edit/9>edithttp://192.168.1.236/mailusers/usergroup/delete/9>deleteVCNONetworkhttp://192.168.1.236/mailusers/usergroup/edit/12>edithttp://192.168.1.236/mailusers/usergroup/delete/12>delete given). in     Symfony\Component\HttpKernel\HttpKernel->handleRaw() (line 157 of     vendor/symfony/http-kernel/HttpKernel.php). Formula Assistance I am creating a formula variable in a Flow but keep getting this error. Crop net Acres is a Number field. IF(     ISBLANK( [Opportunity].Crop_Net_Acres__c),     0,      ( [Opportunity].Crop_Net_Acres__c) )  Error Message:  netAcresFormula (Formula) - The formula expression is invalid: Syntax error. Missing '='  Any thoughts here? Defer Parsing of Scripts this is my first time to try this "Defer Parsing" thing, and I don't really have an idea how to do it.    Using PageSpeed tool, I found out that one of the reason why my page is loading too slow (currently 92/100) are the scripts. And the PageSpeed suggested that I need to Defer Parsing all those scripts.  Is there anyone that can help me with this. Thanks. Non-EU spouse of UK citizen Schengen visa requirements I'm a British citizen and my wife is in the UK on a spouse visa. She holds a BRP card. We're planning to visit Germany and some other Schengen countries, and I've got a question around visa requirements/supporting documents.  I've read in few places (i.e ) that the visa requirements are more relaxed if the applicant is a spouse of a UK citizen, and is travelling with the UK citizen.  How relaxed are the requirements? Does my wife need to submit supporting documents for accommodation, finances, flight booking, etc.? Or is it simply submitting the application form alongside the passports and BRP? (i.e standard documentation for Schengen visa application section from )