Skip to content

Instantly share code, notes, and snippets.

View danyill's full-sized avatar
🎯
Every day, I strive to make a modest improvement to the world

danyill

🎯
Every day, I strive to make a modest improvement to the world
  • 16:04 (UTC +13:00)
View GitHub Profile
@danyill
danyill / comparison_use_cases.adoc
Last active October 16, 2024 05:20
Initial use cases for comparison plugin
@danyill
danyill / failing_unit_tests.txt
Created July 22, 2024 07:13
Failing Unit Tests
npm run test:unit
> [email protected] test:unit
> tsc && wtr --group unit --coverage
dist/editors/dataset/data-set-editor.spec.js:
❌ browserContext.newPage: Page closed (failed on Firefox)
browserContext.newPage: Page closed
@danyill
danyill / diff.json
Created February 10, 2024 08:55
diff
{
added: [],
removed: [
[
'accessPoints/E/server/lDevices/HVCB/lns/XCBR1/inputs/extRefs/2[]/iedName',
'XAT_242_M2'
],
[
'accessPoints/E/server/lDevices/HVCB/lns/XCBR1/inputs/extRefs/2[]/ldInst',
'DCB'
@danyill
danyill / OpenSCD_Merge_Diff_Plugin_Enhancements.adoc
Created December 7, 2022 03:20
Thoughts on Merge and Diff plugin enhancements

OpenSCD Merge and Diff Plugin

@danyill
danyill / test.diff
Created October 16, 2022 20:09
GE B30 issue
```diff
diff --git a/B30.CID b/B30.IID
index 95d27c4..3d4933b 100644
--- a/B30.CID
+++ b/B30.IID
@@ -16,66 +16,6 @@
<P type="OSI-TSEL">0001</P>
</Address>
@danyill
danyill / recent-changes.js
Last active April 4, 2022 19:57
Recent Changes Antora Extension
"use strict";
const fs = require("fs");
const git = requireGit();
const http = requireHttp();
function requireGit() {
return require(require.resolve("isomorphic-git", {
paths: [
require.resolve("@antora/content-aggregator", { paths: module.paths }) +
@danyill
danyill / open_scd_sld_1.svg
Created November 16, 2021 17:57
Open SCD svg output from browser debug
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@danyill
danyill / test.adoc
Created January 23, 2021 22:42
Excalidraw example
[excalidraw]
....
link:test_excalidraw.json[role=include]
....
@startuml
alice -> bob
@enduml
17:32 $ ./wkhtmltopdf-linux-x64 ~/Downloads/untitled.html test.pdf
Loading pages (1/6)
QSslSocket: cannot resolve CRYPTO_num_locks ] 10%
QSslSocket: cannot resolve CRYPTO_set_id_callback
QSslSocket: cannot resolve CRYPTO_set_locking_callback
QSslSocket: cannot resolve sk_free
QSslSocket: cannot resolve sk_num
QSslSocket: cannot resolve sk_pop_free
QSslSocket: cannot resolve sk_value
QSslSocket: cannot resolve SSL_library_init