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
// ... | |
listener, err := conn.GetEventsAllProjects() | |
_, err = listener.AddHandler( | |
[]string{ | |
api.EventLifecycleInstanceCreated, | |
api.EventLifecycleInstanceReady, | |
api.EventLifecycleInstanceRestarted, | |
}, func(event api.Event) { | |
ctx.Logger().Debug("handling instance create event", zap.Any("event", event)) |
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
DEBUG RECV: <presence to="[email protected]/i8Q_SREy" type="unavailable" from="[email protected]/echobot" id="7ad540580b6e41eead4f6a76b78a3ed2"><x xmlns="http://jabber.org/protocol/muc#user"><status code="307" /><item role="none" jid="[email protected]/i8Q_SREy" affiliation="member"><actor nick="foobar" /></item><status code="110" /></x></presence> | |
DEBUG MUC presence from [email protected]/echobot : {'lang': '', 'nick': 'echobot', 'role': 'none', 'jid': '[email protected]/i8Q_SREy', 'status_codes': {307, 110}, 'room': '[email protected]', 'affiliation': 'member', 'status': '', 'show': None, 'alt_nick': ''} | |
DEBUG Event triggered: groupchat_presence | |
DEBUG Event triggered: muc::[email protected]::presence | |
DEBUG Event triggered: muc::[email protected]::got_offline | |
DEBUG RECV: <message to="[email protected]" id="77f41bca-c25e-4046-ace8-4552afef3101" from="[email protected]"><x xmlns="http://jabber.org/protocol/muc#user"><invite from="[email protected]/dino.68992a39"><reason /></invite></x><body>fooba |
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
--- | |
version: "3.8" | |
services: | |
nginx: | |
image: "nginx:stable" | |
configs: | |
- source: nginx-conf-v1 | |
target: /etc/nginx/nginx.conf | |
volumes: |
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 contextlib import asynccontextmanager | |
from string import ascii_letters | |
from typing import Dict | |
import attr | |
from trio import ( | |
BrokenResourceError, | |
ClosedResourceError, | |
Lock, | |
MemoryReceiveChannel, |
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 string import ascii_letters | |
from typing import Dict | |
import attr | |
from trio import ClosedResourceError, Lock, open_nursery, run | |
from trio.abc import Stream | |
from trio.testing import memory_stream_pair | |
@attr.s(auto_attribs=True) |
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
--- | |
version: "3.7" | |
services: | |
jekyll: | |
command: > | |
jekyll serve \ | |
--verbose \ | |
--config /srv/jekyll/_config_prod.yml \ | |
--trace |
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
[DEFAULT] | |
debug = True | |
endpoint = http://localhost:8080/api | |
key = {{ alerta_cli_api_key }} | |
output = json | |
sslverify = False | |
timezone = Europe/London | |
[alerta-mailer] | |
amqp_topic = notify |
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
## dat-nodev4...origin/dat-nodev4 | |
D package-lock.json | |
?? datnodev4.2.log | |
* dat-nodev4 | |
master | |
ce8e607 update package-lock.json | |
1adbff3 Update README.md | |
bebb175 update readme | |
6ce200c use node 12 | |
f716675 fix tests |
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
> [email protected] install /home/foo/work/dat/node_modules/fd-lock | |
> node-gyp-build | |
> [email protected] install /home/foo/work/dat/node_modules/sodium-native | |
> node-gyp-build "node preinstall.js" "node postinstall.js" | |
> [email protected] install /home/foo/work/dat/node_modules/discovery-swarm/node_modules/utp-native |
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
> [email protected] install /home/foo/work/dat/node_modules/sodium-native | |
> node-gyp-build "node preinstall.js" "node postinstall.js" | |
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. | |
libtoolize: copying file 'build-aux/ltmain.sh' | |
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. | |
libtoolize: copying file 'm4/libtool.m4' | |
libtoolize: copying file 'm4/ltoptions.m4' | |
libtoolize: copying file 'm4/ltsugar.m4' |
NewerOlder