When I do the below code:   date("d/m/y", $date)   It gives me      04/06/15   How can I make it such a way that it will return      4/6/15    What modifications must I do in order to get the desired output? Please advise thanks.
Which PHP function can return the current date/time?
Weird sharp vertices with subdivision modifier I have a simple skull model, to which I applied the subdivision modifier. For the most part everything works as expected, except I keep getting these weird sharp vertices and I can't seem to figure out how to flatten them.    I'm using Blender 2.8. Is this some kind of feature I can disable/enable for particular vertices? The distance between the sharp vertices and the gray outline differ.    Any suggestions please? Thank you!  EDIT: I also tried selecting as both - vertexes and edges and then applied Edge->Clear Sharp, but nothing changed. Modified files in a git branch are spilling over into another branch I am working on a git repository with a master branch and another topic branch. I have switched to topic branch and modified a file. Now, if I switched to master branch that same file is shown as modified.   For example:  git status in git-build branch:  # On branch git-build # Changes to be committed: #   (use "git reset HEAD &lt;file&gt;..." to unstage) # #       modified:   cvsup_current #   Switch to master branch  [root@redbull builder_scripts (git-build)]# git co master M       builder_scripts/cvsup_current Switched to branch "master"   git status in master branch  [root@redbull builder_scripts (master)]# git status # On branch master # Changes to be committed: #   (use "git reset HEAD &lt;file&gt;..." to unstage) # #       modified:   cvsup_current #   Why is that the file is shown as modified in master branch even though it was modified in git-build branch?   My understanding was that the branches are independent of each other and when I change from one branch to another the changes do not "spill over" from one branch to another. So I am obviously missing some thing here.   Anyone got a clue stick? Is it possible to add a user and restrict him to run special programs? For example after this user logs in, he can only open Firefox to use Internet and no other programs can be run by this user. For example in a terminal, commands will not be accessible when you delete some environment variables like $HOME. But is it possible to avoid running programs in a graphical shell, like Gnome? If yes, how? Install Java JDK and JRE on Debian 8 Can you help me with my software dependency issue? This is a  about Compile Dependencies and Package Management.    I have a question regarding compiling ports/software or installing RPMs on my *nix server.  When I try to do this I receive lots of messages about missing dependencies.  Can the Server Fault community please help? Let $a,b,m,n$ be positive integers such that g.c.d.$(a,b)=1$ and $a^m+b^m|a^n+b^n$ , then is it true that $m$ divides $n$ ? Where's my Vox Populi badge? Possible Duplicate:          I was a very good boy yesterday, voting 40 times (and getting the message that told me to wait until the next day before voting again) on a good mix of questions and answers. But I didn't receive the Vox Populi badge for it. What gives? Prove there exists $a\in \Bbb{R}$ such that $f'(a)=0$. Let $f$ be differentiable on $\Bbb{R}$ and let $\lim_\limits{x\to \infty}f(x)=\lim_\limits{x\to -\infty}f(x)=0$. Prove there exists $a\in \Bbb{R}$ such that $f'(a)=0$.  Attempt: If $f$ is constant we are done. Otherwise, $f$ is not constant. Suppose there is no such $a$. Then, in particular, $f$ has no extremum $\implies$ $f$ has no point where is goes from increasing to decreasing or from decreasing to increasing. $f$ is continuous since it is differentiable. Hence, since $\lim_\limits{x\to \infty}f(x)=\lim_\limits{x\to -\infty}f(x)=0$, $f$ must be constant. A contradiction. Therefore either $f$ is constant and $f'(x)=0$ everywhere, or $f$ has an extremum at $x=a$ and $f'(a)=0$.   I feel like my attempt is not formal enough, any correction?  I would appreciate your help. let $n\gt1$  be a fixed natural number, $S:=${$A $: $M_n (\mathbb{R})$ be all real matrix,define this meter for all $A=[a_{ij}]$ $B=[b_{ij}]$   $d(A,B)$:=max{|$a_{ij}-b_{ij}$|:i,j=1,2,2...,n} and $GL(n,\mathbb R)$ is set of all $n\times n$ non singular matrix how to prove that $GL(n,\mathbb R)$ is  not connected and open subset of $S$ ?  thanks in advance How can a quasar be 29 billion light-years away from Earth if Big Bang happened only 13.8 billion years ago? I was reading through the Wikipedia article on  and came across the fact that the most distant Quasar is 29 Billion Light years. This is what the  exactly says      The highest redshift quasar known (as of June 2011[update]) is ULAS-J1120+0641, with a redshift of 7.085, which corresponds to a proper distance of approximately 29 billion light-years from Earth.   Now I come to understand that the  singularity is believed to be around 13.8 Billion years ago.  So how is this possible? Does the presence of such a quasar negate the Big Bang Theory?   I'm not a student of Physics and was reading this out of (whimsical) curiosity. Is there something I'm missing here or the "proper distance" mentioned in the fact is a concept that explains this?  Edit: My Bad! Here's how..  A simple google search led me to  which says the farthest quasar found is 12.9 billion LYs and not 29 billion. So in the end we have just proven that wikipedia needs more moderation. Will links to images be kept permanently when added to a comment and nothing else? I assume, that Stack Exchange have some clean-up subsystem, which deletes all "abandoned" images (stored at i.stack.imgur.com), that is, all of them, that were initially uploaded, but no post is actually having link to them. Am I right?  If such subsystem is implemented and is doing its job on regular basis, then what about following scenario:   Start a new question or answer, anywhere. Hit button and upload an image. Copy generated image's URL  to clipboard. Close tab and drop editing post. Go to question on answer, you actually planned to reply. Post a comment to it and paste copied image's URL from clipboard to comment's body.   Will uploaded image, with URL pasted only to comment, be kept permanent? Does clean-up subsystem (if exitst) take care of checking for image's URLs in comments as well? Notify more frequently than once a day? Is there a way to subscribe to a question and be notified more frequently than once a day?  I'd like to be notified immediately on any posts to a question. What does the Asterisk * mean in Objective-C? What exactly can a financial advisor do for me, and is it worth the money? I've been managing my own expenses pretty meticulously for the past 4-5 years since being out of college and on my own. Because of this, I feel I have more of a clue about finances than the average 28-year-old.  I use  to manage pretty much all of my accounts, though I realize this is just a quick and easy personal finance solution. Plus, there's no personally customized advice on how I invest or set up my monthly budget.  These are the reasons I think I may want to find a good financial advisor. However, I don't know what I don't know. That is, there could be a long list of things I should be doing with my money to plan for retirement or just for general financial wellbeing.  Are these the functions of a financial advisor? What can I expect if I sit down to meet with one? Most importantly, how much would I be paying for this advice and is it worth it? I have a map of an area and georeferenced photos. I need to be able to bring the pictures as points and then be able to click at a certain point and an image pop up.   I have revisited this issue, i managed to get this far but the pop up doesn't work.   See image: How can I manually generate a random number from a given distribution, as for instance, 10 realisations from the standard normal distribution? Delete all but the most recent n file for each group of files that share the same prefix in a directory My question is a bit different from some older questions simply asking for "deleting all but the most recent n files in a directory".  I have a directory that contains different 'groups' of files where each group of files share some arbitrary prefix and each group has at least one file. I do not know these prefixes in advance and I do not know how many groups there are.  EDIT: actually, I know something about the file names, that is they all follow the pattern prefix-some_digits-some_digits.tar.bz2. The only thing matters here is the prefix part, and we can assume that within each prefix there is no digit or dash.  I want to do the following in a bash script:   Go through the given directory, identify all existing 'groups', and for each group of files, delete all but the most recent n files of the group only. If there are less than n files for a group, do nothing for that group, i.e. do not delete any file for that group.   What is a robust and safe way of doing the above in bash? Could you please explain the commands step-by-step? $C([0, 1])$ is not complete with respect to the norm $\lVert f\rVert _1 = \int_0^1 \lvert f (x) \rvert \,dx$ How do you split a long exact sequence into short exact sequences? How does one split up a long exact sequence into short exact sequences?  Say you have some longs exact sequences of modules $$ 0\longrightarrow M_1\stackrel{\phi_1}{\longrightarrow}M_2\stackrel{\phi_2}{\longrightarrow}M_3\stackrel{\phi_3}{\longrightarrow}M_4\stackrel{\phi_4}{\longrightarrow}\cdots $$ I've read it's possible to split this into short exact sequences. What exactly does that mean? Would it be written as short exact sequences, one appended to another like $$ 0\longrightarrow N_1\longrightarrow M_1\longrightarrow N&#39;_1\longrightarrow 0\longrightarrow N_2\longrightarrow M_2\longrightarrow N&#39;_2\longrightarrow 0 \longrightarrow\cdots? $$ If so, how does this work? Merci. How to implement a follow author (or user) function? Is it possible to implement a Follow button for authors of posts in Drupal 7, so that users can:   Follow any one they wish, and Be notified about the new posts of those authors.   This sounds like 'Mashable Follow button' for authors.  Do you have any suggestions about how to implement this?