Skip to content

Instantly share code, notes, and snippets.

# ~/.screenrc
# https://qiita.com/kamykn/items/9939b67e923dbb87f39c
# Character code
defutf8 on
defencoding utf8
encoding utf8 utf8
# Disable startup message & window flushing
startup_message off
@ryo-ARAKI
ryo-ARAKI / .vimrc
Last active October 26, 2020 14:53
vimrc
" https://qiita.com/mfujimori/items/9fd41bcd8d1ce9170301
" setting
"文字コードをUFT-8に設定
set fenc=utf-8
" バックアップファイルを作らない
set nobackup
" スワップファイルを作らない
set noswapfile
" 編集中のファイルが変更されたら自動で読み直す
set autoread
# For the benefit of emacs users: -*- shell-script -*-
###########################
# xbindkeys configuration #
###########################
#
# Version: 1.8.6
#
# If you edit this file, do not forget to uncomment any lines
# that you change.
# The pound(#) symbol may be used anywhere for comments.
@ryo-ARAKI
ryo-ARAKI / .latexmkrc_revtex
Last active February 17, 2023 12:27
LaTeX compile setting
#!/usr/bin/perl
$latex = 'pdflatex %O -synctex=1 -interaction=nonstopmode %S';
$bibtex = 'biblatex';
$biber = 'biber --bblencoding=utf8 -u -U --output_safechars';
$dvipdf = 'dvipdfmx %O %S';
$max_repeat = 5;
$pdf_mode = 3;
$pvc_view_file_via_temporary = 0;
$pdf_previewer = 'evince 2>/dev/null';
@ryo-ARAKI
ryo-ARAKI / abbreviated_journal_title.sty
Last active November 22, 2023 11:38
Unique commands and default setting for LaTeX
% 雑誌名の短縮形リスト
\DeclareSourcemap{%
\maps[datatype=bibtex,overwrite=true]{
\map{
\step[
fieldsource=journal,
match={Journal of Fluid Mechanics},
replace={J. Fluid Mech.}]%
\step[
fieldsource=journal,
@ryo-ARAKI
ryo-ARAKI / beamer_template.tex
Last active April 9, 2024 02:13
Template for LaTeX
% \PassOptionsToPackage{draft}{graphicx}
\documentclass[12pt,dvipdfmx,svgnames,uplatex,aspectratio=169]{beamer}
% \documentclass[12pt,dvipdfmx,svgnames,uplatex,aspectratio=169,handout]{beamer}
%
% ===========================================
% 図・表関係
% ===========================================
\graphicspath{{./pics/}} % \includegraphicsで参照するディレクトリ
\makeatletter
\def\input@path{{/home/raraki/github/TikZ_figures/}} % \inputで参照するディレクトリ
# ~/.config/fish/config.fish
# prompt setting (using starfish)
starship init fish | source
# Add PATH to peco
set -x PATH $PATH /usr/bin
# cd for parent directories
abbr .. "cd .."
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
@ryo-ARAKI
ryo-ARAKI / keybindings.json
Last active April 26, 2024 11:40
VSCode setting file (manual backup)
// ~/.config/Code/User/settings.json
// 既定値を上書きするには、このファイル内にキー バインドを挿入しますauto[]
[
{
"key": "ctrl+tab",
"command": "workbench.action.nextEditorInGroup"
},
{
"key": "ctrl+k ctrl+pagedown",
"command": "-workbench.action.nextEditorInGroup"
@ryo-ARAKI
ryo-ARAKI / starship.toml
Last active April 28, 2024 23:14
Starship configuration file
# ~/.config/starship.toml
[battery]
full_symbol = "🔋"
charging_symbol = "🔌"
discharging_symbol = ""
[[battery.display]]
threshold = 30
style = "bold red"