- 年に2回実施している、pyhack合宿の説明文書
- 貸し切りで開催を前提にしている
- 宿にはBフレッツ光回線
| { | |
| // editor | |
| "editor.fontSize": 16, | |
| "terminal.integrated.fontSize": 16, | |
| "editor.scrollBeyondLastLine": false, | |
| // scm | |
| // workbench | |
| "workbench.startupEditor": "newUntitledFile", | |
| "workbench.iconTheme": "material-icon-theme", |
| 'use strict'; | |
| const Slack = require('slack-node'); | |
| const request = require('request'); | |
| const fs = require('fs'); | |
| // 最初にimageフォルダ作成 | |
| try { | |
| fs.mkdirSync('image'); | |
| } catch (e) { | |
| // ignore |
| ### Keybase proof | |
| I hereby claim: | |
| * I am peacock0803sz on github. | |
| * I am peacock0803sz (https://keybase.io/peacock0803sz) on keybase. | |
| * I have a public key ASCca9UN7lDX9LwkVkH4EQ09JvCnEzgHAAF9foFfZHyCCgo | |
| To claim this, I am signing this object: |
| 2019-02-05T09:26:58.000000+00:00 app[api]: Build started by user [email protected] | |
| 2019-02-05T09:27:34.375327+00:00 heroku[bot.1]: Starting process with command `python main.py` | |
| 2019-02-05T09:27:34.988297+00:00 heroku[bot.1]: State changed from starting to up | |
| 2019-02-05T09:27:39.290332+00:00 heroku[bot.1]: Process exited with status 1 | |
| 2019-02-05T09:27:39.094887+00:00 app[bot.1]: Traceback (most recent call last): | |
| 2019-02-05T09:27:39.094915+00:00 app[bot.1]: File "/app/.heroku/python/lib/python3.7/site-packages/selenium/webdriver/common/service.py", line 76, in start | |
| 2019-02-05T09:27:39.095377+00:00 app[bot.1]: stdin=PIPE) | |
| 2019-02-05T09:27:39.095394+00:00 app[bot.1]: File "/app/.heroku/python/lib/python3.7/subprocess.py", line 769, in __init__ | |
| 2019-02-05T09:27:39.096199+00:00 app[bot.1]: restore_signals, start_new_session) | |
| 2019-02-05T09:27:39.096230+00:00 app[bot.1]: File "/app/.heroku/python/lib/python3.7/subprocess.py", line 1516, in _execute_child |
| Installing initially failed dependencies… | |
| [pipenv.exceptions.InstallError]: File "/home/peacock/.anyenv/envs/pyenv/versions/3.7.4/lib/python3.7/site-packages/pipenv/core.py", line 2611, in do_sync | |
| [pipenv.exceptions.InstallError]: system=system, | |
| [pipenv.exceptions.InstallError]: File "/home/peacock/.anyenv/envs/pyenv/versions/3.7.4/lib/python3.7/site-packages/pipenv/core.py", line 1253, in do_init | |
| [pipenv.exceptions.InstallError]: pypi_mirror=pypi_mirror, | |
| [pipenv.exceptions.InstallError]: File "/home/peacock/.anyenv/envs/pyenv/versions/3.7.4/lib/python3.7/site-packages/pipenv/core.py", line 859, in do_install_dependencies | |
| [pipenv.exceptions.InstallError]: retry_list, procs, failed_deps_queue, requirements_dir, **install_kwargs | |
| [pipenv.exceptions.InstallError]: File "/home/peacock/.anyenv/envs/pyenv/versions/3.7.4/lib/python3.7/site-packages/pipenv/core.py", line 763, in batch_install | |
| [pipenv.exceptions.InstallError]: _cleanup_procs(procs, not blocking, failed_deps_queue, retry= |
| version: "3" | |
| services: | |
| factorio: | |
| image: factoriotools/factorio:1.8 | |
| ports: | |
| - "34197:34197/udp" | |
| - "27015:27015/tcp" | |
| volumes: | |
| - "data:/factorio" | |
| environment: |
| { | |
| } |
| from random import choice | |
| from typing import Generator | |
| ZUN = "ズン" | |
| DOKO = "ドコ" | |
| KIYOSHI = "キ・ヨ・シ!" | |
| def generate_stream() -> Generator[str, None, None]: | |
| while True: |
| from collections.abc import Iterable | |
| import csv | |
| from io import StringIO | |
| import urllib.request | |
| import socket | |
| import subprocess | |
| REGISTERD_PORTS = (22,) + tuple(range(1024, 49151)) | |
| HOSTS_CSV = "https://scrapbox.io/api/table/Geek-SpaceBox/GSNet%E3%81%AE%E3%83%9B%E3%82%B9%E3%83%88%E4%B8%80%E8%A6%A7/hosts.csv" |