mongo with a data volume from another container
docker run \
--rm \
--name mongo \
--volumes-from mongo-data \
-p 27017:27017 mongo
computeSourcePath=true | |
contextsDir=d\:\\platform\\root\\test0001\\conf\\catalina\\localhost | |
eclipse.preferences.version=1 | |
jvmParameters=-XX%3AMaxMetaspaceSize%3D256m;-XX%3AReservedCodeCacheSize%3D320m;-Xms1024m+-Xmx2024m;-Dcom.sun.management.jmxremote.port%3D30001;-Dcom.sun.management.jmxremote.authenticate%3Dfalse;-Dcom.sun.management.jmxremote.ssl%3Dfalse;-Dfile.encoding%3DUTF-8;-javaagent%3AD%3A%5Ccommon%5Cjrebel6%5Cjrebel.jar; | |
managerUrl=http\://localhost\:8080/manager | |
projectsInSourcePath=Integration;Provider;RestUtility;Web; | |
tomcatBase=d\:\\platform\\root\\test0001 | |
tomcatConfigFile=d\:\\common\\tomcat7\\conf\\server.xml | |
tomcatDir=d\:\\common\\tomcat7 | |
tomcatJRE=1428690496570 |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>HTML 5 complete</title> | |
<!--[if IE]> | |
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> | |
<![endif]--> | |
<style> | |
article, aside, details, figcaption, figure, footer, header, |
//: Playground - noun: a place where people can play | |
import UIKit | |
import XCPlayground | |
XCPSetExecutionShouldContinueIndefinitely(true) | |
extension NSMutableURLRequest { | |
/// Percent escape |
casper.then(function() { | |
href = this.evaluate(function() { | |
return document.querySelectorAll('a[href*="manageForms"]')[0].href; | |
}); | |
casper.thenOpen(href, function() { | |
var iFormsLinks = this.evaluate(function() { | |
return Array.prototype.slice.call(document.querySelectorAll('td:last-child a:first-child')).map(function(e) { | |
return e.href; | |
}); |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> | |
<title>Bootstrap 101 Template</title> | |
<!-- Bootstrap --> |
[alias] | |
co = checkout | |
br = branch | |
st = status -uno | |
[user] | |
name = nick | |
email = [email protected] | |
[core] |
Array.from({length:100}).map(function(e, i) { return i+1; });a.map(function(item, index) { return index % 10 === 0 ? a.slice(index, index + 10) : null }).filter(x => x); |
// http://voicesinthedark.com/content.php?iContent=186 | |
copy($$('img[src*="chapter"]').filter(x => x.parentNode.nextSibling.querySelector('span.listen>a')).map(x => `curl -Lo '${x.nextSibling.innerHTML}'.mp3 '${x.parentNode.nextSibling.querySelector('.listen>a:nth-child(1)')}'`).join('\n')) |
server { | |
listen 80; | |
server_name localhost; | |
location /api/facet-suggest { | |
proxy_pass http://facet-suggest:3000/api/facet-suggest; | |
} | |
location /api/location { | |
proxy_pass http://location-search:3000/api/location; |