For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
| # This gist is compatible with Ansible 1.x . | |
| # For Ansible 2.x , please check out: | |
| # - https://gist.github.com/dmsimard/cd706de198c85a8255f6 | |
| # - https://github.com/n0ts/ansible-human_log | |
| # This program is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. | |
| # |
| define(['can', 'localCache'], function(can, localCache) { | |
| 'use strict'; | |
| describe('storeLocal()', function() { | |
| var sandbox; | |
| beforeEach(function() { | |
| // create sandbox environment for mocking about | |
| sandbox = sinon.sandbox.create(); | |
| }); |
| PhantomJS (has the engine webkit) | |
| download from the page http://phantomjs.org/download.html | |
| and then in terminal | |
| $ cd /usr/local/share/ | |
| $ sudo wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2 | |
| $ sudo tar jxvf phantomjs-1.9.8-linux-x86_64.tar.bz2 | |
| $ sudo ln -s /usr/local/share/phantomjs-1.9.8-linux-x86_64/ /usr/local/share/phantomjs | |
| $ sudo ln -s /usr/local/share/phantomjs/bin/phantomjs /usr/local/bin/phantomjs |
Eric Bidelman has documented some of the common workflows possible with headless Chrome over in https://developers.google.com/web/updates/2017/04/headless-chrome.
If you're looking at this in 2016 and beyond, I strongly recommend investigating real headless Chrome: https://chromium.googlesource.com/chromium/src/+/lkgr/headless/README.md
Windows and Mac users might find using Justin Ribeiro's Docker setup useful here while full support for these platforms is being worked out.
Sometimes you want to have a subdirectory on the master branch be the root directory of a repository’s gh-pages branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named dist.
Remove the dist directory from the project’s .gitignore file (it’s ignored by default by Yeoman).
The posts people write in blogs can be classified in two groups:
While first ones can be managed using standart blog engines (livejournal, blogger, etc) via «Edit post» option, that’s hardly