Skip to content

Instantly share code, notes, and snippets.

View kelvinabrokwa's full-sized avatar

Kelvin Abrokwa-Johnson kelvinabrokwa

View GitHub Profile

Let me check what logs are available on the server.

Let me pull comprehensive data in parallel.

Let me also see the earlier UI activity and any pre-16:00 API activity by this user.

Let me also check the solver errors around the Create Schedule runs.

I have enough now. Let me put together the final table. Quick sanity check on the start-of-day baseline first.

@kelvinabrokwa
kelvinabrokwa / fetch_sheets.py
Created September 29, 2025 05:38
Fetch Google Sheets
import logging
import re
from typing import Dict, Optional
import gspread
import polars as pl
from google.oauth2.service_account import Credentials
logger = logging.getLogger(__name__)
stages:
- duration: 1.9788742065429688e-05
end: 1553803633.735767
name: build android
start: 1553803633.735747
sub_stages:
- duration: 3.814697265625e-06
end: 1553803633.735756
name: build
start: 1553803633.735752
@kelvinabrokwa
kelvinabrokwa / l2cap-server.c
Created January 28, 2017 23:07
Bluetooth Server
#include <stdio.h>
#include <string.h>
#include <sys/socket.h>
#include <bluetooth/bluetooth.h>
#include <bluetooth/l2cap.h>
#include <bluetooth/sdp.h>
#include <bluetooth/sdp_lib.h>
sdp_session_t *register_service();