Skip to content

Instantly share code, notes, and snippets.

Tomohiro Suwa tsuwatch

View GitHub Profile
View niconicocommentgetter.php
<?php
define('NICONICO_MAILADDRESS', '<アカウントアドレス>');
define('NICONICO_PASSWORD' , '<アカウントパスワード>');
$id = @$argv[1];
if(!$id) exit('Usage (sm|lv)[\d]+'.PHP_EOL);
if(strpos($id, 'sm') === 0) getVideoComment($id);
if(strpos($id, 'lv') === 0) getLiveComment($id);
if(strpos($id, 'co') === 0) getLiveComment($id);
@tsuwatch
tsuwatch / main.coffee
Created Oct 4, 2012 — forked from mizchi/main.coffee
mmd.gl.enchant.js
View main.coffee
enchant()
window.game = null
MODEL_PATH = 'model/Haku_Yowane.pmd'
MOTION_PATH = 'motion/kishimen.vmd'
GAME_WIDTH = 800
GAME_HEIGHT = 800
class MyScene3D extends Scene3D
constructor: ->
You can’t perform that action at this time.