A Cordova plugin that reads and sets media volume in Android devices
Earth Epoch: 1509657017
I had found a Cordova plugin that is really cool for allowing volume control in Android devices. It was not packaged properly so it can be used by cordova command line tools. I repacked it properly and now is available:
_ This log explains how to publish a blog created with the static site generator Hexo to Github Pages. _
Github pages Github pages is a service from Github that allows publishing a website directly from your github repository.
For example, you create a github project as github.com/<username>/<username>.github.io. Then it is published as https://<username>.github.io/.
Github pages support natively the Jekyll static site generator. To make long story short, when you push changes of your Jekyll project to the github repository, Github automatically compiles Jekyll files into HTML pages and present them via https://.github.io.
Well, I found Jekyll not so trivial to install and configure, especially if you are not coming from a Ruby background.
But the problem is that Github pages do not know how to compile a Hexo project to a static HTML site. So if you upload your Hexo project to this special Github repository, Github Pages won’t be able to display the HTML.
Luckily, Github page can display any static HTML site, as long as it is installed in the root of the project repository.
Installing Hexo to Github Pages
So the trick is keep two separate repositories. One repository for your Hexo project, and another one for the static HTML site generated by your Hexo project.
The trick is to use the https://github.com/<username>/<username>.github.io as the placeholder of your Hexo compile results.
Have your two repositories relative close.
For example: .../my-blog/my-hexo-project/ for your Hexo project and .../my-blog/<username>.github.io for the generated HTML pages.
Now all you have to do is to edit your _config.yml file in your hexo-project, so it generates the produce static HTML site into your <username>.github.io project. Edit the public_dir entry accordingly.