Skip to content

Instantly share code, notes, and snippets.

View CSumm's full-sized avatar

Carl Summers CSumm

  • Montreal, Canada
View GitHub Profile
@CSumm
CSumm / gist:3db33d6dc5e75e8ba809e2164f8728d2
Last active September 2, 2026 19:38
LSP MB Clipper Issue
gdb reaper -ex run -ex bt
db reaper -ex run -ex bt
GNU gdb (Ubuntu 15.1-1ubuntu1~24.04.1) 15.1
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
/*
Gets expand all button, collapsed content and current collapsed and expanded accordions
when expand btn will be clicked, the text change and show class will be added to collapsed content
and collapsed class will be removed from collapsed accordion. This will set all collapsed accordions
newly opened aria-expanded to try and all buttons open to white background
*/
let toggleExpandAccordions = function () {
let expandBtn = $("#expand-all");
let collapsedContent = $(".accordion-collapse:not(.show)");
let collapsedAccordions = $(".accordion-button.collapsed");