Please see: https://github.com/kevinSuttle/html-meta-tags, thanks for the idea @dandv!
Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/
| /* | |
| * object.watch polyfill | |
| * | |
| * 2012-04-03 | |
| * | |
| * By Eli Grey, http://eligrey.com | |
| * Public Domain. | |
| * NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. | |
| */ |
| (* | |
| * Restart App - v1.0 - 5/19/2010 | |
| * http://benalman.com/ | |
| * | |
| * Copyright (c) 2010 "Cowboy" Ben Alman | |
| * Dual licensed under the MIT and GPL licenses. | |
| * http://benalman.com/about/license/ | |
| *) | |
| -- Usage: |
| #!/usr/bin/env node #// -*- Mode: Node.js JavaScript; tab-width: 4; -*- | |
| /* | |
| --- | |
| url: http://gist.github.com/441101 | |
| name : safari-get-html | |
| description : safari-get-html will rock your socks! | |
| authors : Thomas Aylott | |
| copyright : © 2010 Thomas Aylott | |
| license : MIT |
| echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
| . ~/.bashrc | |
| mkdir ~/local | |
| mkdir ~/node-latest-install | |
| cd ~/node-latest-install | |
| curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
| ./configure --prefix=~/local | |
| make install # ok, fine, this step probably takes more than 30 seconds... | |
| curl https://www.npmjs.org/install.sh | sh |
| /** | |
| * Read the value of a header in the current document. | |
| * | |
| * This uses a [single] XMLHTTPRequest to do a HEAD of the current document | |
| * and fetch HTTP response header values. Note that the implementation is | |
| * rather stupid in that it spins waiting for the XMLHTTPRequest to complete | |
| * if it hasn't been called yet. | |
| * | |
| * @param name string |
| config.json | |
| reading-image.png |
| const PHANTOM_FUNCTION_PREFIX = '/* PHANTOM_FUNCTION */'; | |
| var page = require('webpage').create(); | |
| page.onConsoleMessage = function(msg) { | |
| if (msg.indexOf(PHANTOM_FUNCTION_PREFIX) === 0) { | |
| eval('(' + msg + ')()'); | |
| } else { | |
| console.log(msg); | |
| } |
| var express = require('express'); | |
| var cp = require('child_process'); | |
| var app = express.createServer(); | |
| var chrome_count = 0; | |
| app.get('/', function(req, res){ | |
| startChrome(chrome_count++,9222,function chromeStared(err,id,chrome){ | |
| res.send('Chrome '+id+' Started\r\n'); |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>AbandonProcessGroup</key> | |
| <true/> | |
| <key>Label</key> | |
| <string>com.tjluoma.on_networkchange</string> | |
| <key>ProgramArguments</key> | |
| <array> |