Skip to content

Instantly share code, notes, and snippets.

View duk3luk3's full-sized avatar

Lukas Erlacher duk3luk3

View GitHub Profile
WARNING: Duplicate definition of console command ""
WARNING: Duplicate definition of console command ""
WARNING: Duplicate definition of console command ""
WARNING: Duplicate definition of console command ""
WARNING: Duplicate definition of console command ""
WARNING: Duplicate definition of console command ""
WARNING: Duplicate definition of console command ""
INFO: checking C:\Users\Luke\Documents\My Games\Gas Powered Games\Supreme Commander Forged Alliance\mods
INFO: checking C:\Users\Luke\Documents\My Games\Gas Powered Games\Supreme Commander Forged Alliance\maps
INFO: checking C:\ProgramData\FAForever\bin\..\user\My Games\Gas Powered Games\Supreme Commander Forged Alliance\mods
WARNING: NUM PROPS = 2080
WARNING: Alt-B is already bind
WARNING: Alt-D is already bind
WARNING: Shift-G is already bind
WARNING: Shift-R is already bind
WARNING: Alt-V is already bind
WARNING: Shift-E is already bind
WARNING: Alt-T is already bind
WARNING: Alt-N is already bind
WARNING: Alt-W is already bind
[luke] ~/git/onion-py(master)$ PYTHONPATH=. python bin/onion.py family-members DB3B1CFBD3E4D97B84B548ADD5B9A31451EEC4CC
Found relay: edwardsnowden3
Family: ['$15EDBA6CEA72079E1FD53842655543BAC4E1B6EE', '$183AE7AEAD2A2FA0E8690DF0AD7C5532A70A8015', '$2E640CDA9CBF297BE314948A3681868C3A3B9BA1', '$31347866CDD8BB3EAA79642F49891E2C3F64D386', '$3844D45E0F7CC7FC405EAB949D6B40064565D4B7', '$384F445014E041F5FB566F18C086370D7562E8B9', '$3B486DEC5A22694C0960B4A97A3665C617C89B1C', '$4024B658462568C7E21A486006BEC60B244E86D8', '$4E021F36F95EDD4F93F824020E3C5BFEA7B595CC', '$5723495C31E02098F370F0797F74EDF82A74AC38', '$64D500C4D7F989ECD74B42ABB068818EF95525F3', '$7CEB6540F80F7AEF17AB7FFB66D14212F7EB5654', '$82AF458ADD83717D1B2E3DE258D277BD8BB7800B', '$8E52195B040ADD42B9E02693CF03DAFEAD1B2C04', '$9EA317EECA56BDF30CAEB208A253FB456EDAB1A0', '$AB217D85D0AC461E98E1270F5AE404E5FD8238C8', '$B4494CEA9DF0D72A6D3A124E2FFC706437A89EB0', '$C1B48F2210CBF1472B50A94A06C5B136644F7466', '$C37C070A2895414DBCEB26A911A87166420D9D51', '$E6576A2BCF

CAN Board V2 spec

NXP-Board:

  • CAN: CANH, CANL, 5V, GND
  • Bremse: PIO2_10, (Plus Versorgung für Sensor: GND, +Vsupply (?V))
  • SPI: MOSI0 (PIO0_8), MISO0 (PIO0_9), SCLK0 (PIO0_6), CS0 (PIO0_2), GND
  • BTN/HORN: 2x IO (PIO2_7, PIO2_8), GND
  • BTN/HORN IOs auch für Stromverteiler - testen ob Pins Optokoppler driven können
pi@raspberrypi ~ $ ls /etc/init.d
alsa-utils cron kbd mountall-bootclean.sh nfs-common README skeleton umountroot
bootlogs dbus keyboard-setup mountall.sh ntp reboot ssh urandom
bootmisc.sh dphys-swapfile killprocs mountdevsubfs.sh plymouth rmnologin sudo x11-common
canforward fake-hwclock kmod mountkernfs.sh plymouth-log rpcbind triggerhappy
checkfs.sh halt lightdm mountnfs-bootclean.sh procps rsync udev
checkroot-bootclean.sh hostname.sh mjpg_streamer mountnfs.sh rc rsyslog udev-mtab
checkroot.sh hwclock.sh motd mtab.sh rc.local sendsigs umountfs
console-setup ifplugd motion networking rcS single umountnfs.sh
static void ReturnMSG(CAN_MSG_OBJ* orig) {
CAN_MSG_OBJ msg;
msg.mode_id = (orig->mode_id & ~CAN_MSG_ID_MASK) | CAN_NODE_ID;
msg.dlc = orig->dlc;
memcpy(msg.data, orig->data, 8);
q_put(&msg, &sendQ);
}

....

#test

test

Feature: Groups
Scenario: I should see group "Owned" dashboard list
✔ Given I sign in as "John Doe" # features/steps/shared/authentication.rb:15
✔ And "John Doe" is owner of group "Owned" # features/steps/shared/group.rb:4
✔ And "John Doe" is guest of group "Guest" # features/steps/shared/group.rb:8
✔ When I visit group "Owned" page # features/steps/shared/paths.rb:20
✔ Then I should see group "Owned" projects list # features/steps/group/group.rb:8
✘ And I should see projects activity feed # features/steps/group/group.rb:14
====== Relationship Negotation Protocol - Working draft ========
----- RNP 1.1 Relationship Request -----------------------------
I consider you
[ ] pretty cool
[ ] sexually attractive
[ ] intellectually challenging
[ ] intellectually challenged
[ ] a possible long-term relationship partner
@duk3luk3
duk3luk3 / ELi15-Kommunikation.md
Last active August 29, 2015 14:10
ELi15 Kommunikation

ELi15 Kommunikationssysteme

  • CAN: Motorcontroller <-> Stromcontroller <-> Displaycontroller
  • Bluetooth-UART: Display-Controller -> Handy

CAN

Byte-Order in CAN-Datenfeldern ist little-endian.

Displaycontroller