Skip to content

Instantly share code, notes, and snippets.

wataken44

Block or report user

Report or block wataken44

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View is_prime.py
JAESCHKE_PRIMES = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37]
def is_prime_miller_rabin(n):
if n in JAESCHKE_PRIMES:
return True
if (n == 1) or (n & 1 == 0):
return False
d = n - 1
while (d & 1 == 0):
View kushimori-url
* /dashboard/
* list
* edit
* follow
* /novel/
* <id>
* /episodes/
* r/<id>
* rm/<id>
View pso2-expert-20190528.md

エキスパ戦力比の推定値

20190529にエキスパの条件が更新されるにあたり、戦力比の推定値を手持ちの数字から算出してメモしておく。

注:

  • DPSチェッカとか使わずに、クエストの結果から計算する
  • サンプル数は多くない

201812メリクリスコア

View なろうテスト用小説
# 長編、chapterなし、作者名リンクあり
https://ncode.syosetu.com/n9517fc/
# 長編、chapterあり
https://ncode.syosetu.com/n0611em/
# 短編、作者名リンクなし
https://ncode.syosetu.com/n8054fm/
View class_helper.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
""" class_helper.py
"""
import sys
View GAE用dockerfile
FROM wataken44/ubuntu-latest-sshd:latest
LABEL maintainer "wataken44"
ENV DOCKER "YES"
ENV LANG C.UTF-8
RUN set -xe \
&& apt update \
&& apt install -y lsb-release curl gnupg python3
View recursive.rb
#!/usr/bin/env ruby
# -*- coding: utf-8 -*-
# recursive.rb
require 'logger'
require 'open-uri'
require 'uri'
$logger = Logger.new(STDOUT)
View getdeb.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
""" getdeb.py
"""
import os
import sys
View bunko.txt
shachi
наяч
いぬじゅん
おかざき登
ごとうしのぶ
しめさば
つるみ犬丸
みうらまき(三浦マキ)
みなづき未来
ゆうきりん
You can’t perform that action at this time.