Skip to content

Instantly share code, notes, and snippets.

View standard-software's full-sized avatar

Standard Software s-yamamoto standard-software

View GitHub Profile
@think49
think49 / eval-calculation-1.0.0.js
Last active October 18, 2023 15:04
eval-calculation.js: 計算式の文字列を評価する
/**
* eval-calculation.js
* evaluate calculation formula.
*
* @version 1.0.0
* @author think49
* @url https://gist.github.com/think49/54b074cab2145efddb48765652c74710
* @license http://www.opensource.org/licenses/mit-license.php (The MIT License)
*/
@cristiandley
cristiandley / react-heatmap.js
Last active November 30, 2021 09:13
Heatmapjs React integration
import _ from 'lodash';
import h337 from 'heatmap.js';
import ReactDOM, { render } from 'react-dom';
import React, {Component, PropTypes} from 'react';
class ReactHeatmap extends Component {
constructor(props, context) {
super(props, context);
this.state = { cfg: null };
@mofukuma
mofukuma / nodesh.bat
Created October 14, 2015 03:53
WindowsのバッチをNode.jsで書く雛形
//&cls&node %0&pause > nul&exit /b 0
var cp = require('child_process');
var p = console.log;
function $(a){
r = ""+cp.execSync(a);
p("$ "+a+"\n => "+r);
return r;
}