"2017-08-31":["5948a0dd21146a43fdcfef5a","5948a0dd21146a43fdcfef5a"] "2017-08-22":["5948a0dd21146a43fdcfef5a"] "2017-08-09":["59461ceae6179b19403c6a19","59461ceae6179b19403c6a19"] "2017-08-08":["59461ceae6179b19403c6a19","59461ceae6179b19403c6a19"]   I have an array like this, key is a date and multiple value associated with that date, but I need unique value with that key.how to do that ?  I've tried with array_unique but no luck!
How can I remove duplicate values from a multi-dimensional array in PHP?  Example array:  Array (     [0] =&gt; Array     (         [0] =&gt; abc         [1] =&gt; def     )      [1] =&gt; Array     (         [0] =&gt; ghi         [1] =&gt; jkl     )      [2] =&gt; Array     (         [0] =&gt; mno         [1] =&gt; pql     )      [3] =&gt; Array     (         [0] =&gt; abc         [1] =&gt; def     )      [4] =&gt; Array     (         [0] =&gt; ghi         [1] =&gt; jkl     )      [5] =&gt; Array     (         [0] =&gt; mno         [1] =&gt; pql     )  )
\num{100000} prints 100 000  I want to have 1 00 000.  Question: How to set siunitx package to do the above?  Some more  \num{1000} => 1 000  \num{10000} => 10 000  \num{100000} => 1 00 000  \num{1000000} => 10 00 000  \documentclass[12pt]{article} \usepackage{siunitx} \sisetup{group-separator = {,}}  \begin{document}  \num{1000}  \num{10000}  \num{100000}  \num{1000000}  \num{10000000}  \num{100000000}  \num{1000000000}  \SI{1000000000}{m}  \end{document}   The exact rules are described on the :     The Indian Numbering System uses separators differently from the Arabic system; besides the three least significant digits of the integer part, a comma divides every two rather than every three digits. How to appeal to undelete an answer deleted by moderator? How can someone make an appeal to un-delete an answer that was deleted by a moderator?    There should at least be an appeal/vote process, if the deletion was unfair. Moderators are humans like rest of us, and they can be unjust. Poll in background for StackExchange™ MultiCollider SuperDropdown™ inbox events and update the titlebar accordingly à la Facebook What computer components are currently vulnerable to magnets? When I first started using computers, law of the land in computer class was never bring magnets near anything computer related, lest you lose all your data or screw up your monitor.  Now I am pretty sure magnets will still royally mess up a standard hard drive, and I know for a fact they screw up a CRT monitor.  Though I am also pretty sure they do not screw up a LCD monitor?  Now I have my phone which uses magnets to determine if it's docked, and it made me wonder.  Is it the power of the magnet preventing data loss or the sheer fact that whatever memory type in the phone is immune to it?  What about ear buds, as I know those have tiny magnets in them. Are those capable of damaging any electronic device currently in use?  I'm wondering if I'm being paranoid, but I really am not sure what magnets will damage and what they won't!  Is there a list, or rule of thumb for determining what will be hurt by magnets and what won't be? I have the following problem.      Let $f:D\to \mathbb C$ be a holomorphic function, where $D=\{z:|z|\leq 1\}.$ Let $$f(z)=\sum_{n=0}^\infty c_nz^n.$$ Let $l_2(A)$ denote the Lebesgue measure of a set $A\subseteq \mathbb C$ and $G=f(D).$ Prove that $$l_2(G)=\pi\sum_{n=1}^\infty n|c_n|^2.$$   After a long struggle I managed to come up with the following formula $$l_2(G)=\iint_D |f\,&#39;(z)|^2dxdy.$$ It looks like the right thing to use because $$f\,&#39;(z)=\sum_{n=1}^\infty nc_nz^{n-1},$$ which is similar to what I have to prove. I understand that the $\pi$ will appear when I integrate something over the angle $\phi$ in polar coordinates. But I don't know how to find the square of the absolute value of the right-hand side to even start integrating...  EDIT: The function is supposed to be  (one-to-one). (I'm not perfectly sure I'm translating the term correctly. The (Polish) word in the statement of the problem was "jednolistna". I have not met it before.) Did you know that :  Map&lt;Object,Object&gt; m1 = new HashMap&lt;Object, Object&gt;(); Map&lt;Object,Object&gt; m2 = new HashMap&lt;Object, Object&gt;(); System.out.println("m1.equals(m2) = "+m1.equals(m2)); System.out.println("m1.keySet().equals(m2.keySet()) = "             +m1.keySet().equals(m2.keySet())); System.out.println("m1.entrySet().equals(m2.entrySet()) = "             +m1.entrySet().equals(m2.entrySet())); System.out.println("m1.values().equals(m2.values()) = "             +m1.values().equals(m2.values()));   would output :  m1.equals(m2) = true m1.keySet().equals(m2.keySet()) = true m1.entrySet().equals(m2.entrySet()) = true m1.values().equals(m2.values()) = false   This is caused by the fact that AbstractCollection (which HashMap$Values inherits from) does not overrides #equals().  Do you have an idea why this is so ? Don't worry, I have written your name on the attendance sheet.   Or     Don't worry, I wrote your name on the attendance sheet. Mathematica envelope for the bottom of a plot, a generic function How to use more than 10 tab stops in bmatrix or other amsmath matrix environments? Today a student asked me $\int \ln (\sin x) \, dx.$ Calculate the integral $$\int \ln (\sin x) \, dx.$$ Magic quotes in PHP According to the , in order to make code more portable, they recommend using something like the following for escaping data:  if (!get_magic_quotes_gpc()) {     $lastname = addslashes($_POST['lastname']); } else {     $lastname = $_POST['lastname']; }   I have other validation checks that I will be performing, but how secure is the above strictly in terms of escaping data? I also saw that magic quotes will be deprecated in PHP 6. How will that affect the above code? I would prefer not to have to rely on a database-specific escaping function like mysql_real_escape_string(). How to add the name of the supervisor in a @thesis field? In the biblatex doc, it says ( Version 1.7, p.11):     thesis      A thesis written for an educational institution to satisfy the   requirements for a degree. Use the type field to specify the type of   thesis.      Required fields: author, title, type, institution, year/date      Optional fields: subtitle, titleaddon, language, note, location,   month, isbn, chapter, pages, pagetotal, addendum, pubstate, doi,   eprint, eprintclass, eprinttype, url, urldate   I would like to know if there is any "canonical" way to add the name of the supervisor(s) in a field of the .bib file (no .bbl manipulation please, I want my bibliography to be usable "as it" in several documents).  The expect result could be something like  :     Meand Myself. “A brilliant result, explained”. PhD thesis**, under the   joint supervision of Pr. Toto and Pr. Tata**. Université Paris 24,   Nov. 2013.   The "under the (joint) supervision" could be a string that would be declined in four ways:   under the supervision of  under the joint supervision of and the abridged forms Right identity and Right inverse implies a group Let $(G, *)$ be a semi-group. Suppose   $ \exists e \in G$ such that $\forall a \in G,\  ae = a$;  $\forall a \in G, \exists a^{-1} \in G$ such that $aa^{-1} = e$.    How can we prove that $(G,*)$ is a group? There are several Q&amp;A threads that explain how to download youtube videos using the terminal.  However, I would also like to learn how to extract the video's soundtracks as MP3 files--also using only the terminal.  Answers briefly explaining how to use youtube-dl or other similar utilities before explaining how to extract the MP3 would be ideal for the sake of having all the information in one place--even though this aspect has been covered in other posts. How can I set up password-less SSH login? Typesetting linguistic rewrite rule I'm trying to (more or less) replicate this phonological rewrite rule:    I'm using the package , and what I manage to accomplish is this:  \documentclass{article} \usepackage{phonrule} \begin{document}  \phonc     {\phonfeat{$-$cnt\\ +hi}}     {[$\alpha$grv]}     {\oneof{%         \phonfeat{$-$cnt\\ $\alpha$grv}\phold\\         \phold\phonfeat{$-$cnt\\ $\alpha$vce}%     }}  \end{document}     My main problem here is what appears after the "when" slash:  (1) The package only provides a left curly bracket - how can I add a right one as well?  (2) The two options within the curly brackets are not well aligned. I think comparing the two pictures themselves says it better than what I could do with words. 11.4 Full Jaillbreak method Yet? I've been searching around for a a while now and So far I haven't found any full jailbreaks for ios 11.4 on a 6s. To be honest, I am new to the jailbreaking scene. I've installed Velonzy, but could find no jailbreaking tools. Am I missing something, or is there truly nothing left.  PS. I would downgrade to a system-rootable version but I haven't any SHSH blobs, or found any alternative method. Is it possible? How long does it take for chat profiles to update? Following scenario:   user registers, has 1 point user visits chat, notes he cannot post because of only 1 point and needs 20 user goes back to SO, answers a question. gets enough points to chat user goes back to chat, but his profile still shows 1 point   Now my questions:   How long does it take for the profile on chat to update? Is there a way to force updating?   Update: Logging in and out did not help. Evaluate definite interval of normal distribution Should I really pay off my entire credit card balance each month or should I maintain some balance?