Skip to content

Instantly share code, notes, and snippets.

View butsugiri's full-sized avatar
💦

Shun Kiyono butsugiri

💦
View GitHub Profile
{
"cells": [
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
"%matplotlib inline\n",
"import pandas as pd\n",
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
set nocompatible
filetype off
"---------------------------
"augroup&autocmd Settings.
"---------------------------
augroup MyVimrc
autocmd!
augroup END
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
services:
fairseq:
build: .
volumes:
- type: bind
source: "/work00"
target: "/work00"
- type: bind
source: "./fairseq"
target: "/code/fairseq"
#### ZSH ITSELF ###
## save zsh history
HISTFILE=~/.zsh_history
HISTSIZE=100000
SAVEHIST=100000
## 補完機能の強化
autoload -U compinit
compinit
## emacsライクなキーバインド
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
{
"global": {
"check_for_updates_on_startup": true,
"show_in_menu_bar": true,
"show_profile_name_in_menu_bar": false
},
"profiles": [
{
"complex_modifications": {
"parameters": {
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