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
| #!/usr/bin/env python3 | |
| """Bug 4 — Test: Does setting SOURCE_RJ45_PORT bit fix OutletCommand writes? | |
| This script bypasses the NUT driver and sends a raw Modbus write to register | |
| 1538 (OutletCommand_BF) with the SOURCE_RJ45_PORT bit (bit 14) set. | |
| Command: load.on targeting MOG (Main Outlet Group) | |
| - Without source bit: 0x0102 = CMD_OUTPUT_ON | TARGET_MOG | |
| - With source bit: 0x4102 = CMD_OUTPUT_ON | TARGET_MOG | SOURCE_RJ45_PORT |
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
| { | |
| "mcpServers": { | |
| "github": { | |
| "command": "docker", | |
| "args": [ | |
| "run", | |
| "-i", | |
| "--rm", | |
| "-e", | |
| "GITHUB_PERSONAL_ACCESS_TOKEN", |
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
| #!/usr/bin/env python | |
| """Fetch unresolved review comments from a GitHub PR. | |
| Based on: https://stackoverflow.com/a/66072198/844449 | |
| Usage: | |
| python scripts/gh-comments.py [PR_NUMBER] | |
| python scripts/gh-comments.py 17 | |
| """ |
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
| --- a | |
| +++ b | |
| +--- | |
| apiVersion: autoscaling/v2 | |
| kind: HorizontalPodAutoscaler | |
| metadata: | |
| name: php-apache | |
| spec: | |
| scaleTargetRef: | |
| apiVersion: apps/v1 |
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
| --- a | |
| +++ b | |
| -apiVersion: autoscaling/v2 | |
| +apiVersion: autoscaling/v3 | |
| kind: HorizontalPodAutoscaler | |
| metadata: | |
| name: php-apache | |
| spec: | |
| scaleTargetRef: | |
| apiVersion: apps/v1 |
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
| Feb 19 14:29:32.470 [deviate:sync] WARNING: Using downstream remote URL as downstream remote: git@github.com:wavesoftware/midstream-kn-plugin-event.git | |
| Feb 19 14:29:32.471 [deviate:sync] Check if there's an upstream release we need to mirror downstream | |
| Feb 19 14:29:33.835 [deviate:sync] No missing releases found | |
| Feb 19 14:29:33.969 [deviate:sync] Re-syncing releases: ["1.12" "1.13" "1.14" "1.15" "1.16" "1.17"] | |
| Feb 19 14:29:33.969 [deviate:sync] Re-syncing release: 1.12 | |
| Feb 19 14:29:35.367 [deviate:sync] - no changes detected | |
| Feb 19 14:29:37.663 [deviate:sync] Re-syncing release: 1.13 | |
| Feb 19 14:29:38.951 [deviate:sync] - no changes detected | |
| Feb 19 14:29:41.131 [deviate:sync] Re-syncing release: 1.14 | |
| Feb 19 14:29:42.412 [deviate:sync] - no changes detected |
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
| Dec 17 12:01:44 baldur kernel: w83795 5-002f: Failed to set bank to 2, err -5 | |
| Dec 17 12:01:44 baldur kernel: w83795 5-002f: Failed to set bank to 2, err -5 | |
| Dec 17 12:01:44 baldur kernel: w83795 5-002f: Failed to read from register 0x040, err -5 | |
| Dec 17 12:01:44 baldur kernel: w83795 5-002f: Failed to read from register 0x046, err -5 | |
| Dec 17 12:01:44 baldur kernel: w83795 5-002f: Failed to write to register 0x040, err -5 | |
| Dec 17 12:01:44 baldur kernel: w83795 5-002f: Failed to read from register 0x041, err -5 | |
| Dec 17 12:01:44 baldur kernel: w83795 5-002f: Failed to read from register 0x042, err -5 | |
| Dec 17 12:01:44 baldur kernel: w83795 5-002f: Failed to read from register 0x043, err -5 | |
| Dec 17 12:01:44 baldur kernel: w83795 5-002f: Failed to read from register 0x044, err -5 | |
| Dec 17 12:01:44 baldur kernel: w83795 5-002f: Failed to read from register 0x045, err -5 |
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
| [ | |
| { | |
| "level": "debug", | |
| "ts": "2024-10-23T12:02:58.779+0200", | |
| "msg": "Sending the event", | |
| "event": "{\"specversion\":\"1.0\",\"id\":\"74b1d396-cc19-47ab-a3c1-b9624f20d22e\",\"source\":\"kn-event/0.0.0\",\"type\":\"dev.knative.cli.plugin.event.generic\",\"datacontenttype\":\"application/json\",\"time\":\"2024-10-23T10:02:58.778740937Z\",\"data\":{\"a\":{\"b\":{\"c\":\"foo\"}}}}" | |
| }, | |
| { | |
| "level": "debug", | |
| "ts": "2024-10-23T12:02:58.887+0200", |
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
| [ | |
| { | |
| "level": "debug", | |
| "ts": "2024-10-23T11:57:38.015+0200", | |
| "msg": "Sending the event", | |
| "event": "{\"specversion\":\"1.0\",\"id\":\"14844012-a227-4e9e-86e9-ff7e13003e05\",\"source\":\"kn-event/0.0.0\",\"type\":\"dev.knative.cli.plugin.event.generic\",\"datacontenttype\":\"application/json\",\"time\":\"2024-10-23T09:57:38.014541542Z\",\"data\":{\"a\":{\"b\":{\"c\":\"foo\"}}}}" | |
| }, | |
| { | |
| "level": "debug", | |
| "ts": "2024-10-23T11:57:38.123+0200", |
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
| {"level":"debug","ts":"2024-10-22T20:22:20.521+0200","msg":"Sending the event","event":"{\"specversion\":\"1.0\",\"id\":\"d6208ab0-a48a-48c0-834f-b3680cfde89f\",\"source\":\"kn-event/0.0.0\",\"type\":\"dev.knative.cli.plugin.event.generic\",\"datacontenttype\":\"application/json\",\"time\":\"2024-10-22T18:22:20.520820012Z\",\"data\":{\"a\":{\"b\":{\"c\":\"foo\"}}}}"} | |
| {"level":"debug","ts":"2024-10-22T20:22:20.631+0200","msg":"Job to be executed","image":"/kn-event-sender:0.0.0","job":"{\"metadata\":{\"name\":\"kn-event-sender-w29l5z\",\"namespace\":\"demo\",\"creationTimestamp\":null,\"labels\":{\"event-id\":\"d6208ab0-a48a-48c0-834f-b3680cfde89f\"}},\"spec\":{\"backoffLimit\":3,\"template\":{\"metadata\":{\"creationTimestamp\":null},\"spec\":{\"containers\":[{\"name\":\"kn-event-sender\",\"image\":\"/kn-event-sender:0.0.0\",\"env\":[{\"name\":\"K_SINK\",\"value\":\"http://showcase.demo.svc.cluster.local\"},{\"name\":\"K_EVENT\",\"value\":\"eJwsjE1ugzAQhe_y1tgZJjRyfY6uujP2ELmhYwscpCri7hUom2_xfr4X1ipxk2XNReHRW |