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
// HealthPlanet側のTwitterテンプレート '体重:#WHT#kg 体脂肪率:#BFP#% 筋肉量:#MBK#kg 筋肉スコア:#MBS# 内臓脂肪レベル:#VFL# 基礎代謝量:#BAR# 体内年齢:#BDA#歳 推定骨量:#APB#' | |
var SPREADSHEET_ID = '保存先スプレッドシートのID' | |
var COL_INDEX = { | |
'date': 1, | |
'weight': 2, | |
'fat': 3, | |
'muscle': 4, | |
'muscle_score': 5, | |
'visceral_fat': 6, |
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 commits = ''; | |
Array.prototype.slice.call(document.getElementsByTagName('code')).filter(function (code) { | |
return code.children[0].classList.contains("message"); | |
}).forEach(function (code) { | |
var commit = code.children[0].text; | |
if (commit.indexOf('Merge') != 0) commits += commit + "\r"; | |
}); | |
var body = document.getElementsByTagName('body')[0]; | |
var span = document.createElement('span'); | |
span.textContent = commits; |
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
$('.mat-expansion-panel-header').click(); | |
setTimeout(function () { | |
var $params = $('.variant-summary-content').find('.content-values'); | |
var text = ''; | |
$params.find('.header').find('.param-key').each(function (i, v) { | |
text += $(v).text().trim(); | |
}); | |
$params.find('.values').children().each(function (i, row) { | |
$(row).find('.param-value').each(function (j, v) { | |
text += $(v).text().trim(); |
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 React = require('react'); | |
module.exports = React.createClass({ | |
propTypes: { | |
id: React.PropTypes.string.isRequired, | |
className: React.PropTypes.string, | |
value: React.PropTypes.string.isRequired, | |
placeholder: React.PropTypes.string, | |
onChange: React.PropTypes.func.isRequired, | |
adjustCursor: React.PropTypes.func |