This examples demonstrates how to use D3's brush component to implement focus + context zooming. Click and drag in the small chart below to pan or zoom.
This file contains 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
diff --git a/www/base/src/app/common/directives/buildsummary/buildsummary.directive.coffee b/www/base/src/app/common/directives/buildsummary/buildsummary.directive.coffee | |
index c91373c..d26d66a 100644 | |
--- a/www/base/src/app/common/directives/buildsummary/buildsummary.directive.coffee | |
+++ b/www/base/src/app/common/directives/buildsummary/buildsummary.directive.coffee | |
@@ -11,6 +11,8 @@ class Buildsummary extends Directive('common') | |
class _buildsummary extends Controller('common') | |
constructor: ($scope, buildbotService, resultsService, $urlMatcherFactory, $location) -> | |
+ data = new buildbotService() | |
+ |
This file contains 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 os | |
from twisted.application import service | |
from buildbot.master import BuildMaster | |
from buildslave.bot import BuildSlave | |
# setup master | |
basedir = os.path.abspath(os.path.dirname(__file__)) | |
configfile = 'master.cfg' |
I hereby claim:
- I am tardyp on github.
- I am tardyp (https://keybase.io/tardyp) on keybase.
- I have a public key whose fingerprint is 390E B159 056E D56F 66AB 1092 AECD 456B 4D25 31FC
To claim this, I am signing this object:
This file contains 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
diff --git a/simple/docker-compose.yml b/simple/docker-compose.yml | |
index 3eb1bc1..7fd206e 100644 | |
--- a/simple/docker-compose.yml | |
+++ b/simple/docker-compose.yml | |
@@ -25,6 +25,7 @@ services: | |
worker: | |
image: "buildbot/buildbot-worker:master" | |
+ fip: 209.177.90.213 | |
environment: |
This file contains 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
# SPDX-License-Identifier: MIT | |
import asyncio | |
import socket | |
async def pipe(reader, writer): | |
try: | |
while not reader.at_eof(): | |
writer.write(await reader.read(2048)) |
This file contains 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
from datetime import datetime, timedelta | |
from dateutil.tz import tzutc | |
from twisted.internet import defer | |
# this stores bonuses for builders, which takes in account longer build time | |
builder_bonuses = { | |
'bldr1': timedelta(hours=1) |