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
import java.io.PrintWriter; | |
import java.util.Arrays; | |
public class Main { | |
static byte[] b = new byte[40000]; | |
static int c, i, j, k, l, m, n, w, x, y = 0; | |
public static void main(String[] a) throws Exception { | |
l = System.in.read(b); |
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
map $http_upgrade $connection_upgrade { | |
default upgrade; | |
'' close; | |
} | |
server { | |
listen 80; | |
listen [::]:80; | |
server_name mst.dolpen.net; | |
return 301 https://$host$request_uri; |
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
$ curl -s http://www8.cao.go.jp/chosei/shukujitsu/syukujitsu.csv | iconv -f Shift_JIS -t UTF-8 | sed -E $'s/\r//g' | grep -E ',[0-9]{4}' |sed -E 's/,([0-9]+)\/([0-9]+)\/([0-9]+),/,\1\/\2\/\3\ | |
/g' | sed -E 's/\/([0-9]{1})\//\/0\1\//g' | sed -E 's/\/([0-9]{1})$/\/0\1/g' | sed -E 's/^(.*),([0-9]{4}\/[0-9]{2}\/[0-9]{2})$/\2,\1/g' | sort | |
2016/01/01,元日 | |
2016/01/11,成人の日 | |
2016/02/11,建国記念の日 | |
2016/03/20,春分の日 | |
2016/04/29,昭和の日 | |
2016/05/03,憲法記念日 | |
2016/05/04,みどりの日 | |
2016/05/05,こどもの日 |
- A : minecraft.dolpen.net …… vanilla 1.10
- B : urk.minecraft.dolpen.net …… vanilla 1.11.2
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
[].slice.call( | |
document.querySelector('.tweeting-text').childNodes | |
).filter(function(n){ | |
return n.nodeType === 3 && n.nodeValue.trim().length > 3; | |
}).forEach(function(n){ | |
n.nodeValue = '反省文を送信する'; | |
}); |
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(d,w){w.LOCK_TIME=0;[].slice.call(d.querySelectorAll('.answer')).forEach(function(el){if('0' !== el.getAttribute('value'))el.click();})})(document,window); |
- ポケモンのレベルは、 1.0 - 40.0 で 0.5 刻み(ほしのすな強化で +0.5 ) の 39 段階
- トレーナーレベルが n のとき、レベル 1 から n + 1.5 のポケモンだけが出る
- 強化についても n + 1.5 の範囲内でしかできない(「トレーナーレベルがたりません」エラー)
- CP is NOT 個体値
- 同じレベルのポケモンでも、CPの上下ぶれがある(約14%)が、これを個体値と言う
- CPが高い理由は「個体値が高い」「レベルが高い」の2要素があり、どちらが真の理由かは適切に調べる必要がある
- レベルが高いほど強化コストが高いので「現CPが高い割に強化コストが安く、現レベルが低い」ものが良個体と言える
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
import React from "react"; | |
import ReactDOM from "react-dom"; | |
import {EventEmitter} from "events"; | |
import weapons from "./weapons.json"; | |
class StateContainer { | |
constructor(initialState, shouldUpdate) { | |
this.root = undefined; | |
this.state = initialState; | |
this.prevState = Object.assign({}, initialState); |
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
[ | |
{"name": "わかばシューター","sub": "スプラッシュボム","special": "バリア","type": "シューター","option": "オリジナル","manufacturer": "スプライカ","id": 1}, | |
{"name": "もみじシューター","sub": "ポイズンボール","special": "スーパーセンサー","type": "シューター","option": "アナザー","manufacturer": "スプライカ","id": 2}, | |
{"name": "スプラシューター","sub": "クイックボム","special": "ボムラッシュ","type": "シューター","option": "オリジナル","manufacturer": "スプライカ","id": 3}, | |
{"name": "スプラシューターコラボ","sub": "キューバンボム","special": "スーパーショット","type": "シューター","option": "アナザー","manufacturer": "スプライカ","id": 4}, | |
{"name": "プロモデラーMG","sub": "チェイスボム","special": "スーパーショット","type": "シューター","option": "オリジナル","manufacturer": "カンブリアームズ","id": 5}, | |
{"name": "プロモデラーRG","sub": "トラップ","special": "トルネード","type": "シューター","option": "アナザー","manufacturer": "カンブリアームズ","id": 6}, | |
{"name": "プライムシューター","sub": "スプラッシュボム","special": "トルネード","type": "シューター","option": "オリジナル","manufacturer": "スプライカ","id": 7}, | |
{"name": "プライムシューターコラボ","sub": "ポイントセンサー","special": "スーパーショット","type": "シューター","option": "アナザー","manufacturer": "スプライカ","id": |