Skip to content

Instantly share code, notes, and snippets.

View kkiyama117's full-sized avatar
🎒
reseach at University

kkiyama117 kkiyama117

🎒
reseach at University
View GitHub Profile
@kkiyama117
kkiyama117 / MyKotlinxSerializer.kt
Last active March 6, 2020 06:07
Use Kotlinx Serialization = 0.20.0 and Kotlin = 1.3.70 with Ktor Client. Before Using this, see comments below and read caution and usage.
package jp.hinatan.kyodaimap.di.internal
import io.ktor.client.call.TypeInfo
import io.ktor.client.features.json.JsonSerializer
import io.ktor.http.ContentType
import io.ktor.http.content.OutgoingContent
import io.ktor.http.content.TextContent
import io.ktor.utils.io.core.Input
import io.ktor.utils.io.core.readText
import kotlinx.serialization.ImplicitReflectionSerializer
@kkiyama117
kkiyama117 / pip_freeze
Created June 8, 2019 03:37
2019/06/08
bleach==3.1.0
certifi==2019.3.9
chardet==3.0.4
docutils==0.14
greenlet==0.4.15
idna==2.8
msgpack==0.6.1
neovim==0.3.1
pkginfo==1.5.0.1
Pygments==2.4.2
@kkiyama117
kkiyama117 / .zshrc
Created May 1, 2019 11:21
.zshenv は公開しないよ.
# Set up the prompt
: "normal settings" && {
# zsh起動時にtmux起動
if [[ ! -n $TMUX ]]; then
# get the IDs
ID="`tmux list-sessions`"
if [[ -z "$ID" ]]; then
tmux new-session \; source-file ~/.config/tmux/new-session
fi
create_new_session="Create New Session"
@kkiyama117
kkiyama117 / .tmux.conf
Created May 1, 2019 11:14
for tmux 2.9
###########################################################
# tmux config
###########################################################
#############################
# 動作
#############################
# 表示をUTF-8に変更
# set-window-option -g utf8 on
@kkiyama117
kkiyama117 / file0.txt
Last active April 30, 2019 13:19
Arch系LinuxにRuby2.3系以前をrbenvでインストールする ref: https://qiita.com/maskuarade/items/bd28a5a855d39b5c83ce
yaourt rbenv
yaourt ruby-build
@kkiyama117
kkiyama117 / file0.txt
Last active May 6, 2018 12:04
manjaro-cinnamonに(今更)乗り換えた時の覚え書き2 〜基本設定 ref: https://qiita.com/maskuarade/items/1807a1d47b971ba7c433
sudo pacman -S zsh neovim
chsh -s zsh
sudo chsh -s zsh