Skip to content

Instantly share code, notes, and snippets.

View cmplstofB's full-sized avatar

cmplstofB

  • Osaka, Japan (UTF+09:00)
View GitHub Profile
@cmplstofB
cmplstofB / after%2Fsyntax%2Fblesh.vim
Last active August 24, 2019 10:18
Vim関連の設定(その内以下略)
" Vim syntax file
" Language: ble.sh config file
" Maintainer: cmplstofb
" Version: 8.0-1
" Last Change: 2018-12-27
" https://github.com/akinomyoga/ble.sh/wiki/
if exists("b:current_syntax")
finish
endif
@cmplstofB
cmplstofB / input.conf
Created July 23, 2019 09:39
MPVの設定
# <https://support.google.com/youtube/answer/7631406?hl=ja&ref_topic=3014328>
SPACE cycle pause
#PLAY
PAUSE cycle pause
k cycle pause
STOP stop
REWIND playlist-next
LEFT seek -5
RIGHT seek 5
@cmplstofB
cmplstofB / uri_egs.txt
Last active April 24, 2020 00:21
統一資源識別子の例
<https://en.wikipedia.org/wiki/Uniform_Resource_Identifier#Examples>より
用者情報 保手名 波戸番号
┌────┴────┐ ┌───────┴──────┐┌─┴─┐
https://taro.yamada@www.ドメイン例.jp:8080/公開討論会/質問箱/?tag=ネットワーク&order=newest#top
└─┬─┘ └───────────────┬───────────────┘└───────┬──────┘ └───────────┬─────────────┘ └┬┘
機綱 機構 筋 問合せ 旗
@cmplstofB
cmplstofB / Xresources
Last active July 11, 2019 20:28
Xresources関連
#include "./Xresources.d/campbell.xresource"
!!! RXVT
!! 操作
URxvt.perl-ext-common: default,matcher
URxvt.url-launcher: /usr/bin/xdg-open
URxvt.matcher.button: 1
URxvt.matcher.rend: Uline
! 行
URxvt.saveLines: 4096
@cmplstofB
cmplstofB / Campbell.icls
Last active December 12, 2019 04:22
Campbell色調(Windows10の新しい端末色調)
<!-- vim: set filetype=xml : -->
<!-- https://github.com/microsoft/Terminal/blob/master/src/tools/ColorTool/schemes/campbell.ini -->
<scheme name="Campbell" version="142" parent_scheme="Darcula">
<metaInfo>
<property name="created">2019-06-01T00:00:00</property>
<property name="ide">CLion</property>
<property name="ideVersion">2019.1.4.0.0</property>
<property name="modified">2019-06-01T00:00:00</property>
<property name="originalScheme">Campbell</property>
</metaInfo>
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete+japan" };
xkb_symbols {
include "pc+jp+inet(evdev)"
include "capslock(escape)"
include "_"
};
xkb_geometry { include "pc(pc105)" };
@cmplstofB
cmplstofB / preferences.d%2Fjessie.pref
Created June 12, 2019 00:32
Debian sidのパッケージ設定
Package: *
Pin: release n=jessie*
Pin-Priority: 100
@cmplstofB
cmplstofB / slfbld.tex
Last active August 4, 2019 21:39
自己ビルドできる(e-up)TeX文書
%= 2>&- /dev/null || iffalse() { :; }
\iffalse
<<. make -f - run clean
.POSIX:
.SUFFIXES:
PROGNAME = $(basename ${0%.*})
BASEDIR = $(test "${0##*[^.]/}" = "$0" && pwd || (cd "${0%/*}" && pwd))
SRCFILE = \$(BASEDIR)/\$(PROGNAME).tex
PDFFILE = \$(BASEDIR)/\$(PROGNAME).pdf
@cmplstofB
cmplstofB / uca.xml
Last active December 8, 2018 13:40
Thunarの設定(≈1.6.x)(~/.config/Thunar/uca.xmlなどに保存)
<?xml version="1.0" encoding="UTF-8"?>
<actions>
<action>
<icon>utilities-terminal</icon>
<name>Open Terminal Emulator</name>
<name xml:lang="ja">端末エミュレータを開く</name>
<command>exo-open --working-directory %f --launch TerminalEmulator</command>
<description>Open terminal emulator which working directory is here.</description>
<description xml:lang="ja">ここを作業ディレクトリとして端末エミュレータを起動します。</description>
<patterns>*</patterns>
@cmplstofB
cmplstofB / chrome%2FuserContent.css
Last active August 23, 2019 10:07
Firefoxの設定 (>=<67)
@charset "UTF-8";
:root {
--base_font_size: 14px;
}
.vimvixen-hint {
background: InfoBackground !important;
border-radius: 0.5ex !important;
border: 1px solid InfoText !important;