Skip to content

Instantly share code, notes, and snippets.

László Monda mondalaci

Block or report user

Report or block mondalaci

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View uhk-cla.md

Contributor Agreement

Individual Contributor Exclusive License Agreement version 1.0.0

Thank you for your interest in contributing to Ultimate Gadget Laboratories Kft.'s Ultimate Hacking Keyboard ("We" or "Us").

The purpose of this contributor agreement ("Agreement") is to clarify and document the rights granted by contributors to Us.

By signing this Agreement, you agree that the following terms apply to all of your past, present and future contributions to the project.

How to use this Contributor Agreement

@mondalaci
mondalaci / uhk-left-symbols.txt
Created Sep 26, 2017
UHK left firmware symbols sorted by size
View uhk-left-symbols.txt
laci@spark ~/projects/uhk/firmware/left/build/kds/uhk-left-release $ nm --print-size --size-sort uhk-left.elf
200000b6 00000001 b byteIn.4509
200001d8 00000001 b prevEvent.4488
200001cc 00000001 b rxMessagePos.4489
000006e5 00000002 W __aeabi_idiv0
000006e5 00000002 W __aeabi_ldiv0
200001e0 00000002 b crc16data.4497
00000f0d 00000002 T _exit
00000541 00000004 W ADC0_IRQHandler
00000541 00000004 W CMP0_IRQHandler
View node-hid-double-free-or-corruption.txt
write-config-chunk: 08 3c a0 7d e5 0c 90 ac e7 49 c1 de da 2b 85 99 ae 50 40 a2 a4 fe 3c 12 d6 e7 1c 8f f5 41 b8 67 1a 48 ab da 54 23 44 5b 9d fe ab 43 7f 7f b6 a6 08 a4 78 65 4a 2c 86 94 6e 32 7d 15 79 09 99 a1
write-config-chunk: 08 3c dc 7d b3 06 5a 8d 87 9a 35 86 38 b9 d5 a1 11 de b3 8d c3 d4 ba 6e 4d bc cd aa 70 03 9c 5f 46 ba 80 20 b5 fd d7 66 2e b5 e7 ce 99 e7 f5 2e 9f 3b 6e ce 2b b7 4b 15 bb 4d 99 3e 3a 54 3b 7d
write-config-chunk: 08 3c 18 7e cf 50 a6 cc c6 6b 72 33 ab 6c 22 46 37 c8 c7 16 17 30 b6 3b bf fc 1a 85 d4 ed 69 a0 90 d7 da 6c fe e8 67 55 87 40 60 61 6c 04 74 ae 4d d6 22 5c 5c eb 2e b1 c8 c0 7f 53 c2 a8 e7 1e
write-config-chunk: 08 3c 54 7e c5 2a 97 26 99 f6 d0 14 27 8c 94 2c ef a1 1e af c8 ff fe 05 d7 ea e6 59 c0 f2 c5 ee 4f 42 47 18 61 49 b8 7c d9 50 ca 46 eb 70 03 86 45 d0 fa 25 e8 fc 27 19 18 29 f3 f5 61 f6 8d c6
write-config-chunk: 08 3c 90 7e e3 0f 68 45 49 fd f9 13 83 a5 4e 07 28 8f ca 0d 28 e0 6b 9c a7 6e 51 e5 0d 80 40 b4 59 11 26 37 3d 9e 59 2d 74 41 f6 96 03 f3 40 14 86 07 6c
@mondalaci
mondalaci / agent-electron-fails-on-pi.txt
Created Aug 29, 2017
Agent-electron fails on the pi
View agent-electron-fails-on-pi.txt
pi@raspberrypi:~/repos/agent $ npm run electron
> uhk-agent@1.0.0 electron /home/pi/repos/agent
> lerna exec --scope uhk-agent npm start
lerna info version 2.1.0
lerna info scope uhk-agent
> uhk-agent@0.0.0 start /home/pi/repos/agent/packages/uhk-agent
> electron ./dist/electron-main.js
@mondalaci
mondalaci / sass-builds-on-pi.txt
Created Aug 27, 2017
Sass successfully builds on the Pi
View sass-builds-on-pi.txt
pi@raspberrypi:~/repos/agent $ npm install node-sass
> node-sass@4.5.3 install /home/pi/repos/agent/node_modules/node-sass
> node scripts/install.js
Downloading binary from https://github.com/sass/node-sass/releases/download/v4.5.3/linux-arm-57_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v4.5.3/linux-arm-57_binding.node":
HTTP error 404 Not Found
@mondalaci
mondalaci / sass-fail-agent-build-on-pi.txt
Last active Aug 27, 2017
Sass fails to build when trying to build Agent on the Pi
View sass-fail-agent-build-on-pi.txt
pi@raspberrypi:~/repos/agent $ npm run build
> uhk-agent@1.0.0 build /home/pi/repos/agent
> run-s build:web build:electron
> uhk-agent@1.0.0 build:web /home/pi/repos/agent
> lerna exec --scope uhk-web npm run build
lerna info version 2.1.0
@mondalaci
mondalaci / devices-unprivileged.json
Created Jun 28, 2017
hidapi hid device list without privilege escalation on Linux
View devices-unprivileged.json
[
{
"vendorId": 1133,
"productId": 49970,
"path": "0002:006f:00",
"release": 769,
"interface": 0
},
{
"vendorId": 1133,
View devices.json
[
{
"vendorId": 1133,
"productId": 49970,
"path": "0002:000a:00",
"release": 769,
"interface": 0
},
{
"vendorId": 1133,
View uhk-left_Release.ld
/*
* GENERATED FILE - DO NOT EDIT
* (c) Code Red Technologies Ltd, 2008-2013
* (c) NXP Semiconductors 2013-2017
* Generated linker script file for MKL03Z32xxx4
* Created from linkscript.ldt by FMCreateLinkLibraries
* Using Freemarker v2.3.23
* MCUXpresso IDE Debug Build on May 20, 2017 1:03:48 AM
*/
View uhk-left-kds-build-log.txt
18:51:30 **** Incremental Build of configuration v7-release-srec for project uhk-right ****
make -k all
Building file: /home/laci/projects/uhk/firmware/lib/KSDK_2.0_MK22FN512xxx12/middleware/usb_1.0.0/device/usb_device_dci.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -DCPU_MK22FN512VLH12 -DUSB_STACK_BM -DUHK_PCB_MAJOR_VERSION=7 -I../../../src -I../../../src/ksdk_usb -I../../../src/buspal -I../../../src/buspal/bm_usb -I../../../../lib/KSDK_2.0_MK22FN512xxx12/middleware/usb_1.0.0 -I../../../../lib/KSDK_2.0_MK22FN512xxx12/middleware/usb_1.0.0/osa -I../../../../lib/KSDK_2.0_MK22FN512xxx12/middleware/usb_1.0.0/include -I../../../../lib/KSDK_2.0_MK22FN512xxx12/middleware/usb_1.0.0/device -I../../../../lib/KSDK_2.0_MK22FN512xxx12/CMSIS/Include -I../../../../lib/KSDK_2.0_MK22FN512xxx12/devices/MK22F51212/drivers -I../../../../lib/KSDK_2.0_MK22FN512xxx12/devices/MK22F51212 -I
You can’t perform that action at this time.