View webpack.config.js
/* | |
yarn init -y | |
yarn add webpack webpack-cli webpack-serve html-webpack-plugin -D | |
yarn add babel-loader@^8.0.0-beta @babel/core @babel/preset-env -D | |
echo '{ "presets": ["@babel/preset-env"] }' > .babelrc | |
*/ | |
const HtmlPlugin = require("html-webpack-plugin"); | |
module.exports = { | |
mode: process.env.NODE_ENV || "development", |
View example.rb
class Symbol | |
def method_missing(name, *args) | |
self.to_s.method(name).call(*args) | |
end | |
end | |
puts :hello.start_with "he" |
View result.txt
WITH BOM: | |
757: unexpected token at '{"api_result":1,"api_result_msg":"\u6210\u529f","api_data":[{"api_id":9,"api_maparea_id":2,"api_name":"\u30bf\u30f3\u30ab\u30fc\u8b77\u885b\u4efb\u52d9","api_details":"\u6cb9\u7530\u5730\u5e2f\u304b\u3089\u71c3\u6599\u3092\u6e80\u8f09\u3057\u3066\u623b\u308b\u30bf\u30f3\u30ab\u30fc\u8239\u56e3\u3092\u8b77\u885b\u3057\u3088\u3046\uff01","api_time":240,"api_difficulty":3,"api_use_fuel":0.5,"api_use_bull":0,"api_active":1,"api_state":2,"api_win_item1":[10,1],"api_win_item2":[1,2]},{"api_id":10,"api_maparea_id":2,"api_name":"\u5f37\u884c\u5075\u5bdf\u4efb\u52d9","api_details":"\u6c34\u4e0a\u5075\u5bdf\u6a5f\u642d\u8f09\u8266\u306a\u3069\u3092\u6d3b\u7528\u3057\u3001\u6575\u8266\u968a\u306e\u52d5\u5411\u3092\u63a2\u308c\uff01","api_time":90,"api_difficulty":3,"api_use_fuel":0.3,"api_use_bull":0,"api_active":1,"api_state":2,"api_win_item1":[1,1],"api_win_item2":[2,1]},{"api_id":11,"api_maparea_id":2,"api_name":"\u30dc\u30fc\u30ad\u30b5\u30a4\u30c8\u8f38\u9001\u4efb\u52d9","api_d |