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
{ | |
"title": "Left ctrl + Nums(6~0) to Function Keys", | |
"rules": [ | |
{ | |
"description": "左Ctrl+数字キー(6~0)をFunction Key(F6~F10)にリマップする", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "6", | |
"modifiers": { |
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
{ | |
//////////////////////////////////////////////////////////////////////// | |
// general | |
//////////////////////////////////////////////////////////////////////// | |
// font | |
"editor.fontSize": 14, | |
"editor.fontFamily": "Cica, Ricty, Menlo, Monaco, 'Courier New', monospace", | |
// editor | |
"editor.tabSize": 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
#!/bin/sh | |
# WiFi操作スクリプト for Mac | |
# Haruyuki Ichino | |
# 2016/12/17 | |
# Usage: | |
# Example) $ wifi.sh reboot | |
opt=$1 | |
# 引数チェック |
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 numpy as np | |
import random | |
# データ配列 | |
data = np.array(range(10,20)) | |
print("data:", data) | |
# ラベル配列 | |
label = np.array([0, 0, 1, 1, 1, 2, 2, 2, 2, 2]) | |
print("label:", label) | |
# 全クラスのサンプル数 |
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
.lkc-thumbnail { | |
max-width: 120px; | |
max-height: 120px; | |
/*余白の調整*/ | |
margin: 0 6px 8px 8px !important; | |
} | |
.lkc-thumbnail-img { | |
max-width: 120px; | |
max-height: 120px; | |
} |
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
# coding: utf-8 | |
import numpy as np | |
def getNearestValue(list, num): | |
""" | |
概要: リストからある値に最も近い値を返却する関数 | |
@param list: データ配列 | |
@param num: 対象値 |
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
void setup() { | |
pinMode(13, OUTPUT); | |
} | |
void loop() { | |
digitalWrite(13, HIGH); // set the LED on | |
delay(1000); // wait for a second | |
digitalWrite(13, LOW); // set the LED off | |
delay(1000); // wait for a second | |
} |
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
#include "lcdLib.h" | |
int main(void) | |
{ | |
Lcd_Init(); | |
Lcd_Write("Hello",5); | |
Lcd_MoveCur(0, 1); | |
Lcd_Write("AVR World", 9); | |
} |
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
\documentclass{jarticle} | |
\title{\LaTeX\ Sample} | |
\begin{document} | |
\maketitle | |
Hello \LaTeX \\ | |
こんにちは \LaTeX | |
\end{document} |
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
#!/bin/sh | |
# mytex.sh | |
# Haruyuki Ichino | |
# 2015/06/18 | |
# auto compiling script tex file for mac. It has -b option to compole bib file. | |
err_pro(){ | |
if [ ! -e $1 ]; then |
NewerOlder