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
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<script type="text/javascript" src="https://stuk.github.io/jszip/dist/jszip.js"></script> | |
<script type="text/javascript" src="https://stuk.github.io/jszip/vendor/FileSaver.js"></script> | |
<title>アイコンジェネレータ</title> | |
</head> |
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
notice: {MIKUTTER_DIR}/core/serialthread.rb:48:in `force_exit!': all Serial Thread Group jobs canceled. | |
notice: mikutter.rb:91:in `boot!': raise mainloop exception `NameError' | |
notice: mikutter.rb:96:in `error_handling!': catch NameError | |
notice: {MIKUTTER_DIR}/core/configloader.rb:34:in `block in <module:ConfigLoader>': configloader: wrote 2 keys (UserConfig::extract_tabs, UserConfig::ui_tab_order) | |
#<Thread:0x00007fa8c3baf838 /Users/ahiru/ghq/mikutter/mikutter/plugin/mastodon_sse_streaming/connection.rb:39 aborting> terminated with exception (report_on_exception is true): | |
/Users/ahiru/ghq/mikutter/mikutter/plugin/mastodon_sse_streaming/connection.rb:39:in `new': can't alloc thread (ThreadError) | |
from /Users/ahiru/ghq/mikutter/mikutter/plugin/mastodon_sse_streaming/connection.rb:39:in `start' | |
from /Users/ahiru/ghq/mikutter/mikutter/plugin/mastodon_sse_streaming/connection.rb:49:in `ensure in block in start' | |
from /Users/ahiru/ghq/mikutter/mikutter/plugin/mastodon_sse_streaming/connection.r |
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
notice: {MIKUTTER_DIR}/core/boot/delayer.rb:33:in `block in terminate': undefined method `each' for nil:NilClass | |
from {MIKUTTER_DIR}/core/lib/diva_hacks/mixin/photo_mixin.rb:179:in `block in finalize_download_as_fail' | |
from {MIKUTTER_DIR}/core/utils.rb:288:in `block in atomic' | |
from {MIKUTTER_DIR}/core/utils.rb:288:in `synchronize' | |
from {MIKUTTER_DIR}/core/utils.rb:288:in `atomic' | |
from {MIKUTTER_DIR}/core/lib/diva_hacks/mixin/photo_mixin.rb:177:in `finalize_download_as_fail' | |
from {MIKUTTER_DIR}/core/lib/diva_hacks/mixin/photo_mixin.rb:90:in `block (2 levels) in download!' | |
from {MIKUTTER_DIR}/vendor/ruby/3.0.0/gems/delayer-deferred-2.2.0/lib/delayer/deferred/chain/base.rb:18:in `activate' | |
from {MIKUTTER_DIR}/vendor/ruby/3.0.0/gems/delayer-deferred-2.2.0/lib/delayer/deferred/worker.rb:93:in `block (2 levels) in wait_and_activate' | |
from {MIKUTTER_DIR}/vendor/ruby/3.0.0/gems/delayer-deferred-2.2.0/lib/delayer/deferred/worker.rb:87:in `catch' |
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
const browserSync = require('browser-sync').create(); | |
const asciidoctor = require('@asciidoctor/core')(); | |
const asciidoctorReveiljs = require('@asciidoctor/reveal.js'); | |
asciidoctorReveiljs.register(); | |
browserSync.watch('*.adoc', function(event, file) { | |
if (event === 'change') { | |
console.log(`${file} changed. start converting...`); | |
asciidoctor.convertFile('index.adoc', {safe: 'safe', backend: 'revealjs'}); |
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: '3.7' | |
services: | |
minecraft: | |
image: openjdk:11.0.7-jre-slim-buster | |
ports: | |
- 127.0.0.1:25565:25565 | |
restart: always | |
command: java -Xms1G -Xmx4G -jar server.jar nogui | |
tty: true |
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
pi@raspberrypi:/opt/rpi-ums2web$ sudo ./usb_storage.sh | |
+ STORAGE_IMAGE=/opt/rpi-ums2web/usb.img | |
+ STORAGE_SIZE=128 | |
+ modprobe libcomposite | |
+ modprobe usb_f_mass_storage | |
+ mkdir -p /sys/kernel/config/usb_gadget/pistorage | |
+ cd /sys/kernel/config/usb_gadget/pistorage | |
+ echo 0x1d6b | |
+ echo 0x0104 | |
+ echo 0x0100 |
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
import subprocess | |
import sys | |
import os | |
import json | |
import re | |
import urllib.request | |
def find(iterable, pred): | |
return next(filter(pred, iterable), None) |
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
#!/bin/bash | |
set -ue | |
targets=("example.com") | |
targets_metric_name=("ex") | |
now=$(date "+%s") | |
function remaining() { | |
local expiresAt=$(echo | openssl s_client -connect $1:443 2>&1 | openssl x509 -dates -noout|grep notAfter|sed -e 's/notAfter=//g'| xargs -i date -d "{}" "+%s") |
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
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>麦子.moe</title> | |
<style> | |
.container { |
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
----system---- --total-cpu-usage-- -dsk/total- -net/total- ---paging-- ---system-- ------tcp-sockets------- ---file-locks-- | |
time |usr sys idl wai stl| read writ| recv send| in out | int csw |lis act syn tim clo |pos lck rea wri | |
24-01 13:26:51| 0 0 99 0 0| 0 0 |6371B 9625B| 0 0 |1855 2812 | 15 291 2 53 3| 0 8.0 1.0 8.0 | |
24-01 13:26:52| 0 0 100 0 0| 0 0 |8316B 12k| 0 0 |1779 2732 | 15 289 2 53 3| 0 8.0 1.0 8.0 | |
24-01 13:26:53| 0 0 99 0 0| 0 512k|5138B 5496B| 0 0 |1830 3093 | 15 286 2 54 3| 0 8.0 1.0 8.0 | |
24-01 13:26:54| 1 0 99 0 0| 0 0 | 43k 44k| 0 0 |2088 3426 | 15 286 1 52 3| 0 8.0 1.0 8.0 | |
24-01 13:26:55| 0 0 99 0 0| 0 992k| 17k 30k| 0 0 |2045 3509 | 15 289 1 52 3| 0 8.0 1.0 8.0 | |
24-01 13:26:56| 0 0 99 0 0| 0 0 | 24k 25k| 0 0 |2079 3297 | 15 288 1 52 3| 0 8.0 1.0 8.0 | |
24-01 13:26:57| 0 0 99 0 |
NewerOlder