kidoOooOoooOOom

ゲーム開発やってます

2014-01-30から1日間の記事一覧

Protocol Buffers

WikiPediaによると、 Protocol Buffers(プロトコルバッファー)はインタフェース定義言語(IDL)で構造を定義する通信や永続化での利用を目的としたシリアライズフォーマットであり、Googleにより開発されている。 今日、どハマリしたので、メモ。 メッセージの…

Sublime Textで今日覚えたショートカットキー

隣のタブに移動 [command + alt + ← or →] Side Barの表示/非表示 [command + K(のあとすぐ) + B] [command + p] ファイル名を検索して開ける。「@」を最初にいれると関数検索(#headerとか)を検索できる。「:」を最初にいれると行番号で検索。 [command + F]…

Sublime Textで空白trimする設定

下記を[基本設定 ユーザ]にぶっこめばok //空白の削除 "trim_trailing_white_space_on_save": true, //タブやスペースなどの不過視文字を表示 "draw_white_space": "all",

今日のunderscore.js

JS

unionを見かけた。 union_.union(*arrays) Computes the union of the passed-in arrays: the list of unique items, in order, that are present in one or more of the arrays._.union([1, 2, 3], [101, 2, 1, 10], [2, 1]); => [1, 2, 3, 101, 10] 重複除…