Skip to content

Instantly share code, notes, and snippets.

View jrgleason's full-sized avatar

Jackie Gleason jrgleason

View GitHub Profile
@jrgleason
jrgleason / Data
Last active December 31, 2025 04:35
Keylines directive
{"nodes":[{"name":"NJA","title":"NJA","id":8},{"desc":"Jet planes that go really fast.","name":"Hawker 800XP","title":"Hawker 800XP","id":29},{"name":"Some Conference","title":"Some Conference","id":4},{"name":"Jackie","title":"Jackie","id":25},{"contents":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus sollicitudin, massa at faucibus porta, nulla ligula condimentum erat, in mattis dolor justo et nunc. Praesent quis ex sit amet est elementum ornare vel sit amet metus. Suspendisse accumsan sapien sed nisi finibus, ac feugiat nulla vehicula. Proin rhoncus in orci vel eleifend. Integer in nisl in sem varius commodo sed eget leo. Phasellus faucibus libero id neque rhoncus, id vestibulum diam bibendum. Proin tincidunt elit non tristique feugiat. Nulla pretium eros in tortor venenatis, in scelerisque est auctor. Integer sed auctor nisi. Suspendisse potenti. Suspendisse potenti. Nunc sed fringilla ligula.\n\nNulla tempor efficitur arcu accumsan mollis. Nulla porttitor ullamcorper nisi, non cursus j
chart.createLink(nodeId, newLinkId, {style: newLinkStyle}, function(linkedId){
if(linkedId){
var fromNode = chart.getItem(nodeId);
var toNode = chart.getItem(linkedId);
if(fromNode && toNode){
//great we have them both so now we are ready to save.
console.log("Linking from "+JSON.stringify(fromNode)+" to "+JSON.stringify(toNode));
}
else{
console.log("One side of the link is missing");
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
<Auth0Provider
// @ts-ignore
domain={domain}
// @ts-ignore
clientId={clientId}
useRefreshTokens={true}
cacheLocation={"localstorage"}
// TODO: Avoid hardcoding these values
advancedOptions={{defaultScope: 'email'}}
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
@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))
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
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)
Section "Monitor"
Identifier "Monitor0"
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Monitor1"
Option "DPMS"
EndSection
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