- 間取りや壁の素材な住民のパラメータを入力して、何日防御できるかをシミュレートする
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
// @flow | |
import axios from 'axios'; | |
import {describe, it, beforeEach, afterEach} from 'mocha'; | |
import nock from 'nock'; | |
describe('nockのテスト', function() { | |
it('testtest', function() { | |
const scope = | |
nock('http://localhost') |
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
(function() { | |
if ( | |
document.URL.indexOf('https://rollbar.com/') === -1 || | |
document.URL.indexOf('/occurrences/') === -1 | |
) { | |
alert('"https://rollbar.com/:変数/:変数/items/:変数/occurrences/:変数/" のURLで実行することを想定したスニペットです。'); | |
return; | |
} | |
if (!window.UAParser) { |
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
// 1. Chrome Devtools の Sources にこれを登録します | |
// 2. https://moneyforward.slack.com/customize/emoji に遷移します | |
// 3. Run すると、Console に表示されます。 | |
authorNodes = document.querySelectorAll('.author_cell .display_flex'); | |
authors = Array.prototype.map.call(authorNodes, v => v.textContent.trim()); | |
ranking = authors.reduce((memo, author) => { | |
if (memo[author]) { | |
memo[author] += 1; | |
} else { |
TBD
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
#!/bin/sh | |
PROJECT_ROOT=$(pwd) | |
#SCRIPT_ROOT=$(cd $(dirname $0) && pwd) | |
#PROJECT_ROOT="$SCRIPT_ROOT/.." | |
KEYWORDS='' | |
KEYWORDS=$KEYWORDS'foo|bar|baz' | |
grep_regex='('$KEYWORDS')' |
これは変更可能
javascript:document.querySelector('#MainVideoPlayer video').playbackRate=2
これは無理だった、動画も止まるのでそのへんが影響してるのかも?
javascript:document.querySelector('#MainVideoPlayer video').playbackRate=~~prompt('','2')
- 画面にキーボード画像を出して、こちらが想定するキーを順次押して貰う
- 予め想定するキーコードのマップを設定しておき、それと違うキーコードが入力されたらNGにする
- したい
NewerOlder