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 | |
| """ | |
| IMPORTANT: Run this script from the prime-cli directory with the proper environment: | |
| 1. Navigate to prime-cli directory: | |
| 2. Activate virtual environment (if using one): | |
| source .venv/bin/activate.fish # or source .venv/bin/activate for bash | |
| 3. Install dependencies if needed: | |
| uv pip install ".[dev]" | |
| 4. Run the script: |
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
| SELECT | |
| srcaddr, | |
| dstaddr, | |
| srcsubnet.az_id AS srcaz, | |
| dstsubnet.az_id AS dstaz, | |
| SUM(bytes) AS total_bytes | |
| FROM flowlogs | |
| LEFT JOIN subnets AS srcsubnet | |
| ON srcsubnet.cidr = CAST(NETWORK(CAST((srcaddr || '/21') AS inet)) AS VARCHAR) | |
| LEFT JOIN subnets AS dstsubnet |
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 os | |
| import pandas as pd | |
| for file in os.listdir(): | |
| if not file.endswith(".xlsx"): | |
| continue | |
| try: | |
| f_xls = pd.read_excel(file, engine="openpyxl") | |
| f_xls.to_csv(f"{file.split('.')[0]}.csv", encoding="utf-8", index=False) | |
| except Exception: |
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
| diff --git a/sys/xtimer/xtimer_core.c b/sys/xtimer/xtimer_core.c | |
| index 59d22560c..4465e1373 100644 | |
| --- a/sys/xtimer/xtimer_core.c | |
| +++ b/sys/xtimer/xtimer_core.c | |
| @@ -43,13 +43,11 @@ static volatile int _in_handler = 0; | |
| volatile uint64_t _xtimer_current_time = 0; | |
| static xtimer_t *timer_list_head = NULL; | |
| -static xtimer_t *long_list_head = NULL; | |
| static bool _lltimer_ongoing = false; |
This file has been truncated, but you can view the full file.
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
| <html> | |
| <head><meta charset="utf-8" /></head> | |
| <body> | |
| <div> | |
| <script type="text/javascript">window.PlotlyConfig = {MathJaxConfig: 'local'};</script> | |
| <script type="text/javascript">/** | |
| * plotly.js v1.54.5 | |
| * Copyright 2012-2020, Plotly, Inc. |
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
| 1593732840.895972;m3-12;�main(): This is RIOT! (Version: 2018.10-devel-11412-g2ed76) | |
| 1593732840.896714;m3-12;RIOT (Tiny)DTLS testing implementation | |
| 1593732840.896895;m3-12;All up, running the shell now | |
| 1593732840.897113;m3-11;�main(): This is RIOT! (Version: 2018.10-devel-11412-g2ed76) | |
| 1593732840.897246;m3-11;RIOT (Tiny)DTLS testing implementation | |
| 1593732840.898931;m3-11;All up, running the shell now | |
| m3-11;ifconfig 5 add 2001:db8::1 | |
| 1593732858.522488;m3-11;> ifconfig 5 add 2001:db8::1 | |
| 1593732858.522779;m3-11;success: added 2001:db8::1/64 to interface 5 | |
| m3-12;ifconfig 5 add 2001:db8::2 |
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
| diff --git a/pkg/tinydtls/contrib/sock_dtls.c b/pkg/tinydtls/contrib/sock_dtls.c | |
| index f688cdcf3..4a8d45945 100644 | |
| --- a/pkg/tinydtls/contrib/sock_dtls.c | |
| +++ b/pkg/tinydtls/contrib/sock_dtls.c | |
| @@ -82,6 +82,7 @@ static int _read(struct dtls_context_t *ctx, session_t *session, uint8_t *buf, | |
| DEBUG("sock_dtls: decrypted message arrived\n"); | |
| sock->buf = buf; | |
| sock->buflen = len; | |
| + sock->buf_session = session; | |
| #ifdef SOCK_HAS_ASYNC |
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
| #!/bin/env python3 | |
| import requests | |
| import csv | |
| issues = [] | |
| print(f"count: {len(issues)}") | |
| params = { | |
| "labels": "Area: timers", |
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
| diff --git a/examples/dtls-echo/dtls-client.c b/examples/dtls-echo/dtls-client.c | |
| index baa5d9291..4f38df2ac 100644 | |
| --- a/examples/dtls-echo/dtls-client.c | |
| +++ b/examples/dtls-echo/dtls-client.c | |
| @@ -59,6 +59,9 @@ static int _events_handler(struct dtls_context_t *ctx, | |
| (void) ctx; | |
| (void) session; | |
| (void) level; | |
| + if (code == DTLS_EVENT_CONNECT) { | |
| + puts("EVENT CONNECT"); |
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
| diff --git a/examples/dtls-sock/Makefile b/examples/dtls-sock/Makefile | |
| index 4f22d50df..fb1c55608 100644 | |
| --- a/examples/dtls-sock/Makefile | |
| +++ b/examples/dtls-sock/Makefile | |
| @@ -16,7 +16,10 @@ USEMODULE += gnrc_netdev_default | |
| USEMODULE += auto_init_gnrc_netif | |
| # Specify the mandatory networking modules for IPv6 and UDP | |
| USEMODULE += gnrc_ipv6_default | |
| +USEMODULE += gnrc_sock_async | |
| USEMODULE += gnrc_sock_udp |
NewerOlder