- no upfront installation/agents on remote/slave machines - ssh should be enough
- application components should use third-party software, e.g. HDFS, Spark's cluster, deployed separately
- configuration templating
- environment requires/asserts, i.e. we need a JVM in a given version before doing deployment
- deployment process run from Jenkins
- The latest documentation at https://dcos.io/docs/latest.
- Announcing Mesosphere DC/OS 1.9
- DC/OS 1.9.0 Release Candidate 2
- Bringing Production-Proven Data Services to DC/OS 1.9 with our Partners
- DC/OS provides one-click installation of data services such as databases, message queues, and analytics engines, on-par with cloud providers such as Amazon Web Services.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| console.log(1); | |
| (_ => console.log(2))(); | |
| eval('console.log(3);'); | |
| console.log.call(null, 4); | |
| console.log.apply(null, [5]); | |
| new Function('console.log(6)')(); | |
| Reflect.apply(console.log, null, [7]) | |
| Reflect.construct(function(){console.log(8)}, []); | |
| Function.prototype.apply.call(console.log, null, [9]); | |
| Function.prototype.call.call(console.log, null, 10); |
If you're coming to the Property-Based TDD As If You Meant It Workshop, you will need to bring a laptop with your favourite programming environment, a property-based testing library and, depending on the language, a test framework to run the property-based-tests.
Any other languages or suggestions? Comment below.
.NET (C#, F#, VB)
Python:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import unittest | |
| from pyramid import testing | |
| from paste.deploy.loadwsgi import appconfig | |
| from webtest import TestApp | |
| from mock import Mock | |
| from sqlalchemy import engine_from_config | |
| from sqlalchemy.orm import sessionmaker | |
| from app.db import Session |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| py.test test_sample.py --collect-only # collects information test suite | |
| py.test test_sample.py -v # outputs verbose messages | |
| py.test -q test_sample.py # omit filename output | |
| python -m pytest -q test_sample.py # calling pytest through python | |
| py.test --markers # show available markers |
- Install IntelliJ + Scala Plugin
- Don’t do the Coursera courses yet.
- Don’t do the “red book” Functional Programming in Scala yet.
- Do: http://underscore.io/books/
- Essential Scala
- Essential Play
- Essential Slick
- The Neophyte’s Guide to Scala http://danielwestheide.com/scala/neophytes.html
- Write Scala code for a few weeks/months.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| file_to_disk = './tmp/large_disk.vdi' | |
| Vagrant::Config.run do |config| | |
| config.vm.box = 'base' | |
| config.vm.customize ['createhd', '--filename', file_to_disk, '--size', 500 * 1024] | |
| config.vm.customize ['storageattach', :id, '--storagectl', 'SATA Controller', '--port', 1, '--device', 0, '--type', 'hdd', '--medium', file_to_disk] | |
| end |
[Container]
- https://coreos.com/
- http://rancher.com/rancher-os/
- http://www.projectatomic.io/
- https://www.docker.com/
- https://github.com/docker/compose - http://www.fig.sh/
- https://github.com/docker/machine
- https://github.com/docker/swarm/
- https://github.com/jwilder/docker-discover
- https://github.com/progrium/docker-consul