Skip to content

Instantly share code, notes, and snippets.

View theyoprst's full-sized avatar
🦔

Slava Ezhkin theyoprst

🦔
View GitHub Profile
07 % go test -count 1 -v .
=== RUN Test
=== RUN Test/SolvePart1
=== RUN Test/SolvePart1/input_ex1.txt
=== RUN Test/SolvePart1/input.txt
=== RUN Test/SolvePart2
=== RUN Test/SolvePart2/input_ex1.txt
=== RUN Test/SolvePart2/input.txt
--- PASS: Test (0.01s)
--- PASS: Test/SolvePart1 (0.01s)
@theyoprst
theyoprst / BBoM.markdown
Last active April 20, 2019 09:25
Правки к переводу "Большого комка грязи"

Легенда

  • ++Ё++ – следует добавить Ё
  • --Ё-- – следует удалить Ё (стандартное зачеркивание не всегда заметно)
  • Было -> Стало – Следует "Было" заменить на "Стало"

Орфография и пунктуация

  • Программисты++,++ хоть немного понимающие архитектуру, обходят это болото стороной
  • Почему эта --эта-- архитектура так популярна?
  • Чаще всего--,-- изменения затрагивают отдельные здания
  • изиеняющихся -> изменяющихся
> python test_retry_streamed_upload.py
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1
PUT / HTTP/1.1
Host: 127.0.0.1:52598
Connection: keep-alive
Accept-Encoding: gzip, deflate
Accept: */*
User-Agent: python-requests/2.11.1
Content-Length: 6888889
import logging
import SocketServer as socketserver
import threading
import time
import requests
from requests.packages.urllib3.util.retry import Retry
from requests.adapters import HTTPAdapter
@theyoprst
theyoprst / gist:3149927
Created July 20, 2012 09:49 — forked from lucasfais/gist:1207002
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@theyoprst
theyoprst / gist:3146061
Last active April 20, 2019 07:56
Test gist

Test