Goal: Discere faciendo. (Learn by doing.)
Mad scientists: @sakaru, @josephinekwa, @sebdeckers
Method:
- Running the Dohnut container image from Docker Hub,
- using k3s, a lightweight Kubernetes distribution,
Goal: Discere faciendo. (Learn by doing.)
Mad scientists: @sakaru, @josephinekwa, @sebdeckers
Method:
I hereby claim:
To claim this, I am signing this object:
| var Benchmark = require('benchmark'); | |
| var suite = new Benchmark.Suite; | |
| var arr = [1,2,3,4,5,6,7,8,9,0] | |
| suite.add('for', function() { | |
| for (var i = 0, len = arr.length; i < len; i++) { | |
| var item = arr[i]; | |
| item + 1; | |
| } | |
| }) | |
| .add('for-of', function() { |
| <!DOCTYPE html><html><head><style>body { | |
| font-family: monospace; | |
| } | |
| table th, table td { | |
| text-align: left; | |
| padding: 2px; | |
| } | |
| th.frame, |
| OMG it worked |
| new content |
| new content |
| class Person { | |
| constructor (name, score) { | |
| this.name = name | |
| this.score = score | |
| } | |
| } | |
| const alice_foo = new Person('Alice', 10) | |
| const alice_bar = new Person('Alice', 50) |