For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
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
# Example of .jrubyrc | |
# Set compilation mode. JIT = at runtime; FORCE = before execution. (JIT, FORCE, OFF, OFFIR) | |
# compile.mode = FORCE | |
# Dump to console all bytecode generated at runtime. | |
# compile.dump = true | |
# Enable verbose JIT logging (reports failed compilation) | |
# jit.logging.verbose = true |