2014-12-03から1日間の記事一覧

node.jsでPeerJSを使う

できそう http://stackoverflow.com/questions/23902598/peerjs-connection-opens-but-no-data-is-received http://stackoverflow.com/questions/18872712/node-js-webrtc-client

画像をCanvasの幅に合わせて拡大縮小する

画像の貼り方 http://icondecotter.jp/blog/2013/01/30/html5canvas%E4%B8%8A%E3%81%AB%E8%AA%AD%E3%81%BF%E8%BE%BC%E3%82%93%E3%81%A0%E7%94%BB%E5%83%8F%E3%82%92%E8%B2%BC%E3%82%8A%E4%BB%98%E3%81%91%E3%82%8B/リサイズ http://stackoverflow.com/questi…

Chrome Appのローカルアプリ化

http://qiita.com/sjuny/items/b3493a0a1145b247cd2a http://iti.hatenablog.jp/entry/2013/10/10/115550App一覧の画面で右クリック→ショートカット作成,でできる.

Chromeで特定のURLのみを開くアプリを作る

以下のようにappオプションを付けて起動する /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --app="http://shoheiaoki.com/"アプリケーションバンドルにする方法 https://www.lessannoyingcrm.com/blog/2010/08/149/Create+application+s…

EmscriptenでBlobオブジェクトをファイル入力に渡す

http://stackoverflow.com/questions/15980585/how-to-change-emscripten-browser-input-method-from-window-prompt-to-something-mo

Vimの再インストール

homebrewでPythonを入れたが,vimは依然としてシステムデフォルトのPythonを見に行ってたので Powerlineがエラーを起こしていた. $ brew install vim --enable-interp=python,python3,ruby --with-lua