Skip to content

Instantly share code, notes, and snippets.

@ryo-ARAKI
ryo-ARAKI / Projecteur.conf
Created September 6, 2024 06:47
Configuration file of Projecteur: Linux/X11 application for the Logitech Spotlight device
#~/.config/Projecteur/Projecteur.conf
[General]
borderColor=@Variant(\0\0\0\x43\x1\xff\xff\xff\xff\0\0\x7f\x7f\0\0)
borderSize=4
dotColor=@Variant(\0\0\0\x43\x1\xff\xff\xff\xff\0\0\0\0\0\0)
enableZoom=false
multiScreenOverlay=true
shadeColor=@Variant(\0\0\0\x43\x1\xff\xff\"\"\"\"\"\"\0\0)
shadeOpacity=0.4
showBorder=true
@ryo-ARAKI
ryo-ARAKI / keybindings.json
Last active October 2, 2024 08:05
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"
# 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 August 31, 2024 08:52
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 August 31, 2024 08:14
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 November 14, 2024 02:24
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 April 30, 2024 01:39
Config file of Terminator
[global_config]
focus = mouse
window_state = fullscreen
enabled_plugins = TerminatorThemes, LaunchpadCodeURLHandler, APTURLHandler, LaunchpadBugURLHandler
always_split_with_profile = True
[keybindings]
split_horiz = <Primary><Shift>d
split_vert = <Primary>d
paste = <Primary>v
[profiles]
@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