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
$DisplayNames = ( | |
"Connected Devices Platform Service", | |
"Connected Devices Platform ユーザー サービス_*", | |
"Contact Data_*", | |
"User Data Access_*", | |
"User Data Storage_*", | |
"データ使用状況", | |
"ホストの同期_*", | |
"Microsoft Office クイック実行サービス", | |
"Downloaded Maps Manager" |
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
47c47 | |
< Composition Muhenkan SwitchKanaType | |
--- | |
> Composition Muhenkan IMEOff | |
101c101 | |
< Conversion Muhenkan SwitchKanaType | |
--- | |
> Conversion Muhenkan IMEOff | |
121,123c121,123 | |
< DirectInput Henkan Reconvert |
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
47c47 | |
< Composition Muhenkan SwitchKanaType | |
--- | |
> Composition Muhenkan IMEOff | |
101c101 | |
< Conversion Muhenkan SwitchKanaType | |
--- | |
> Conversion Muhenkan IMEOff | |
122,123c122,123 | |
< DirectInput Hiragana IMEOn |
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
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Keyboard Layout] | |
"Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,1d,00,3a,00,3a,00,1d,e0,00,00,00,00 |
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
package conversion | |
import ( | |
"io" | |
"golang.org/x/text/encoding/japanese" | |
"golang.org/x/text/transform" | |
) | |
//Conversion |
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
"from vimrc_example | |
set nocompatible | |
set backspace=indent,eol,start | |
set history=50 | |
set ruler | |
set incsearch | |
set hlsearch | |
syntax on | |
filetype plugin indent on |
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
import sys | |
import urllib.request | |
def reporthook(blocknum, bs, size): | |
if size <= -1: | |
# サイズが取得できなかった場合は -1 が渡される | |
# 表示しようがないので何も表示しない | |
return | |
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
package main | |
import ( | |
"code.google.com/p/mahonia" | |
"encoding/csv" | |
"os" | |
) | |
func main() { | |
sjis := mahonia.NewEncoder("Shift_JIS") |
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
def test(byte): | |
""" | |
byte is 0-255 integer. | |
>>> test(1) | |
1 | |
>>> test(b"\x01"[0]) | |
1 | |
>>> test(128) | |
128 |
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
>>>try: | |
... input() | |
...except KeyboardInterrupt: | |
... print('C-c') | |
(ここで C-c) | |
KeyboardInterrupt | |
(except されずに上位 (?) で補足される) |