This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var input = process.argv[2]; | |
var compiler = require('coffee-script-redux'); | |
var fs = require('fs'); | |
var escodegen = require('escodegen'); | |
var data = fs.readFileSync(input, {encoding: 'utf-8'}); | |
var tokens = compiler.parse(data); | |
var ast = compiler.compile(tokens); | |
var output = escodegen.generate(ast); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"parser": "babel-eslint", | |
"env": { | |
"browser": true, | |
"node": true, | |
"mocha": true | |
}, | |
"rules": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
src/shared/idb-store-base.ts(3,29): error TS2497: External module ''idb-wrapper'' resolves to a non-module entity and cannot be imported using this construct. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"parser": "babel-eslint", | |
"plugins": ["react"], | |
"env": { | |
"browser": true, | |
"node": true, | |
"mocha": true | |
}, | |
"ecmaFeatures" : { | |
"jsx": true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* まだ途中. とりあえずCSSをセレクタとプロパティに大ざっぱに分割したとこ | |
*/ | |
error_reporting(E_ALL); | |
ini_set('display_errors', 1); | |
$resourse = <<< DOC_END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// http://code.google.com/intl/ja/apis/chart/docs/gallery/new_map_charts.html | |
// detectColorメソッドを実装して,値に対して色(16進数)を割り振る | |
abstract class JapanMapChart | |
{ | |
private | |
$_baseUrl, | |
$_params, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Trash Hotentry | |
// @namespace http://havelog.ayumusato.com/ | |
// @description くずかごフィルター | |
// @include http://www.google.com/reader/view* | |
// @version 0.1 | |
// ==/UserScript== | |
(function(doc) { | |
setInterval(function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
テンプレートはこんなかんじで | |
<!-- BEGIN_MODULE Sample_KyonenNoOmoide --> | |
<p>去年のおもいで</p> | |
<ul><!-- BEGIN omoide:loop --> | |
<li><a href="{url}">{title}</a></li><!-- END omoide:loop --><!-- BEGIN notFound --> | |
<li>おもいでなかった・・・</li><!-- END notFound --> | |
</ul> | |
<!-- END_MODULE Sample_KyonenNoOmoide --> |