Skip to content

Instantly share code, notes, and snippets.

View CatoLynx's full-sized avatar

Cato CatoLynx

View GitHub Profile
#define debug 0
#define deadband 50
#define nchannels 4
typedef struct{
int16_t steer;
int16_t speed;
} Serialcommand;
volatile Serialcommand command;
@LeoDJ
LeoDJ / userChrome.css
Last active October 21, 2022 07:19
TreeStyleTabs userChrome.css (hide tab bar and "Tree Style Tab" headline)
/* 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;
@nilsding
nilsding / jsonfs.rb
Created November 17, 2014 18:40
JSONfs - the JSON file system
#!/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