Skip to content

Instantly share code, notes, and snippets.

View jrgleason's full-sized avatar

Jackie Gleason jrgleason

View GitHub Profile
2024-03-24 13:48:33 17:48:33.358 [main] INFO com.cbusha.be.BackendApplication -- Cassandra is up - executing command
2024-03-24 13:48:34
2024-03-24 13:48:34 . ____ _ __ _ _
2024-03-24 13:48:34 /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
2024-03-24 13:48:34 ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
2024-03-24 13:48:34 \\/ ___)| |_)| | | | | || (_| | ) ) ) )
2024-03-24 13:48:34 ' |____| .__|_| |_|_| |_\__, | / / / /
2024-03-24 13:48:34 =========|_|==============|___/=/_/_/_/
2024-03-24 13:48:34 :: Spring Boot :: (v3.2.1)
2024-03-24 13:48:34
Section "Monitor"
Identifier "Monitor0"
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Monitor1"
Option "DPMS"
EndSection
2024-05-22 11:57:07 2024-05-22 11:57:07.875 ERROR (MainThread) [aiohttp.server] Error handling request
2024-05-22 11:57:07 Traceback (most recent call last):
2024-05-22 11:57:07 File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 452, in _handle_request
2024-05-22 11:57:07 resp = await request_handler(request)
2024-05-22 11:57:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-05-22 11:57:07 File "/usr/local/lib/python3.12/site-packages/aiohttp/web_app.py", line 543, in _handle
2024-05-22 11:57:07 resp = await handler(request)
2024-05-22 11:57:07 ^^^^^^^^^^^^^^^^^^^^^^
2024-05-22 11:57:07 File "/usr/local/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 114, in impl
2024-05-22 11:57:07 return await handler(request)
2024-05-22 09:05:55 2024-05-22 09:05:55.263 WARNING (MainThread) [blinkpy.camera] Could not find thumbnail for camera G8T1-GH02-2215-4U5N.
2024-05-22 09:12:13 2024-05-22 09:12:13.757 ERROR (MainThread) [blinkpy.sync_module] Could not extract manifest ID from response: {'message': 'Manifest stale, please rerequest', 'code': 2102}
2024-05-22 09:12:14 2024-05-22 09:12:14.346 WARNING (MainThread) [blinkpy.camera] Could not find thumbnail for camera G8T1-GH02-2215-4U5N.
2024-05-22 09:17:16 2024-05-22 09:17:16.892 ERROR (MainThread) [blinkpy.auth] Connection error. Endpoint https://rest-u053.immedia-semi.com/network/389200/command/796507931 possibly down or throttled. Error: Server disconnected
2024-05-22 09:17:16 2024-05-22 09:17:16.892 ERROR (MainThread) [homeassistant.components.blink.coordinator] Unexpected error fetching blink data
2024-05-22 09:17:16 Traceback (most recent call last):
2024-05-22 09:17:16 File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 315, in _async_refresh
2
@jrgleason
jrgleason / client.py
Created September 4, 2024 16:38
Simple Wyoming Client
import socket
# Function to send request to the Wyoming server
def send_request_to_server(device_id, record_seconds):
server_host = 'localhost'
server_port = 9000
# Establish connection to the server
client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
client_socket.connect((server_host, server_port))
jgleason@BigBoy ~/code/eidolon/eidolon-chatbot - (main) $ k describe pod eidolon-eidolon-operator-chart-86d4cf54b4-pcnvk
Name: eidolon-eidolon-operator-chart-86d4cf54b4-pcnvk
Namespace: default
Priority: 0
Service Account: eidolon-eidolon-operator-chart
Node: yoda/10.0.0.58
Start Time: Sun, 25 Aug 2024 19:13:19 -0400
Labels: app.kubernetes.io/instance=eidolon
app.kubernetes.io/name=eidolon-operator-chart
pod-template-hash=86d4cf54b4
<Auth0Provider
// @ts-ignore
domain={domain}
// @ts-ignore
clientId={clientId}
useRefreshTokens={true}
cacheLocation={"localstorage"}
// TODO: Avoid hardcoding these values
advancedOptions={{defaultScope: 'email'}}
Given the following transaction details, check if the values are correct especially the category and business name. If you can't add value to the record than just return and empty message.
Please do not include any other than the JSON string. I should be able to parse the response as json.
The transaction is: TransactionRecord(id=null, date=2024-01-01, originalDate=2024-01-01, accountType=Cash, accountName=PayPal, accountNumber=null, institutionName=PayPal, name=Payment to Microsoft Corporation, customName=null, amount=8.59, description=Payment to Microsoft Corporation, category=Internal Transfers, note=null, ignoredFrom=null, taxDeductible=false)
The response should be a json string in the format: Your response should be in JSON format.
Do not include any explanations, only provide a RFC8259 compliant JSON response following this format without deviation.
Do not include markdown code blocks in your response.
Remove the ```json markdown from the output.
Here is the JSON Schema instance your ou