- 8世代 Core i5
- 32GB RAM
- 1TB SSD
- Ubuntu Server 24.04
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
#!/bin/bash | |
BACKUP_VMS=( | |
ここにVMの名前を書く | |
) | |
DEST=/usb-ssd/kvm-backup | |
# 今の曜日 | |
WOD=$(LANG=C date +%a) | |
# 今週日曜日の日付 |
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
import adafruit_connection_manager | |
import wifi | |
class akkie_wifi(): | |
def __init__(self, ap_list): | |
self.ap_list = ap_list | |
self.connected = False | |
self.pool = None | |
self.ssl_context = None |
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
OpenSSL::SSL::SSLError SSL_read: unexpected eof while reading | |
/Users/akkie/.rbenv/versions/3.3.6/lib/ruby/3.3.0/openssl/buffering.rb:80:in `sysread' | |
/Users/akkie/.rbenv/versions/3.3.6/lib/ruby/3.3.0/openssl/buffering.rb:80:in `fill_rbuff' | |
/Users/akkie/.rbenv/versions/3.3.6/lib/ruby/3.3.0/openssl/buffering.rb:236:in `gets' | |
/Users/akkie/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/httpclient-2.8.3/lib/httpclient/ssl_socket.rb:62:in `gets' | |
/Users/akkie/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:907:in `block in read_body_chunked' | |
/Users/akkie/.rbenv/versions/3.3.6/lib/ruby/3.3.0/timeout.rb:186:in `block in timeout' | |
/Users/akkie/.rbenv/versions/3.3.6/lib/ruby/3.3.0/timeout.rb:193:in `timeout' | |
/Users/akkie/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:906:in `read_body_chunked' | |
/Users/akkie/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:585:in `get_body' |
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
diff --git a/plugin/mastodon_sse_streaming/raw_server_sent_events_stream.rb b/plugin/mastodon_sse_streaming/raw_server_sent_events_stream.rb | |
index 2797779b..a4cf17df 100644 | |
--- a/plugin/mastodon_sse_streaming/raw_server_sent_events_stream.rb | |
+++ b/plugin/mastodon_sse_streaming/raw_server_sent_events_stream.rb | |
@@ -41,6 +41,9 @@ module Plugin::MastodonSseStreaming | |
end | |
end | |
rescue SocketError, | |
+ Errno::ENETDOWN, | |
+ Errno::ECONNREFUSED, |
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
notice: {MIKUTTER_DIR}/plugin/mastodon_sse_streaming/raw_server_sent_events_stream.rb:31:in `block in to_enum': connect https://social.mikutter.hachune.net/api/v1/streaming/user? (#<Plugin::Mastodon::SSEAuthorizedType:0x0000000133684c08>) | |
#<Errno::ENETDOWN: Network is down - Network is down - connect(2) for "social.mikutter.hachune.net" port 443 (social.mikutter.hachune.net:443)>notice: {MIKUTTER_DIR}/plugin/mastodon_sse_streaming/raw_server_sent_events_stream.rb:31:in `block in to_enum': connect https://mstdn.maud.io/api/v1/streaming/user? (#<Plugin::Mastodon::SSEAuthorizedType:0x000000012342c768>) | |
#<Thread:0x00000001334a6260 /Users/akkie/mikutter/plugin/mastodon_sse_streaming/connection.rb:68 run> terminated with exception (report_on_exception is true): | |
/Users/akkie/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:623:in `rescue in create_socket': Network is down - Network is down - connect(2) for "social.mikutter.hachune.net" port 443 (social.mikutter.hachune.net:4 |
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/bin/env python3 | |
# based on: https://github.com/raspberrypi/picamera2/blob/main/examples/mjpeg_server_2.py | |
import io | |
import logging | |
import socketserver | |
import threading | |
from http import server | |
from picamera2 import Picamera2 |
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
[27108.579403] vc_sm_cma_vchi_rx_ack: received response 6503304, throw away... | |
[87122.253892] INFO: task python3:795 blocked for more than 120 seconds. | |
[87122.253920] Tainted: G C 6.6.20+rpt-rpi-v8 #1 Debian 1:6.6.20-1+rpt1 | |
[87122.253931] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. | |
[87122.253937] task:python3 state:D stack:0 pid:795 ppid:1 flags:0x0000000c | |
[87122.253961] Call trace: | |
[87122.253968] __switch_to+0xe8/0x168 | |
[87122.253996] __schedule+0x380/0xd70 | |
[87122.254013] schedule+0x64/0x108 | |
[87122.254030] schedule_preempt_disabled+0x2c/0x50 |
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
[10843.837967] vc_sm_cma_import_dmabuf: imported vc_sm_cma_get_buffer failed -512 | |
[10843.837987] bcm2835_mmal_vchiq: vchiq_mmal_submit_buffer: vc_sm_import_dmabuf_fd failed, ret -512 | |
[10843.837994] bcm2835-codec bcm2835-codec: device_run: Failed submitting ip buffer | |
[10843.858381] ------------[ cut here ]------------ | |
[10843.858397] WARNING: CPU: 3 PID: 772 at drivers/media/common/videobuf2/videobuf2-core.c:2024 __vb2_queue_cancel+0x220/0x2a0 [videobuf2_common] | |
[10843.858450] Modules linked in: bnep vc4 hci_uart btbcm bluetooth v3d snd_soc_hdmi_codec drm_display_helper cec binfmt_misc drm_dma_helper imx219 gpu_sched bcm2835_unicam drm_shmem_helper imx708 v4l2_cci drm_kms_helper bcm2835_codec(C) bcm2835_isp(C) bcm2835_v4l2(C) v4l2_dv_timings regmap_i2c ecdh_generic rpivid_hevc(C) dw9807_vcm ecc v4l2_mem2mem bcm2835_mmal_vchiq(C) v4l2_fwnode raspberrypi_hwmon v4l2_async videobuf2_vmalloc videobuf2_dma_contig videobuf2_memops snd_soc_core videobuf2_v4l2 snd_bcm2835(C) rfkill videodev libaes snd_compress videobuf2 |
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
diff --git a/plugin/mastodon/mastodon.rb b/plugin/mastodon/mastodon.rb | |
index fd05e553..bba8d0ca 100644 | |
--- a/plugin/mastodon/mastodon.rb | |
+++ b/plugin/mastodon/mastodon.rb | |
@@ -110,6 +110,7 @@ Plugin.create(:mastodon) do | |
world.sse.user, | |
world.sse.mention, | |
world.sse.direct, | |
+ world.rest.bookmarks, | |
world.sse.public, |
NewerOlder