Skip to content

Instantly share code, notes, and snippets.

View butsugiri's full-sized avatar
💦

Shun Kiyono butsugiri

💦
View GitHub Profile
# prefixキーをC-tに変更する
set -g prefix C-t
# C-bのキーバインドを解除する
unbind C-b
# キーストロークのディレイを減らす
set -sg escape-time 1
# ウィンドウのインデックスを1から始める
https://arxiv.org/abs/2208.03270
https://arxiv.org/abs/2208.03188
https://arxiv.org/abs/2106.03830
https://arxiv.org/abs/2208.04347
https://arxiv.org/abs/2208.05577
https://arxiv.org/abs/2208.06458
{
"global": {
"check_for_updates_on_startup": true,
"show_in_menu_bar": true,
"show_profile_name_in_menu_bar": false
},
"profiles": [
{
"complex_modifications": {
"parameters": {
DCGM_FI_DEV_FB_USED{gpu=~"0|2|1|3",instance="$hostname:9400"} / (DCGM_FI_DEV_FB_USED{gpu=~"0|2|1|3",instance="$hostname:9400"} + DCGM_FI_DEV_FB_FREE{gpu=~"0|2|1|3",instance="$hostname:9400"}) * 100
#### ZSH ITSELF ###
## save zsh history
HISTFILE=~/.zsh_history
HISTSIZE=100000
SAVEHIST=100000
## 補完機能の強化
autoload -U compinit
compinit
## emacsライクなキーバインド
services:
fairseq:
build: .
volumes:
- type: bind
source: "/work00"
target: "/work00"
- type: bind
source: "./fairseq"
target: "/code/fairseq"
rsync --bwlimit=10000 --human-readable --progress --stats -a -v -n --copy-links --include="*/" --include="file_to_include" --exclude="*" server:/source .
rsync --human-readable --bwlimit=10000 --progress --stats -a -v -r -n source server:/target
set nocompatible
filetype off
"---------------------------
"augroup&autocmd Settings.
"---------------------------
augroup MyVimrc
autocmd!
augroup END
zz() {
[ $# -gt 0 ] && z "$*" && return
cd "$(z -l 2>&1 | fzf --height 40% --nth 2.. --reverse --inline-info +s --tac --query "${*##-* }" | sed 's/^[0-9,.]* *//')"
}
zz-accept() {
zz
zle accept-line
}
zle -N zz-accept
@butsugiri
butsugiri / Avenir Next and HIragino Kaku Gothic.xml
Created March 22, 2016 12:37
PowerPoint用のフォントxml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<a:fontScheme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="ヒラギノ角ゴ+Avenir"><a:majorFont><a:latin typeface="Avenir Next"/><a:ea typeface="Hiragino Kaku Gothic ProN W3"/><a:cs typeface=""/></a:majorFont><a:minorFont><a:latin typeface="Avenir Next"/><a:ea typeface="Hiragino Kaku Gothic ProN W3"/><a:cs typeface=""/></a:minorFont></a:fontScheme>