- Ansible実行環境
- この手順ではRockyLinux 8を使用
- 構築対象のサーバー
- この手順ではRockyLinux 8を使用
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
/// @ 0.12.4 | |
### { | |
name: "pictcollectっぽいファイル名生成" | |
version: "0.0.1" | |
author: "Akkiesoft" | |
description: "pictcollectっぽいファイル名を生成する" | |
} | |
Plugin:register_note_action(`pictcollectっぽいファイル名生成` @(note) { | |
// for debug |
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/app/javascript/mastodon/features/about/index.js b/app/javascript/mastodon/features/about/index.js | |
index e59f73738..d9191114e 100644 | |
--- a/app/javascript/mastodon/features/about/index.js | |
+++ b/app/javascript/mastodon/features/about/index.js | |
@@ -209,7 +209,7 @@ class About extends React.PureComponent { | |
</div> | |
<Helmet> | |
- <title>{intl.formatMessage(messages.title)}</title> | |
+ {!multiColumn && <title>{intl.formatMessage(messages.title)}</title>} |
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
// Data scraping for Switch Science(JP) | |
// SKU | |
document.getElementsByClassName('product-details__block')[6].innerText.split(': ')[1]; | |
// Stock count | |
document.getElementsByClassName('product-details__block')[8].innerText.split(': ')[1]; | |
// Price(JPY) | |
document.getElementsByClassName('money')[0].innerText.substr(1); | |
/* Item list | |
Pi Zero 2W: https://ssci.to/7600 | |
Pi 3A+: https://ssci.to/4110 |
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 board | |
import busio | |
from digitalio import DigitalInOut | |
# for Web Server | |
from adafruit_wsgi.wsgi_app import WSGIApp | |
# for ESP32 SPI | |
from adafruit_esp32spi import adafruit_esp32spi | |
import adafruit_esp32spi.adafruit_esp32spi_wsgiserver as server | |
import adafruit_esp32spi.adafruit_esp32spi_wifimanager as wifimanager | |
# for motor |
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 | |
from html.parser import HTMLParser | |
import urllib.request | |
from mastodon import Mastodon | |
class MyHTMLParser(HTMLParser): | |
def __init__(self): | |
super().__init__() | |
self.found_h5 = False |
- StackyPi or a board with GPIO design compatible with StackyPi
Product | MicroPython | CircuitPython |
---|
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
# Fanbox/Fantia renamer tool | |
# for TinyPicoTrio with TINY2040 | |
import board | |
import digitalio | |
from time import sleep | |
import usb_hid | |
from adafruit_hid.keyboard import Keyboard | |
from adafruit_hid.keyboard_layout_us import KeyboardLayoutUS | |
from adafruit_hid.keycode import Keycode |
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
# Written in CircuitPython | |
# for Raspberry Pi Pico or Pimoroni Tiny2040 | |
import board | |
import digitalio | |
from time import sleep | |
import usb_hid | |
from adafruit_hid.keyboard import Keyboard | |
from adafruit_hid.keycode import Keycode | |
from adafruit_hid.keyboard_layout_us import KeyboardLayoutUS |
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
# Written in CircuitPython | |
# for Raspberry Pi Pico or Pimoroni Tiny2040 | |
import board | |
import digitalio | |
from time import sleep | |
import usb_hid | |
from adafruit_hid.keyboard import Keyboard | |
from adafruit_hid.keycode import Keycode | |
from adafruit_hid.mouse import Mouse |