Summary
VMwareでフルスクリーン表示にすると通常、1画面のみに表示される。[表示] - [すべてのディスプレイをフルスクリーンで使用] を選択すれば、
複数画面で表示できる。
via
VMware 上の Windows をマルチディスプレイで使う - えこ日記http://d.hatena.ne.jp/eco31/20110114/1294934246
ln -s ~/OneDrive/Gas\ Mask ~/Library/Gas\ Mask
mosh: Nothing received from server on UDP port 6000X. [To quit: Ctrl-^ .]
接続先のFirewallをオフにすると接続できるため、Firewallが原因だと特定できる。
brew tap josegonzalez/php
brew install nginx
brew install php54 --with-mysql --with-fpm --with-intl --with-readline
http {
...
include /usr/local/etc/nginx/conf.d/*.conf;
include /usr/local/etc/nginx/sites-enabled/*;
}
server {
listen 8000;
server_name localhost;
root /Users/yoshiki/Sites/localhost;
index index.php index.html index.htm;
access_log /usr/local/var/log/nginx/localhost/access_log;
error_log /usr/local/var/log/nginx/localhost/error_log;
location / {
try_files $uri $uri/ $uri.php;
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
mkdir -p /usr/local/var/run/nginx
mkdir -p /usr/local/var/log/nginx/localhost
mkdir -p /usr/local/etc/nginx/conf.d
mkdir -p /usr/local/etc/nginx/sites-available
mkdir -p /usr/local/etc/nginx/sites-enabled
ln -s /usr/local/etc/nginx/sites-available/localhost /usr/local/etc/nginx/sites-enabled/localhost
listen = 127.0.0.1:9000
listen.allowed_clients = 127.0.0.1
nginx
/usr/local/sbin/php54-fpm start
nginx -s stop
/usr/local/sbin/php54-fpm stop
<?xml version="1.0"?>
<root>
<inputsourcedef>
<name>GOOGLE_IME_JAPANESE_BASE</name>
<inputsourceid_prefix>com.google.inputmethod.Japanese.base</inputsourceid_prefix>
</inputsourcedef>
<inputsourcedef>
<name>GOOGLE_IME_JAPANESE_ROMAN</name>
<inputsourceid_prefix>com.google.inputmethod.Japanese.Roman</inputsourceid_prefix>
</inputsourcedef>
<item>
<name>Use Option_R as KANA/EISUU (toggle)</name>
<item>
<name>Use Option_R as KANA (only Japanese.Roman)</name>
<inputsource_only>GOOGLE_IME_JAPANESE_ROMAN</inputsource_only>
<identifier>private.remap.jis_unify_kana_eisuu_to_optionR_kana</identifier>
<autogen>
__KeyToKey__
KeyCode::OPTION_R,
KeyCode::JIS_KANA
</autogen>
</item>
<item>
<name>Use Option_R as EISUU (only Japanese.base)</name>
<inputsource_only>GOOGLE_IME_JAPANESE_BASE</inputsource_only>
<identifier>private.remap.jis_unify_kana_eisuu_to_optionR_eisuu</identifier>
<autogen>
__KeyToKey__
KeyCode::OPTION_R,
KeyCode::JIS_EISUU
</autogen>
</item>
</item>
</root>
Command+i | 全角カタカナに変換 |
Command+t | 半角英数に変換 |
Command+u | ひらがなに変換 |
Command+o | 半角に変換 |
Command+p | 全角英数に変換 |
<?xml version="1.0"?>
<root>
<inputsourcedef>
<name>GOOGLE_IME_JAPANESE_BASE</name>
<inputsourceid_prefix>com.google.inputmethod.Japanese.base</inputsourceid_prefix>
</inputsourcedef>
<item>
<name>Private (Google IME)</name>
<item>
<name>変換ショートカットキーの一部をCommandキーで有効に (only Google IME Japanese base)</name>
<identifier>private.command_l_to_control_l_only_googleime</identifier>
<inputsource_only>GOOGLE_IME_JAPANESE_BASE</inputsource_only>
<!-- Google Chrome の Command + Shift + T との衝突を回避 -->
<autogen>
__KeyToKey__
KeyCode::T, ModifierFlag::COMMAND_L | ModifierFlag::NONE,
KeyCode::T, ModifierFlag::CONTROL_L,
</autogen>
<autogen>
__KeyToKey__
KeyCode::U, ModifierFlag::COMMAND_L,
KeyCode::U, ModifierFlag::CONTROL_L,
</autogen>
<autogen>
__KeyToKey__
KeyCode::I, ModifierFlag::COMMAND_L,
KeyCode::I, ModifierFlag::CONTROL_L,
</autogen>
<autogen>
__KeyToKey__
KeyCode::O, ModifierFlag::COMMAND_L,
KeyCode::O, ModifierFlag::CONTROL_L,
</autogen>
<!-- Command + P (Print) と重複するので削除 -->
<!--
<autogen>
__KeyToKey__
KeyCode::P, ModifierFlag::COMMAND_L,
KeyCode::P, ModifierFlag::CONTROL_L,
</autogen>
-->
</item>
</item>
</root>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<dict>
<key>FontName</key>
<string>Osaka-Mono</string>
<key>Size</key>
<integer>14</integer>
</dict>
</array>
</plist>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<dict>
<key>fontname</key>
<string>hiramarupron-w4</string>
<key>size</key>
<integer>15</integer>
</dict>
<dict>
<key>fontname</key>
<string>hiraminpron-w3</string>
<key>size</key>
<integer>15</integer>
</dict>
<dict>
<key>fontname</key>
<string>hirakakupron-w3</string>
<key>size</key>
<integer>14</integer>
</dict>
</array>
</plist>
say [-v voice] [-o out] [-f in | message]
say -v trinoids "Mission Accomplished"
say -v "?"
% brew tap homebrew/dupes
% brew install groff
% brew install nkf
#JNROFF /usr/bin/groff -Tnippon -mandocj -c
JNROFF /usr/local/bin/groff -Dutf8 -Tutf8 -mandoc -mja -E
#PAGER /usr/bin/less -is
#BROWSER /usr/bin/less -is
PAGER /usr/local/bin/less -isr
BROWSER /usr/local/bin/less -isr
$ curl -O http://linuxjm.sourceforge.jp/man-pages-ja-YYYYMMDD.tar.gz
$ tar xfz man-pages-ja-YYYYMMDD.tar.gz
$ cd man-pages-ja-YYYYMMDD
$ make
perl -w script/configure.perl
[INSTALLATION INFORMATION]
(just Return if you accept default)
Install directory [/usr/share/man/ja_JP.UTF-8] ?: /usr/local/share/man/ja_JP.UTF-8
compress manual with..
0: none
1: gzip
2: bzip2
3: compress
select [0..3] : 3
uname of page owner [root] ?: username
group of page owner [root] ?: admin
Directory: /usr/local/share/man/ja_JP.UTF-8
Compression: compress
Page uid/gid: username/admin
All OK? (Yes, [C]ontinue / No, [R]eselect) : c
[INSTALL PACKAGE SELECTION]
(just Return if you accept default choice)
(you can change the default by editing script/pkgs.list)
[ 0/118] shadow [Y/n] ?:
[118/118] zebedee [Y/n] ?:
All OK? (Yes, [C]ontinue / No, [R]eselect) : c
[RESOLVE CONFLICTS]
(just Return if you accept item 0)
[0/170] There are 2 pages for arch.1:
0: in GNU_coreutils
1: in util-linux
Which to install? (0..1) :
[169/170] There are 2 pages for yes.1:
0: in GNU_coreutils
1: in gnumaniak
Which to install? (0..1) :
GNU_coreutils/yes:1 is selected.
All OK? (Yes, [C]ontinue / No, [R]eselect) : c
creating installation script...done
now you can "make install" as user username.
$ make install
$ curl -O http://home.jp.freebsd.org/~kogane/JMAN9/ja-man-doc-9.X.YYYYMMDD.tbz
$ tar xfj ja-man-doc-9.X.YYYYMMDD.tbz
$ cd ja-man-doc-9.X.YYYYMMDD.tbz/share/man
$ gunzip -fr ./
$ find ja -name '*.[0-9]' -exec nkf --overwrite -w '{}' ';'
$ find ja -name '*.[0-9]' -exec gzip '{}' ';'
$ mv ja /usr/local/share/man/
% defaults write com.apple.dashboard mcx-disabled -boolean YES
% killall Dock
% defaults delete com.apple.dashboard mcx-disabled
% killall Dock
% cd /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support
% ./lsregister -kill -r -domain system -domain local -domain user
% killall Finder
% chflags nohidden ~/Library
ls | sort
でも、同じ挙動に。
LANG=C ls
LC_ALL=C ls
networksetup -listnetworkserviceorder
$ sudo networksetup -setv6off <networkservice>
ネットワーク名がEthernetであれば
$ sudo networksetup -setv6off Ethernet
システム環境設定 - ネットワーク - IPv6の構成 が「切」になる。
IPv6 を有効にする場合は、ここを「切」以外に設定すればよい。
$ networksetup -getinfo <networkservice>
...
IPv6: Off