Skip to content

Instantly share code, notes, and snippets.

View NAKNAO-nnct's full-sized avatar

nakanoyuki NAKNAO-nnct

View GitHub Profile
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
server {
client_max_body_size 20M;
server_tokens off;
listen 80;
---
# You can use this file to override _any_ variable throughout Kolla.
# Additional options can be found in the
# 'kolla-ansible/ansible/group_vars/all.yml' file. Default value of all the
# commented parameters are shown here, To override the default value uncomment
# the parameter and change its value.
###################
# Ansible options
###################
https://youtu.be/F9W32hnpU00
https://youtu.be/2fHWT_w_geA
https://youtu.be/rbh0xCLNO1A
https://youtu.be/MCxDJnHiLqs
https://youtu.be/AGHT-PpRFE0
https://youtu.be/ASywAfBAVrQ
.vim/colors/hybrid.vim
https://github.com/w0ng/vim-hybrid
#!/bin/bash
export LC_ALL=ja_JP.UTF-8
export LANGUAGE=ja_JP.UTF-8
export LANG=ja_JP.UTF-8
export GTK_IM_MODULE=fcixt
export QT_IM_MODULE=xim
export XMODIFIERS=@im=fcitx
/usr/local/bin/mozc start
fcitx -r -d
@NAKNAO-nnct
NAKNAO-nnct / bot.rb
Last active August 26, 2021 17:49
Discordのボイスチャンネルに誰かが入ったら通知するbot ref: https://qiita.com/trompot/items/5251704272cce302af33
TOKEN = '自分で取得してね'
CLIENT_ID = ID(数字)
# 通知用のチャンネルID
inform_channel = チャンネルID または '#チャンネルname'
# bot
bot = Discordrb::Commands::CommandBot.new token: TOKEN, client_id: CLIENT_ID, prefix:'/'
# 誰かがvoice channelに出入りしたら発火