Skip to content

Instantly share code, notes, and snippets.

View FliegendeWurst's full-sized avatar

Arne Keller FliegendeWurst

View GitHub Profile
@FliegendeWurst
FliegendeWurst / openapi.json
Created April 14, 2025 17:03
for progenitor PR
{
"openapi": "3.0.3",
"info": {
"title": "Trilium Notes - Sync server API",
"version": "0.96.6",
"description": "This is the internal sync server API used by Trilium Notes / TriliumNext Notes.\n\n_If you're looking for the officially supported External Trilium API, see [here](https://triliumnext.github.io/Docs/Wiki/etapi.html)._\n\nThis page does not yet list all routes. For a full list, see the [route controller](https://github.com/TriliumNext/Notes/blob/v0.91.6/src/routes/routes.ts).",
"contact": {
"name": "TriliumNext issue tracker",
"url": "https://github.com/TriliumNext/Notes/issues"
},
--------- beginning of main
12-08 21:02:38.757 7265 7265 E ar.triliumdroid: Not starting debugger since process cannot load the jdwp agent.
12-08 21:02:38.768 7265 7265 D CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10222; state: ENABLED
12-08 21:02:38.782 7265 7265 V GraphicsEnvironment: ANGLE Developer option for 'kellerar.triliumdroid' set to: 'default'
12-08 21:02:38.782 7265 7265 V GraphicsEnvironment: ANGLE GameManagerService for kellerar.triliumdroid: false
12-08 21:02:38.782 7265 7265 V GraphicsEnvironment: Neither updatable production driver nor prerelease driver is supported.
12-08 21:02:38.784 7265 7265 D NetworkSecurityConfig: No Network Security Config specified, using platform default
12-08 21:02:38.784 7265 7265 D NetworkSecurityConfig: No Network Security Config specified, using platform default
12-08 21:02:38.801 7265 7265 D AppCompatDelegate: Checking for metadata for AppLocalesMetadataHolderService : Service not found
12-08 21:02:38.828 7265 7265
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Sourcing pypa-install-hook
Using pypaInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing pypa-build-hook
Using pypaBuildPhase
Sourcing python-runtime-deps-check-hook
Using pythonRuntimeDepsCheckHook
Sourcing pypa-install-hook
Using pypaInstallPhase
Sourcing python-imports-check-hook.sh
ruby-advisory-db:
advisories: 943 advisories
last updated: 2024-10-24 06:19:33 -0700
commit: c105c3f736cac6427f0d59192ba186f760281493
Gemfile: ./pkgs/development/interpreters/asmrepl/Gemfile.lock
No vulnerabilities found
Gemfile: ./pkgs/development/web/mailcatcher/Gemfile.lock
Name: nokogiri
Version: 1.16.0
GHSA: GHSA-r95h-9x8f-r3f7
@FliegendeWurst
FliegendeWurst / dvorak-custom
Last active April 2, 2025 08:01
dvorak-custom
partial alphanumeric_keys modifier_keys
xkb_symbols "dvorak-custom" {
name[Group1]="English (Dvorak, custom)";
key <BKSP> {[ BackSpace, BackSpace ]};
key <LFSH> {[ Shift_L ]};
key <RTSH> {[ Shift_R ]};
key <RTRN> {[ Return ]};
key <LCTL> {[ Control_L ]};
key <RCTL> {[ Control_R ]};
@FliegendeWurst
FliegendeWurst / amdgpu_sync_keep_later.txt
Last active September 5, 2023 06:29
a strange kernel warning (this is fixed in 5.10.194)
[ 401.519960] ------------[ cut here ]------------
[ 401.519993] WARNING: CPU: 0 PID: 1041 at include/linux/dma-fence.h:475 amdgpu_sync_keep_later+0x76/0xc0 [amdgpu]
[ 401.519994] Modules linked in: snd_seq_dummy snd_hrtimer snd_seq af_packet ip6_tables xt_conntrack ip6t_rpfilter ipt_rpfilter xt_pkttype ip6t_REJECT nf_reject_ipv6 ipt_REJECT nf_reject_ipv4 xt_tcpudp nft_compat amdgpu nft_counter cfg80211 rfkill 8021q nf_tables nfnetlink sch_fq_codel snd_hda_codec_realtek uinput snd_hda_codec_generic atkbd libps2 serio ledtrig_audio snd_hda_codec_hdmi snd_hda_intel snd_intel_dspcfg soundwire_intel soundwire_generic_allocation soundwire_cadence snd_hda_codec iommu_v2 gpu_sched snd_hda_core snd_usb_audio ttm soundwire_bus edac_mce_amd wmi_bmof snd_soc_core snd_usbmidi_lib drm_kms_helper snd_compress snd_hwdep edac_core ac97_bus snd_rawmidi snd_pcm_dmaengine snd_seq_device snd_pcm crc32_pclmul ghash_clmulni_intel nls_iso8859_1 aesni_intel r8169 snd_timer libaes crypto_simd i2c_algo_bit nls_cp437 cryptd snd real
\functions {
Seq s1;
int maxx;
}
\problem {
\forall int i; (
(0 <= i & i < seqLen(s1))
-> (0 <= int::seqGet(s1, i) & int::seqGet(s1, i) < maxx))
& \forall int i; (\forall int j; (
@FliegendeWurst
FliegendeWurst / turn_on.py
Created September 24, 2022 19:15
script to run display_all when switch press is registered at GPIO pin
#!/usr/bin/env python3
# based on a script by Alex Eames https://raspi.tv/
# https://raspi.tv/2013/how-to-use-interrupts-with-python-on-the-raspberry-pi-and-rpi-gpio
import os
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
# GPIO 19 set up as input, pull-down to register more than one switch use.
GPIO.setup(19, GPIO.IN, pull_up_down=GPIO.PUD_DOWN)
@FliegendeWurst
FliegendeWurst / blasty-vs-pkexec.c
Created January 26, 2022 17:12
PoC of polkit vulnerability
// based on: https://twitter.com/bl4sty/status/1486092552755466242
/*
* blasty-vs-pkexec.c -- by blasty <peter@haxx.in>
* ------------------------------------------------
* PoC for CVE-2021-4034, shout out to Qualys
*
* ctf quality exploit
*
* bla bla irresponsible disclosure