Skip to content

Instantly share code, notes, and snippets.

View jrgleason's full-sized avatar

Jackie Gleason jrgleason

View GitHub Profile
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
@jrgleason
jrgleason / test.ts
Last active July 14, 2023 04:47
StackOverflowHelp Promises
const axios = require("axios");
class Test {
view1: { id: number, name: string } | undefined;
view2: { id: number, name: string } | undefined;
view3: { id: number, name: string } | undefined;
extra_photos: { id: number, name: string }[] | undefined
async downloadFile(id: number, name: string): Promise<File> {
const response = await axios({
@jrgleason
jrgleason / README.md
Created August 27, 2022 15:48 — forked from mrsasha/README.md
Jacoco setup for calculating kotlin test coverage (single module)

Jacoco setup for calculating kotlin test coverage (single module)

put the jacoco.gradle file below somewhere in your app repo (like scripts folder), and then add apply from: '../scripts/jacoco.gradle' to your module gradle file.

This will add additional gradle build tasks to your app, in the form of "testFlavourUnitTestCoverage" that you can run manually (e.g. testStagingDebugUnitTestCoverage) to generate the coverage.

You can edit def excludes definition to further exclude classes you don't want to generate the coverage for. If you have source in other folders beyond those specified in def coverageSourceDirs, add them.

This will generate both exec file used by external code quality analyzers (like Sonarqube), in the build/jacoco folder, and XML and HTML reports, in the build/reports/jacoco/flavourName folder.

@jrgleason
jrgleason / index.mjs
Last active April 1, 2020 19:46
Rollup issue
console.log("Hello World");
@jrgleason
jrgleason / gist:b2a3fb61469d02ea46fdc2349e0461ef
Last active September 15, 2019 17:02
Simple Vuetify Example
#scripts(hidden)
script(src="//npmcdn.com/axios/dist/axios.min.js")
script(type="module")
| import Vue from '/vue/vue.esm.browser.js'
| const global = window || global;
| global.Vue = Vue;
script(type="module")
| import * as Vuetify from '/vuetify/dist/vuetify.js';
| const global = window || global;
| global.Vue.use(Vuetify);
@jrgleason
jrgleason / Application.mjs.fail
Last active June 9, 2019 21:27
Trying to get Koa-pug working
import http2 from "http2";
import fs from "fs";
import { promisify } from "util";
import Koa from "koa";
import Pug from "koa-pug"
import Router from "koa-router";
import serve from "koa-static";
import mount from "koa-mount";
const PORT = process.env.PORT || "3000";
@jrgleason
jrgleason / Application.java
Created May 4, 2019 16:57
Spring Boot Example
package org.example;
import java.io.File;
import java.util.logging.Logger;
import org.springframework.boot.*;
import org.springframework.boot.autoconfigure.*;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
@SpringBootApplication
@EnableAutoConfiguration