Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View ryo-ARAKI's full-sized avatar

ARAKI Ryo ryo-ARAKI

View GitHub Profile
@ryo-ARAKI
ryo-ARAKI / keybindings.json
Last active April 12, 2024 11:08
VSCode setting file (manual backup)
// 既定値を上書きするには、このファイル内にキー バインドを挿入しますauto[]
[
{
"key": "ctrl+tab",
"command": "workbench.action.nextEditorInGroup"
},
{
"key": "ctrl+k ctrl+pagedown",
"command": "-workbench.action.nextEditorInGroup"
},
# 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.
# ~/.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
# ~/.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 / 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で参照するディレクトリ
@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 / starship.toml
Last active April 21, 2024 20:49
Starship configuration file
# ~/.config/starship.toml
[battery]
full_symbol = "🔋"
charging_symbol = "🔌"
discharging_symbol = ""
[[battery.display]]
threshold = 30
style = "bold red"
@ryo-ARAKI
ryo-ARAKI / config
Last active October 1, 2019 06:18
Config file of Terminator
[global_config]
always_split_with_profile = True
enabled_plugins = TerminatorThemes, LaunchpadCodeURLHandler, APTURLHandler, LaunchpadBugURLHandler
focus = mouse
title_inactive_bg_color = "#555753"
title_receive_bg_color = "#cc0000"
title_transmit_bg_color = "#204a87"
window_state = fullscreen
[keybindings]
paste = <Primary>v
@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
@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';