I want to print the array identifier name along with its content. In situations where a page contains many arrays, then there is a confusion - which elements belong to which array.  $user= array('id' =&gt; 1,'name' =&gt; "Tom");  //expectation user Array (     [id] =&gt; 1     [name] =&gt; Tom )
Say i have this PHP code:  $FooBar = "a string";   i then need a function like this:  print_var_name($FooBar);   which prints:  FooBar   Any Ideas how to achieve this? Is this even possible in PHP?
Opening a context menu (with the Menu key) How can I change GNOME Shell theme? I've installed the GNOME Shell in Ubuntu 12.04 and I want to change the "Shell Theme", But it doesn't allow me to do that.  The alert says something like: "The GNOME-Shell extension is not activated", and I want to install it with the console, But it returns me an error.  How can I solve this problem? How do you get a bad transcript past Ph.D. admissions? I have a master's degree in International Studies, and a double major with Computer Science from undergrad.  My transcripts suck.  There's no other way to dress it up.  I have pretty good teaching experience, and my GRE scores are awesome, and I suspect my recommendations are as bland as everyone else's.  Basically, to an admissions committee, I suspect I'm the model of a student who is probably smart enough but didn't work hard enough.  I want to do a Ph.D. in Political Science, but the response from my applications is looking pretty grim.  Am I permanently out of the running, or is there something I can do for the next few years which will help to counterbalance my unfavorable GPA? Activate physics by keyframe I'd like to have a group of debris fall from a ceiling onto the floor, but not have them drop all at the same time. Is there a way to set a keyframe that dictates when the object enters the simulation? For example, object 1 starts falling on frame 0, object 2 on frame 5, object 3 on frame 24, etc. I play on the DivineJourney modpack with a friend, but he wants to constantly spawn things in. Is there any way to allow him to be able to use the teleport command, but not be able to spawn in items?  I've already locked the NEI mode to Recipe.  I've looked around for a mod for plug-ins for Forge (as thats what the server is on) but I couldn't find anything thats up to date. I found Sponge, but thats for 1.8+, and I need 1.7.10. How can I show that if some group $G$ has only one subgroup $K$ of order $n$, then $K$ is a normal subgroup? Would that mean that it only has one subgroup total? If so then I guess that makes sense. How "submitted", "to appear", "accepted" papers are evaluated in a CV? Assume a search committee is reading my CV and in the publication section they notice some of my papers are only submitted or claimed to appear in a journal (or accepted for publication in a journal). Sometimes the journal which has accepted the paper for publication lists the title of accepted articles before actually publishing them, but in the rest of cases there is no evidence to prove that the referee process of the paper is over and the journal has accepted the paper for publication. Also assume preprints of my papers are available in ArXiv. So, my questions are:   How a search committee interprets and evaluates those papers which are just submitted or are claimed to appear?  Does a search committee consider these types of publications less valuable than the published ones (assuming the same quality)?  Does a search committee refer to my preprints in ArXiv to evaluate my submitted or accepted papers? I have two systems installed previously Windows 7 and Ubuntu. I was trying to reinstall Ubuntu and format the Ubuntu OS partition using a tool in Windows 7.   When I have Ubuntu ready on a USB stick and restart my laptop, it prompts me with the GRUB rescue screen. If I boot from USB to install Ubuntu, it just hangs.   Anyway, I messed up everything. So my question is how can I boot Windows 7 now? Increase iPhone call history How can I create a text input box with Pygame? How does a USB 2.0 Wall Charger negotiate current output? I'm trying to use a mobile phone charger for my projects, and want a high current output. I have read , however my measurements show something else.  is a link to the Battery Charging Specification Rev. 1.2.  1.4.7 Dedicated Charging Port A Dedicated Charging Port (DCP) is a downstream port on a device that outputs power through a USB connector, but is not capable of enumerating a downstream device. A DCP shall source \$I_{DCP}\$ at an average voltage of \$V_{CHG}\$. A DCP shall short the D+ line to the D- line.   I verified on three different chargers, and all read \$R_{DCP\_DAT}\$ as ~1.5 Ohms. Now, if there is a short between the D+ and D-, there is no detection on the charging port side, and the charger should always output \$I_{DCP}\$ {0.5 - 5.0A max} on the VBUS line - is this correct? I tested the current output of three chargers, but they are all completely different. Charger 1 - Nokia Rated current output: 1.3A Measured current output: 1.34A Charger 2 - Asus Rated current output: 2.0A Measured current output: 0.7A - 1.1A (unstable) Charger 3 - HTC Rated current output: 1A Measurent current output: 0.1A If all these dedicated charging ports have no current negotiation, how come only one charger is showing it's rated output? N.B All three chargers can charge a mobile phone in a reasonable amount of time. For a polynomial $p(z)$, prove there exist $R>0$, such that if $|z|=R$, then $|p(z)|\geq |a_n|R^n/2$ For a polynomial $p(z)=a_0+\ldots+a_nz^n$, prove there exist $R&gt;0$, such that if $|z|=R$, then $|p(z)|\geq |a_n|R^n/2$.  I get $|p(z)|\geq |a_n|R^n$, which makes that factor of $1/2$ useless. So I must have done something wrong.  $$|\frac{\partial^n{f}}{\partial z^n}(P)|\leq \frac{\sup_{z\in \overline{D}(P,r)} |f(z)|k!}{r^k}$$. This is the Cauchy estimate.   $$|\frac{\partial^n{p}}{\partial z^n}(z)| = |a_n n!|$$ $$|\frac{\partial^n{p}}{\partial z^n}(0)|\leq \sup_{\zeta\in \overline{D}(0,|z|)} |p(\zeta)|n!/R^n$$ $$|a_n n!|\leq \sup_{\zeta\in \overline{D}(0,|z|)} |p(\zeta)|n!/R^n$$ $$R^n |a_n|\leq \sup_{\zeta\in \overline{D}(0,|z|)} |p(\zeta)|$$  There exist a $z_0$, such that $|z_0|&gt;0$ and $$\sup_{\zeta\in \overline{D}(0,|z_0|)} |p(\zeta)| = |p(z_0)|$$.  This is saying there exist a disk centered at the origin, such that $|p|$ is maximum on some point on the boundary.   Let $R=|z_0|$, we have $R^n |a_n|\leq |p(z_0)|$  Edit: I know what I got wrong. $z_0$ is just one point on the circle $|z| = R$. One can chose another point $z_1$ on the circle, such that $p(z_1)&lt;p(z_0)$. Is it possible to disable the Super+ shortcuts that switch to apps in 12.04? Determine whether a number is prime How do I determine if a number is prime?  I'm writing a program where a user inputs any integer and from that the program determines whether the number is prime, but how do I go about that? I want to display from cache for a long time and I want a slightly different behavior on page render vs loading the page from cache.  Is there an easy way I can determine this with JavaScript? On equations $m^2+1=5^n$ If I'm given a complex number (say $9 + 4i$), how do I calculate its square root? How to startForeground() without showing notification? A term for words that change pronunciation with part of speech I'm talking about words like:   construct: CON-struct(n.), cun-STRUCT(v.) present: PRE-sent(n.), pre-SENT(v.) record: RE-cord(n.), ri-CORD(v.)   They are pronounced differently based on whether they are a noun or a verb.  Here are the terms I DON'T think would apply:   Homograph: same spelling, different meanings: for example, bark (the sound of a dog) and bark (the skin of a tree). Homophone: same pronunciation, different meaning: for example, to and two Homonym: same pronunciation and spelling, different meanings: for example: bank (river bank or savings bank) Heteronym: same spelling,  different pronunciations and meanings: for example bow (the front of a ship) and bow (a ranged weapon)   Bow is particularly interesting. It is a heteronym based on the two nouns I described. But in the sense of the body movement, the noun and the verb are pronounced alike (rhyming with wow), thus, not belonging to the category I've explained.  In fact none of the terms explained  satisfy my requirement.  I'm looking for the term for words that have same (or related at best, NOT different) meanings, same spelling and different pronunciation.  Specifically, different pronunciation depending on the part of speech. As against the words which have the same pronunciation in different parts of speech like bill, turn, case (or bigger ones like manoeuvre)  TL;DR:  Fill in the blank:     The noun and verb forms of construct are pronounced differently   because the word construct is a _____   or      The noun and verb forms of construct are pronounced differently   because they are _____s. Sum of two closed sets in $\mathbb R$ is closed? Is there a counterexample for the claim in the question subject, that a sum of two closed sets in $\mathbb R$ is closed? If not, how can we prove it?  (By sum of sets $X+Y$ I mean the set of all sums $x+y$ where $x$ is in $X$ and $y$ is in $Y$)  Thanks!