1. Install PHP 5.5+ which has a built-in server
sudo apt-get install php5
2. Create a directory for php files. For example
php -S localhost:8000
In 2013, I created a project to provide a general-purpose tree structure in Java.
One challenge at that time (mostly because I was not an expertise at that time, neither am I now) is the return type of
Tree methods. For example, the return type of
getChild(int index) that should return the child at the specified index.
I recently read a series of referee’ quotes published by Environmental Microbiology. As stated in every article, the referees are busy, serious individuals who give selflesslyof their precious time to improve manuscript. But, once in a while, their humour (or admiration) gets the better of them. Here are some quotes that I like most.
Adobe, in partnership with Google, is pleased to announce the release of Source Han Sans, a new open source Pan-CJK typeface family that is now available on Typekit for desktop use. For those who want to play with the original source files, you can get those from Github. The installable fonts and source files can be downloaded from the Releases page.
Dear Mr. Nadeau:
As long as there is one upright man, as long as there is one compassionate woman, the contagion may spread and the scene is not desolate. Hope is the thing that is left to us, in a bad time. I shall get up Sunday morning and wind the clock, as a contribution to order and steadfastness.
Sailors have an expression about the weather: they say, the weather is a great bluffer. I guess the same is true of our human society – things can look dark, then a break shows in the clouds, and all is changed, sometimes rather suddenly. It is quite obvious that the human race has made a queer mess of life on this planet. But as a people we probably harbor seeds of goodness that have lain for a long time waiting to sprout when the conditions are right. Man’s curiosity, his relentlessness, his inventiveness, his ingenuity have led him into deep trouble. We can only hope that these same traits will enable him to claw his way out.
Question: I have a master and a development branch, both pushed to remote git repository. How to clone all remote branches with Git
Answer:clone the remote git repository: git clone git://example.edu/project_name
list all hiden local branches:
git branch -a
$ git branch -a * master remotes/origin/HEAD -> origin/master remotes/origin/master remotes/origin/another-branch
create a local tracking branch:
git checkout -b another-branch remotes/origin/another-branch
list local branches:
git branch, and you will see the local branches