[何を実現するの?]
[どんな背景があるから実現するの?]
[コードだけでは分からない作成物のアーキテクチャを画像などで]
| package proto | |
| import ( | |
| "crypto/md5" | |
| "crypto/sha1" | |
| "crypto/sha256" | |
| "crypto/sha512" | |
| "hash" | |
| "hash/fnv" | |
| "testing" |
| FROM arm32v6/alpine | |
| RUN apk add --no-cache dnsmasq | |
| EXPOSE 53/tcp \ | |
| 53/udp \ | |
| 67/udp | |
| ENTRYPOINT ["dnsmasq", "--no-daemon", "--user=dnsmasq", "--group=dnsmasq"] |
| ### Keybase proof | |
| I hereby claim: | |
| * I am bootjp on github. | |
| * I am bootjp (https://keybase.io/bootjp) on keybase. | |
| * I have a public key ASD3atoSlmmUQXpUMypEwt7evdjm4K84qbbCmf4J-3cWhQo | |
| To claim this, I am signing this object: |
| sudo mkdir -p /etc/systemd/system/networking.service.d/ | |
| sudo bash -c 'echo -e "[Service]\nTimeoutStartSec=20sec" > /etc/systemd/system/networking.service.d/timeout.conf' | |
| sudo systemctl daemon-reload | |
| # https://askubuntu.com/questions/862176/how-to-fix-a-start-job-is-running-for-the-raise-network-in-ubuntu-server-16/961733#961733 |
#NoSQLデータモデリング技法
原文:NoSQL Data Modeling Techniques « Highly Scalable Blog
I translated this article for study. contact matope[dot]ono[gmail] if any problem.
NoSQLデータベースはスケーラビリティ、パフォーマンス、一貫性といった様々な非機能要件から比較される。NoSQLのこの側面は実践と理論の両面からよく研究されている。ある種の非機能特性はNoSQLを利用する主な動機であり、NoSQLシステムによく適用されるCAP定理がそうであるように分散システムの基本的原則だからだ。一方で、NoSQLデータモデリングはあまり研究されておらず、リレーショナルデータベースに見られるようなシステマティックな理論に欠けている。本稿で、私はデータモデリングの視点からのNoSQLシステムファミリーの短い比較といくつかの共通するモデリングテクニックの要約を解説したい。
本稿をレビューして文法を清書してくれたDaniel Kirkdorfferに感謝したいと思う
| silent_time: | |
| start: '00:00:00' | |
| end: '12:00:00' | |
| behavior: 'ignore' # or ignore | |
| volume: 0.05 | |
| notices: | |
| - event: '.*?Received Notification:.*?username:(.*?), sender user id:.*?type:invite.*' | |
| sound: 'invite.wav' | |
| message: 'さんからインバイトが届きました' |
| - "name": "-お布団-" | |
| "screen_name": "@Ohuton5732" | |
| - "name": "-トオル-" | |
| "screen_name": "@Toru_rzr" | |
| - "name": ".HISAKUN" | |
| "screen_name": "@hisakunsan" | |
| - "name": "105bank" | |
| "screen_name": "@105bank" | |
| - "name": "27Cobalter" | |
| "screen_name": "@27Cobalter" |
| import time | |
| sset = set() | |
| arr = [] | |
| def main(): | |
| for _ in range(3): | |
| start = time.time() | |
| for i in range(50): |
| import time | |
| import re | |
| def tail(thefile): | |
| # thefile.seek(0, 2) | |
| while True: | |
| line = thefile.readline() | |
| if not line: | |
| time.sleep(0.5) |