- https://www.youtube.com/watch?v=KdGIvRxP7Uk&t=205
- https://os.mbed.com/users/Digixx/notebook/futaba-s-bus-controlled-by-mbed/
- https://quadmeup.com/generate-s-bus-with-arduino-in-a-simple-way/
- http://www.robotmaker.eu/ROBOTmaker/quadcopter-3d-proximity-sensing/sbus-graphical-representation
- https://github.com/robotmaker/Real-time-graphical-representation-of-16-channel-S-BUS-protocol/blob/master/
- https://github.com/uzh-rpg/rpg_quadrotor_control/wiki/SBUS-Bridge-Overview
- https://os.mbed.com/users/Digixx/code/SBUS-Library_16channel/file/83e415034198/FutabaSBUS/FutabaSBUS.cpp/
- https://github.com/bolderflight/SBUS/blob/master/src/SBUS.cpp#L147
This file contains hidden or 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
tailscale status --self=false | tr -s ' ' '\t' | cut -f1-2 |
This file contains hidden or 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/local/bin/bash | |
# convert should be from ImageMagick 7+ | |
# e.g. $ cat input.jpg | ./opentx-model-image-convert.sh > output.bmp | |
convert - \ | |
-resize 64x32 \ | |
-gravity center \ | |
-extent 64x32 \ | |
-colorspace gray \ |
Tips for using PCD: https://github.com/kvannotten/pcd
... I also wanted [range downloads], but then I first used the seq and parallel programs. It's a very unix-y solution, but it turns out ids being integers is great. You may need to install and play with seq and parallel a bit, but this works for me:
episode downloads (echo must be removed for real downloading):
$ seq 4 10 |parallel echo pcd download mypodcast {}
pcd download mypodcast 4
pcd download mypodcast 5
pcd download mypodcast 6
This file contains hidden or 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
unlet! skip_defaults_vim | |
if (filereadable($VIMRUNTIME .'/defaults.vim')) | |
source $VIMRUNTIME/defaults.vim | |
elseif (filereadable($VIMRUNTIME .'/vimrc_example.vim')) | |
source $VIMRUNTIME/vimrc_example.vim | |
endif | |
set noswapfile nobackup nojoinspaces gdefault ignorecase wildignorecase showcmd | |
set tabstop=4 expandtab softtabstop=2 shiftwidth=2 | |
set undodir=~/.vim/undo clipboard=unnamed |
This file contains hidden or 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
# | |
# dump | |
# version | |
# Betaflight / STM32F7X2 (S7X2) 4.1.0 Aug 9 2019 / 11:41:22 (41a0b5938) MSP API: 1.42 | |
# start the command batch | |
batch start |
This file contains hidden or 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/local/bin/bash | |
pup script[type=application/ld+json]|head -n2 |tail -n1|jq |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>local.kubelproxy.plist</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/bin/kubectl</string> | |
<string>proxy</string> |
This file contains hidden or 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
[Unit] | |
Description="Start chromium datadog on startup" | |
PartOf=graphical.target | |
[Service] | |
# public url https://my.prom | |
ExecStart=/usr/bin/chromium-browser --kiosk --disable-session-crashed-bubble --incognito "https://my.prom" | |
Restart=always | |
RestartSec=3 |
This file contains hidden or 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
#convert is from imagemagick | |
convert "xc:#$1[128x128!]" /Library/Desktop\ Pictures/Solid\ Colors/$1.png | |
#TODO find out how to make icon preview same aspect ratio as apple images |
NewerOlder