This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### screen 4.1.0 at Mac OS X | |
% screenx -list | |
There are screenxs on: | |
1502.ttys000.nadleeh (Attached) | |
86105.ttys011.nadleeh (Detached) | |
2 Sockets in /tmp/uscreens/S-yoshikaw. | |
% screenx -list | egrep '^[[:space:]]+[[:digit:]]' | head -n1 | cut -f 4,3 | cut -f 2 | |
(Attached) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# to yank/put registers easily. | |
# override default `C'(clear) mapping | |
bind C eval 'command -c yank' 'echo "specify the yank buffer: [0-9]"' | |
bind -c yank 0 eval 'paste . 0' 'echo "yank to 0"' | |
bind -c yank 1 eval 'paste . 1' 'echo "yank to 1"' | |
bind -c yank 2 eval 'paste . 2' 'echo "yank to 2"' | |
bind -c yank 3 eval 'paste . 3' 'echo "yank to 3"' | |
bind -c yank 4 eval 'paste . 4' 'echo "yank to 4"' | |
bind -c yank 5 eval 'paste . 5' 'echo "yank to 5"' | |
bind -c yank 6 eval 'paste . 6' 'echo "yank to 6"' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /usr/local/bin/fio -filename=/tmp/file5G -direct=1 -rw=randwrite -bs=1m -size=5G -numjobs=4 -runtime=10 -group_reporting -name=file1 | |
file1: (g=0): rw=randwrite, bs=1M-1M/1M-1M, ioengine=sync, iodepth=1 | |
... | |
file1: (g=0): rw=randwrite, bs=1M-1M/1M-1M, ioengine=sync, iodepth=1 | |
fio 1.55 | |
Starting 4 processes | |
file1: Laying out IO file(s) (1 file(s) / 5120MB) | |
Jobs: 4 (f=4): [wwww] [100.0% done] [0K/52224K /s] [0 /49 iops] [eta 00m:00s] | |
file1: (groupid=0, jobs=4): err= 0: pid=2613 | |
write: io=429056KB, bw=42679KB/s, iops=41 , runt= 10053msec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# switch window encoding | |
bind ^E eval 'command -c sencoding' 'echo "switch encoding to: [u]tf8 [e]ucjp [s]jis / with LANG env [U]tf8 [E]ucjp [S]jis"' | |
bind -c sencoding u eval 'encoding utf8' 'info' | |
bind -c sencoding e eval 'encoding eucjp' 'info' | |
bind -c sencoding s eval 'encoding sjis' 'info' | |
bind -c sencoding U eval 'encoding utf8' '!!!echo "LANG=ja_JP.utf8; export LANG"' 'info' | |
bind -c sencoding E eval 'encoding eucjp' '!!!echo "LANG=ja_JP.eucJP; export LANG"' 'info' | |
bind -c sencoding S eval 'encoding sjis' '!!!echo "LANG=ja_JP.sjis; export LANG"' 'info' | |
# continuous switch focus to other region(like vi) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Patch: osx-comment-combined-char.patch | |
Probrem: display corruption at some combining characters. | |
Solution: comment out some combined char from mapping table | |
- 0x3099 voiced sound mark | |
- 0x309A semi-boiced sound mark | |
Author: Kazuhiro Yoshikawa <yoshikaw@gmail.com> | |
Files: src/encoding.c | |
--- a/encoding.c 2009-09-26 00:50:28.000000000 +0900 | |
+++ b/encoding.c 2010-05-03 00:26:03.000000000 +0900 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% rlwrap --version | |
rlwrap 0.37 | |
% which rlwrap | |
/usr/local/bin/rlwrap | |
% ldd /usr/local/bin/rlwrap | |
/usr/local/bin/rlwrap: | |
/usr/lib/libutil.dylib (compatibility version 1.0.0, current version 1.0.0) | |
/usr/local/Cellar/readline/6.2.1/lib/libreadline.6.2.dylib (compatibility version 6.0.0, current version 6.2.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
menu label, menuitem label, menupopup label { | |
font-size: 9pt !important; | |
margin-top: 0 !important; | |
margin-bottom: 0 !important; | |
padding: 0 !important; | |
} | |
menu hbox, menuitem hbox, menupopup hbox, | |
menu image, menuitem image, menupopup image | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
toolbarbutton.bookmark-item * { | |
font-size: 10px !important; | |
font-weight: normal !important; | |
} | |
menu.bookmark-item, menuitem.bookmark-item { | |
font-size: 10pt !important; | |
padding: 0 0 !important; | |
padding: 1px 5px !important; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# trigger for layout sub-commands | |
bind ^Y eval 'command -c layout' 'layout show' | |
bind y eval 'command -c layout' 'layout show' | |
# create/remove layout | |
bind -c layout c eval 'layout new' 'layout show' | |
bind -c layout X eval 'layout remove' 'layout show' | |
# change the current layout title or number | |
bind -c layout A colon 'layout title ' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- .vim/syntax/svnlog.vim.bak 2007-04-02 18:52:27.000000000 +0900 | |
+++ .vim/syntax/svnlog.vim 2011-09-30 15:06:26.000000000 +0900 | |
@@ -44,14 +44,14 @@ | |
syn match svnLogLines /\d\+ lines\?/ skipnl nextgroup=svnChangedPaths,svnLogComment | |
" Changed paths highlighting | |
-syn region svnChangedPaths start=/^Changed paths:$/ end=/^$/ transparent contains=svnChangeLine,svnChange nextgroup=svnLogComment | |
+syn region svnChangedPaths start=/^\(Changed paths\|変更のあったパス\):$/ end=/^$/ transparent contains=svnChangeLine,svnChange nextgroup=svnLogComment | |
-syn match svnChangeLine /^Changed paths:$/ skipwhite skipnl skipempty contained nextgroup=@svnChange |