Skip to content

Instantly share code, notes, and snippets.

View saitoxu's full-sized avatar

Yosuke Saito saitoxu

View GitHub Profile
@saitoxu
saitoxu / Board.js
Created March 22, 2017 07:52
2017-03-22
import React, { Component, PropTypes } from 'react';
import Knight from './Knight';
import BoardSquare from './BoardSquare';
import { canMoveKnight, moveKnight } from './Game';
import { DragDropContext } from 'react-dnd';
import HTML5Backend from 'react-dnd-html5-backend';
class Board extends Component {
renderSquare(i) {
const x = i % 8;
@saitoxu
saitoxu / Board.js
Last active March 21, 2017 07:32
2017-03-21
import React, { Component } from 'react';
import Square from './Square';
class Board extends Component {
renderSquare(i) {
return <Square value={this.props.squares[i]} onClick={() => this.props.onClick(i)} />;
}
render() {
return (
@saitoxu
saitoxu / application.js
Last active March 22, 2017 08:06
2017-03-20
import Friend from './friend';
let friend = new Friend('Taro');
friend.callName();
@saitoxu
saitoxu / test.py
Last active January 18, 2017 05:21
class Test(object):
def __init__(self):
print('hoge hoge hoge hoge hoge hoge hoge hoge hoge hoge hoge hoge')

2016/09/03に参加したHTML5 Conferenceのメモ。

基調講演含め6つのセッションを聞いた。

適当に要約しているため実際の内容と変わっているかもしれないがあしからず(あと敬称略)。

基調講演

WEBという名前の大規模分散オペレーティング・システム