Every so often I find myself with a multidimensional array that I want to sort by a value in a sub-array. I have an array that might look like this: //an
phpbrew builds and installs multiple version php(s) in your $HOME directory.
phpbrew also manage the environment variables, so you can
switchphp version whenever you need.
RVM/Virtualenv for PHP
This isn’t obvious, so I thought I’d post an example for deleting a remote branch.
Let’s say you want to delete origin/some_branch from origin$ git branch -a * maorigin/master origin/some_branch
To remove the branch, just do this:$ git push origin :some_branch
Now, it’s gone!$ git branch -a * maorigin/master
A quick note to self.
Files that should be ignored when collaborating via source control (ie. github) for project working with XCode are listed below.
Those files are meant for user-state and don’t affect a project when time of compiling / building comes.