This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define debug 0 | |
#define deadband 50 | |
#define nchannels 4 | |
typedef struct{ | |
int16_t steer; | |
int16_t speed; | |
} Serialcommand; | |
volatile Serialcommand command; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* put file in <AppData>/Mozilla/Firefox/Profiles/<yourProfile>/chrome */ | |
/* to correctly display tab title as window title, set browser.tabs.drawInTitlebar to false in about:config */ | |
/* note: since FF 69 you also need to set toolkit.legacyUserProfileCustomizations.stylesheets to true for it to work*/ | |
#main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar { | |
opacity: 0; | |
pointer-events: none; | |
} | |
#main-window:not([tabsintitlebar="true"]) #TabsToolbar { | |
visibility: collapse !important; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
# JSONfs - the JSON file system | |
# (c) 2014 nilsding | |
# License: GPLv2 | |
# | |
# Requires RFuse, install it via `gem install rfuse` | |
# | |
# Based on the RFuse sample file system: | |
# https://github.com/lwoggardner/rfuse/blob/master/sample/test-ruby.rb | |
# (c) 2014 lwoggardner |