- Discord bot での起動・終了
- Java版・統合版クロスプレイ
- 接続先などのその他詳細は,Discordで
!info
と打つと表示されます。
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 | |
LOGFILES="/var/log/redis/redis-server.log" | |
# LOGFILES="/home/highemerly/dummy-redis-server.log" | |
declare -A last_restart | |
restart_streaming() { | |
ssh highemerly@$1 -o StrictHostKeyChecking=no -i /home/highemerly/.ssh/id_rsa "cd mastodon && docker compose restart streaming" | |
} |
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
# install dev packages | |
$ sudo yum -y install rpm-build perl-devel lcms2-devel openjpeg2-devel bzip2-devel libtiff-devel giflib-devel ghostscript-devel libwmf-devel jasper-devel libtool-ltdl-devel libXext-devel libXt-devel librsvg2-devel OpenEXR-devel libwebp-devel mock | |
$ sudo yum -y group install "Development Tools" | |
$ sudo useradd -s /sbin/nologin mockbuild | |
# get ImageMagick src packet | |
$ rpm -ivh http://vault.centos.org/centos/7/updates/Source/SPackages/ImageMagick-6.9.10.68-6.el7_9.src.rpm | |
$ sed -i '/BuildRequires:\tghostscript-devel/a BuildRequires:\tlibwebp-devel' /root/rpmbuild/SPECS/ImageMagick.spec | |
$ sed -i '/Requires: pkgconfig/a Requires: libwebp' /root/rpmbuild/SPECS/ImageMagick.spec |
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/sh | |
# ACME auto certification with NGINX | |
#############################CONFIG#################################### | |
### General ### | |
DOMAIN="example.com" # Comma-separated list of domains to obtain a certificate for | |
EMAIL="admin@example.com" # email |
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
require 'net/http' | |
require 'json' | |
require 'sanitize' | |
require 'uri' | |
require 'nkf' | |
require 'natto' | |
require 'jumanpp_ruby' | |
MASTODON_SERVER = "handon.club" | |
MASTODON_USER_ID = 1 # highemerly: 1, seibe: 81 |
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
" encording | |
set encoding=utf-8 | |
set fenc=utf-8 | |
" general | |
set history=100 | |
set paste | |
" line number | |
set number |
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
############################################### | |
## .TMUX.CONF | |
## Author: highemerly@handon.club | |
## Usage: put it at ~/.tmux.conf, | |
## comment out for your tmux version | |
## (default setting is for 2.9+), | |
## lanch tmux | |
################################################ | |
########### |
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
### Keybase proof | |
I hereby claim: | |
* I am highemerly on github. | |
* I am highemerly (https://keybase.io/highemerly) on keybase. | |
* I have a public key ASBFyh3E9fjI3AtbFFnSp9Wk6e5ucpxkM-Rjb_dH6NTOpgo | |
To claim this, I am signing this object: |