Skip to content

Instantly share code, notes, and snippets.

View LightSpeedC's full-sized avatar

Kazuaki Nishizawa LightSpeedC

View GitHub Profile
@LightSpeedC
LightSpeedC / index.js
Last active August 7, 2016 06:05
WebだけでGitHubからHerokuに空っぽのWebサービスを立ち上げてみた(Node.js) ref: http://qiita.com/LightSpeedC/items/2751b705068449ab37ed
require('http').createServer((req, res) => res.end('hello')).listen(process.env.PORT || 3000);
@LightSpeedC
LightSpeedC / zundo-kiyoshi.js
Last active March 13, 2016 04:37
ズンドコキヨシ with JavaScript (Node.js) ref: http://qiita.com/LightSpeedC/items/ac857a0e313275c0cb1a
// ズンズンズンズンドコキ・ヨ・シ!
void function () {
'use strict';
var phrase = 'ズンズンズンズンドコ';
var puts = typeof process === 'object' && process &&
typeof process.stdout === 'object' && process.stdout &&
typeof process.stdout.write === 'function' ?
@LightSpeedC
LightSpeedC / counter-min.html
Last active December 18, 2015 05:12
Mithril.js 試してみた(1) todo アプリを作り始める所まで ref: http://qiita.com/LightSpeedC/items/a2c967928f9cc13e0ebc
<!DOCTYPE html>
<meta charset="UTF-8">
<title>counter minimum - Mithril.js</title>
<script src="mithril.min.js"></script>
<!--[if IE]><script src="es5-shim.min.js"></script><![endif]-->
<body></body>
<script>
@LightSpeedC
LightSpeedC / todo-app.html
Last active November 23, 2015 07:59
Mithril.js 試してみた(4) todo アプリのフロント側まで ref: http://qiita.com/LightSpeedC/items/c3026847dc5809d2a7a9
<!DOCTYPE html>
<meta charset="UTF-8">
<title>ToDo App - Mithril.js</title>
<script src="mithril.min.js"></script>
<!--[if IE]><script src="es5-shim.min.js"></script><![endif]-->
<body>
<table>
<tr valign="top">
@LightSpeedC
LightSpeedC / excel-app.html
Last active September 7, 2015 11:57
Mithril.js 試してみた(5) Excelの様な表計算アプリを3時間で作る m.component() ref: http://qiita.com/LightSpeedC/items/c19677822f896adc43d9
<!DOCTYPE html>
<meta charset="UTF-8">
<title>Excel example - Mithril.js</title>
<script src="/js/mithril.min.js"></script>
<!--[if IE]><script src="/js/es5-shim.min.js"></script><![endif]-->
<body>
<div id="$excelElement"></div>
</body>
@LightSpeedC
LightSpeedC / links.html
Last active September 5, 2015 08:23
Mithril.js 試してみた(2) サーバーからデータを取得する m.request() ref: http://qiita.com/LightSpeedC/items/f533f048e01ac19a06ec
@LightSpeedC
LightSpeedC / debug.html
Last active September 5, 2015 08:22
Mithril.js 試してみた(3) console.logの様に画面に表示してみる ref: http://qiita.com/LightSpeedC/items/23dcecfa22b89dc7c165
<!DOCTYPE html>
<meta charset="UTF-8">
<title>debug - Mithril.js</title>
<script src="mithril.min.js"></script>
<!--[if IE]><script src="es5-shim.min.js"></script><![endif]-->
<body>
<div id="$debugElement"></div>
</body>