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
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
#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; |
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
{ | |
"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/**" |
- 日時
2018-04-29
- 作
@voluntas
- バージョン
18.4.0
- url
クライアント側の WebRTC には明るくないため、
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
# 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 |
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
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 |
- 更新
2023-10-04
- 作者
@voluntas
- バージョン
2023.2
- URL
See https://github.com/romainl/idiomatic-vimrc for an up-to-date version.
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
# 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] |
NewerOlder