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
[ | |
{ | |
"backcolor": "#ffffff", | |
"name": "Happy Hacking Keyboard Professional/Professional2" | |
}, | |
[ | |
{ | |
"y": 0.3, | |
"c": "#a2a8b8", | |
"a": 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
[ | |
{ | |
"name": "Happy Hacking Keyboard Professional JP" | |
}, | |
[ | |
{ | |
"y": 0.3, | |
"c": "#a2a8b8", | |
"a": 6, | |
"f": 4 |
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
[ | |
{ | |
"name": "Happy Hacking Keyboard Professional JP (JANSI)" | |
}, | |
[ | |
{ | |
"y": 0.3, | |
"c": "#a2a8b8", | |
"a": 6, | |
"f": 4 |
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
export module MyDialog { | |
export interface Button { | |
text: string, | |
method(): void | |
} | |
export function confirm(title: string, buttons: Button[]): void { | |
let button_set: any = {}; | |
for (let button of buttons) { |
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
Class clazz = Application.class; | |
Method method = clazz.getDeclaredMethod("validate", String.class); | |
method.setAccessible(true); | |
method.invoke(null, "1w"); | |
Field field = clazz.getSuperclass().getDeclaredField("validation"); | |
field.setAccessible(true); | |
Validation v = (Validation) field.get(null); | |
assertEquals(1, v.errorsMap().size()); |
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
using System.Diagnostics; | |
using System.Windows; | |
using System.Windows.Controls; | |
using System.Windows.Controls.Primitives; | |
using System.Windows.Data; | |
namespace WpfApplication1 | |
{ | |
/// <summary> | |
/// ドロップ ダウン メニューを表示する為のボタン コントロール クラスです。 |
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 com.example.shela.myapplication; | |
import android.Manifest; | |
import android.content.pm.PackageManager; | |
import android.os.Bundle; | |
import android.support.v4.app.ActivityCompat; | |
import android.support.v4.app.FragmentActivity; | |
import android.support.v4.content.ContextCompat; | |
import android.util.Log; |
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版VMwareで仮想OSとしてUbuntuをインストールした場合、 | |
A device ID has been used that is out of range for your system. | |
と表示されてサウンドカードが切断される場合の対策方法。 | |
コントロールパネル→サウンドを開く。 | |
録音タブにて | |
右クリック→無効なデバイスの表示にチェック | |
表示されたステレオ ミキサーを右クリック→有効 |
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
~/.inputrcで | |
horizontal-scroll-mode | |
の値を設定する。 | |
on:画面の右端より後ろに入力が行われたときにコマンドラインが横にスクロールされる。 | |
off:コマンドラインは次の行にまたがって継続される。デフォルトはoff。 | |
GNU readlineを利用しているものに適用される。 | |
なお、zshはreadlineを利用していない。 |
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
int[][] map = new int[][]{ | |
new int[]{-1, 1, 1, -1, -1, 1, 1, -1, -1, 1}, | |
new int[]{ 1, 36, 1, 0, -1, -1, -1, -1, -1, -1}, | |
new int[]{-1, -1, -1, 1, 1, -1, 1, -1, 1, 1}, | |
new int[]{ 1, 0, -1, -1, 1, -1, 1, -1, 1, -1}, | |
new int[]{-1, 1, 1, -1, -1, -1, -1, 0, 1, -1}, | |
new int[]{ 1, -1, 1, -1, -1, 1, -1, 1, -1, 1}, | |
new int[]{-1, 0, -1, -1, -1, 1, -1, -1, -1, 1}, | |
new int[]{-1, 1, -1, 1, 1, -1, 1, -1, -1, -1}, | |
new int[]{-1, 1, -1, -1, -1, 1, 1, -1, -49, 1}, |
OlderNewer