Skip to content

Instantly share code, notes, and snippets.

View Quaker762's full-sized avatar
😛
Enjoying your stay?

Jesse Quaker762

😛
Enjoying your stay?
  • Palm Studios
  • My Computer
View GitHub Profile
@Quaker762
Quaker762 / yikes.log
Created October 18, 2022 12:52
Build error
FAILED: Kernel/CMakeFiles/Kernel.dir/Bus/USB/USBConfiguration.cpp.o
/usr/bin/ccache /home/quaker/SerenityOS/serenity/Toolchain/Local/x86_64/bin/x86_64-pc-serenity-g++ --sysroot=/home/quaker/SerenityOS/serenity/Build/superbuild-x86_64/../x86_64/Root -DENABLE_COMPILETIME_FORMAT_CHECK -DKERNEL -DSANITIZE_PTRS -I/home/quaker/SerenityOS/serenity/. -I/home/quaker/SerenityOS/serenity/Userland/Libraries -I/home/quaker/SerenityOS/serenity/Userland/Libraries/LibC -I/home/quaker/SerenityOS/serenity/Userland/Libraries/LibCrypt -I/home/quaker/SerenityOS/serenity/Userland/Libraries/LibSystem -I/home/quaker/SerenityOS/serenity/Userland/Services -I/home/quaker/SerenityOS/serenity/Userland -I/home/quaker/SerenityOS/serenity/Build/x86_64 -I/home/quaker/SerenityOS/serenity/Build/x86_64/Userland/Services -I/home/quaker/SerenityOS/serenity/Build/x86_64/Userland/Libraries -I/home/quaker/SerenityOS/serenity/Build/x86_64/Userland -pie -fpic -static-pie -fsanitize=undefined -fdiagnostics-color=always -Wall -Wextra -Werror -Wno-addre
@Quaker762
Quaker762 / fug.txt
Created October 13, 2022 13:02
Compiler errors
FAILED: Kernel/CMakeFiles/Kernel.dir/Thread.cpp.o
/usr/bin/ccache /home/quaker/SerenityOS/serenity-aarch64/serenity/Toolchain/Local/aarch64/bin/aarch64-pc-serenity-g++ --sysroot=/home/quaker/SerenityOS/serenity-aarch64/serenity/Build/superbuild-aarch64/../aarch64/Root -DENABLE_COMPILETIME_FORMAT_CHECK -DKERNEL -DSANITIZE_PTRS -I/home/quaker/SerenityOS/serenity-aarch64/serenity/. -I/home/quaker/SerenityOS/serenity-aarch64/serenity/Userland/Libraries -I/home/quaker/SerenityOS/serenity-aarch64/serenity/Userland/Libraries/LibC -I/home/quaker/SerenityOS/serenity-aarch64/serenity/Userland/Libraries/LibCrypt -I/home/quaker/SerenityOS/serenity-aarch64/serenity/Userland/Libraries/LibSystem -I/home/quaker/SerenityOS/serenity-aarch64/serenity/Userland/Services -I/home/quaker/SerenityOS/serenity-aarch64/serenity/Userland -I/home/quaker/SerenityOS/serenity-aarch64/serenity/Build/aarch64 -I/home/quaker/SerenityOS/serenity-aarch64/serenity/Build/aarch64/Userland/Services -I/home/quaker/SerenityOS/serenity-aarch64/serenity/
@Quaker762
Quaker762 / log.log
Created July 18, 2022 14:13
USB Crash
2.685 ResourceGraph.Applet(33:33): Create applet: 2 with spec 'NetworkGraph,#bbbb00'
3.321 [#0 VFS Sync Task(3:3)]: Ext2FS: Flushed 5 blocks to disk
16.443 [#0 VFS Sync Task(3:3)]: Ext2FS: Flushed 4 blocks to disk
32.431 [#0 UHCI Hot Plug Task(5:5)]: USB Hub: Device attached to port 1!
33.114 [#0 UHCI Hot Plug Task(5:5)]: Unrecoverable page fault, read from address V0x0000000000afbfc4
33.114 [UHCI Hot Plug Task(5:5)]: CRASH: CPU #0 Page Fault in ring 0
33.114 [#0 UHCI Hot Plug Task(5:5)]: Exception code: 0000 (isr: 0000)
33.114 [#0 UHCI Hot Plug Task(5:5)]: pc=0x0008:0x0000002024c45450 rflags=0x0000000000010246
33.114 [#0 UHCI Hot Plug Task(5:5)]: stack=0x000000200cc0f660
33.114 [#0 UHCI Hot Plug Task(5:5)]: rax=0x0000000000000000 rbx=0x0000000000afbfc0 rcx=0x0000002000afaf54 rdx=0x0000002000afafa4
@Quaker762
Quaker762 / wot.txt
Created April 16, 2021 15:31
Division causing build error?
AILED: Userland/Libraries/LibGL/CMakeFiles/LibGL.dir/GLUtils.cpp.o
/home/quaker/SerenityOS/serenity/Toolchain/Local/i686/bin/i686-pc-serenity-g++ -DDEBUG -DENABLE_COMPILETIME_FORMAT_CHECK -DLibGL_EXPORTS -DSANITIZE_PTRS -I../../Userland/Libraries -I../../. -I. -I../../Userland/Libraries/LibC -I../../Userland/Libraries/LibM -I../../Userland/Libraries/LibSystem -I../../Userland/Services -I../../Userland -IUserland/Services -IUserland/Libraries -IUserland -pie -fpic -fPIC -fconcepts -Wno-literal-suffix -Wformat=2 -fdiagnostics-color=always -Werror -Wall -Wextra -Wno-address-of-packed-member -Wcast-align -Wcast-qual -Wno-deprecated-copy -Wduplicated-cond -Wno-expansion-to-defined -Wimplicit-fallthrough -Wlogical-op -Wmisleading-indentation -Wmissing-declarations -Wno-nonnull-compare -Wnon-virtual-dtor -Wno-unknown-warning-option -Wundef -Wunused -Wwrite-strings -ffile-prefix-map=/home/quaker/SerenityOS/serenity=. -fno-exceptions -fstack-protector-strong -g1 -fstack-clash-protection -O2 -std=c++2a -MD -MT User
var plan = db.PricingPlanSearch({}).records[2];
var newObj = {"name": "AdditionalIPv4Price","rows": [{"price": 0,"additionalIPv4": "none"},{"price": 10,"additionalIPv4": "1"},{"price": 20,"additionalIPv4": "2"},{"price": 40,"additionalIPv4": "4"},{"price": 80,"additionalIPv4": "8"},{"price": 160,"additionalIPv4": "16"}],"label": "IP Address","fields": [{"enum": [{"label": "None","value": "none"},{"label": "1","value": "1"},{"label": "2","value": "2"},{"label": "4","value": "4"},{"label": "8","value": "8"},{"label": "16","value": "16"}],"name": "additionalIPv4","label": "Additional IPv4","source": "input"},{"name": "price","label": "Price","source": "calculation"}]};
var data = JSON.parse(gjson.marshal(plan));
data.pricing.push(newObj);
data = JSON.stringify(gjson.marshal(plan));
db.PricingPlanSave(JSON.parse(data));
return plan;
var plan = db.PricingPlanSearch({}).records[2];
var newObj = {"name": "AdditionalIPv4Price","rows": [{"price": 0,"additionalIPv4": "none"},{"price": 10,"additionalIPv4": "1"},{"price": 20,"additionalIPv4": "2"},{"price": 40,"additionalIPv4": "4"},{"price": 80,"additionalIPv4": "8"},{"price": 160,"additionalIPv4": "16"}],"label": "IP Address","fields": [{"enum": [{"label": "None","value": "none"},{"label": "1","value": "1"},{"label": "2","value": "2"},{"label": "4","value": "4"},{"label": "8","value": "8"},{"label": "16","value": "16"}],"name": "additionalIPv4","label": "Additional IPv4","source": "input"},{"name": "price","label": "Price","source": "calculation"}]};
// Something here obviously....
return plan;
@Quaker762
Quaker762 / crash.txt
Created July 24, 2020 08:59
plz halp
[WindowServer(13:13)]: Has not pledged unix
[WindowServer(13:13)]: 0x00000000 Decoder.cpp +0
[WindowServer(13:13)]: 0xc0163cb9 _ZN6Kernel7Process5crashEijb +1013
[WindowServer(13:13)]: 0xc016c56d _ZN6Kernel7Process10sys$socketEiii +215
[WindowServer(13:13)]: 0xc0178015 syscall_handler +1233
[WindowServer(13:13)]: 0xc0177ae5 syscall_asm_entry +49
[WindowServer(13:13)]: 0x080745b0 _ZN4Core11LocalSocketC1EPNS_6ObjectE +44
[WindowServer(13:13)]: 0x080557c7 _ZN3IPC16ServerConnectionI24DiagnosticClientEndpoint24DiagnosticServerEndpointEC1ERS1_RKN2AK10StringViewE +57
[WindowServer(13:13)]: 0x0804ada1 _ZN12WindowServer16ClientConnection16set_unresponsiveEb +221
@Quaker762
Quaker762 / ipConfig.json
Created July 23, 2020 06:01
ipconfiguration
OBJECT
name: ipProtocol
rows:
row 0:
protocol: ipv4
additionalIPv4: none;
row 1:
protocol: ipv4
additionalIPv4: 4;
row 2:
const additionalIPv4Labels: {
[key: string]: boolean,
} = {
none: true,
'4': false,
'8': false,
'16': false,
};
var o = db.OrganizationSearch({}).records.forEach(function(e)
{
console.log(e);
e.allowedProductsForMenuAccess = [];
console.log(e.allowedProductsForMenuAccess)
db.OrganizationSave(e);
});