あまり深く理解してないので識者のツッコミ大歓迎
取り敢えず最低限だけ
# 補完を有効にする
# README: | |
# Copy this file to /usr/lib/systemd/system/ | |
# sudo systemctl daemon-reload | |
# systemctl enable ipython-notebook | |
# systemctl start ipython-notebook | |
# The WorkingDirectory and ipython-dir must exist | |
# If you don't want anything fancy, go to http://127.0.0.1:8888 to see your notebook | |
# wheneber you want it | |
[Unit] |
See https://github.com/romainl/idiomatic-vimrc for an up-to-date version.
2024-05-20
@voluntas
2024.1
version: '2' | |
services: | |
volume: | |
image: alpine:latest | |
entrypoint: /bin/true | |
volumes: | |
- ./etc/rundeck:/etc/rundeck | |
- ./var/rundeck:/var/rundeck | |
- ./var/lib/rundeck/.ssh:/var/lib/rundeck/.ssh | |
- ./var/lib/rundeck/logs:/var/lib/rundeck/logs |
# pip3 install tornado pubnub python-dateutil | |
# python3 -u sfd.py | tee sfd.log | |
from multiprocessing import Process, Value, Lock, Event | |
from datetime import datetime | |
import dateutil.parser | |
from pubnub.callbacks import SubscribeCallback | |
from pubnub.enums import PNStatusCategory | |
from pubnub.pnconfiguration import PNConfiguration | |
from pubnub.pubnub_tornado import PubNubTornado | |
from pubnub.pnconfiguration import PNReconnectionPolicy |
2018-04-29
@voluntas
18.4.0
クライアント側の WebRTC には明るくないため、
curl -sSL https://gist.githubusercontent.com/ttimasdf/ef739670ac5d627981c5695adf4c8f98/raw/autossh@host1 | \
sudo tee /etc/default/autossh@example
curl -sSL https://gist.githubusercontent.com/ttimasdf/ef739670ac5d627981c5695adf4c8f98/raw/autossh@.service | \
sudo tee /etc/systemd/system/autossh@.service
sudo useradd -g nogroup -s /bin/false -m tunnel
sudo -u tunnel mkdir -p ~tunnel/.ssh # and copy your private key here
{ | |
"configurations": [ | |
{ | |
"name": "Linux", | |
"includePath": [ | |
"${workspaceFolder}/**", | |
"/usr/src/linux-headers-4.15.0-36/include/**", | |
"/usr/src/linux-headers-4.15.0-36/arch/x86/include/**", | |
"/usr/src/linux-headers-4.15.0-36-generic/include/**", | |
"/usr/src/linux-headers-4.15.0-36-generic/arch/x86/include/**" |
#include <M5Stack.h> | |
#include <math.h> | |
#include "utility/MPU9250.h" | |
MPU9250 IMU; | |
const int col_top = TFT_BLACK, col_bottom = TFT_YELLOW; | |
const float hx = 160, hy = 120; | |
int qx = hx, qy = 0; |