This file contains hidden or 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
| [Как варить гречку] | |
| http://www.timeboil.ru/cereals/buckwheat/ | |
| 1. Перед варкой гречку необходимо перебрать; важно, чтобы в готовую гречку не попали камушки и растительный мусор. | |
| 2. Промыть гречку под холодной водой и слить воду. | |
| 3. Разогреть сковородку, высыпать гречку, пару минут прогреть гречку на сковородке (без масла) на тихом огне, - тогда после варки она будет рассыпчатой. | |
| 4. Налить в кастрюлю холодной воды - в 2,5 раза больше, чем гречки: на 1 стакан гречки 2,5 стакана воды. Посолить воду. | |
| 5. Всыпать гречку в воду. | |
| 6. Поставить кастрюлю на тихий огонь, довести до кипения, добавить 1 чайную ложку сливочного масла. | |
| 7. Гречку варить на медленном огне, под крышкой, 20 минут. | |
| 8. Подавать гречку на гарнир со сливочным маслом и зеленью. |
This file contains hidden or 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
| DIRS = . static/js/base64.coffee static | |
| COFFEE_SCRIPTS = $(basename $(foreach dir,$(DIRS),$(wildcard $(dir)/*.coffee))) | |
| #GEN_POPUPS := $(basename $(shell find data/ ! -name "html.py" -name "*.py")) | |
| CJXS_SCRIPTS = $(basename $(foreach dir,$(DIRS),$(wildcard $(dir)/*.cjsx))) | |
| PY_EXT=.py | |
| PYTHON=python | |
| CHDIR_SHELL := $(SHELL) | |
| define chdir | |
| $(eval _D=$(firstword $(1) $(@D))) |
This file contains hidden or 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
| .PHONY: all | |
| # https://gist.github.com/kostyll/e1bba8506c2cb08352fc | |
| # install git-crypt from https://github.com/AGWA/git-crypt.git | |
| REQFILE=requirements.txt | |
| TESTDUMMY=test/test_dummy.py | |
| GITATTRIBUTES=.gitattributes | |
| GITIGNORE=.gitignore | |
| KEY=key.bin |
This file contains hidden or 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
| class Singleton(type): | |
| _instances = {} | |
| def __call__(cls, *args, **kwargs): | |
| if cls not in cls._instances: | |
| cls._instances[cls] = super(Singleton, cls).__call__(*args, **kwargs) | |
| return cls._instances[cls] | |
| class Notifier(object): | |
| __metaclass__ = Singleton |
This file contains hidden or 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
| openssl req -nodes -x509 -newkey rsa:2048 -keyout server.pem -out server.pem -days 1 && openssl s_server -tls1 -www -accept 1337 |
This file contains hidden or 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
| https://linuxcenter.kz/page/ustanavlivaem-ms-directx9x-v-wine | |
| user$ wget http://winetricks.org/winetricks | |
| user$ sh winetricks d3dx9 |
This file contains hidden or 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
| from __future__ import with_statement # for 2.5 | |
| # SOURCE : http://stackoverflow.com/questions/2463770/python-in-memory-zip-library/19722365#19722365 | |
| import zipfile | |
| try: | |
| from cStringIO import StringIO | |
| except ImportError: | |
| from io import BytesIO as StringIO |
This file contains hidden or 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
| for root, dirnames, filenames in os.walk('btctradeapicomua'): | |
| for filename in fnmatch.filter(filenames, "*.py"): | |
| filepath = os.path.join(root, filename) | |
| print filepath | |
| """ | |
| btctradeapicomua/__init__.py | |
| btctradeapicomua/docs/source/conf.py | |
| btctradeapicomua/workers/collector.py | |
| btctradeapicomua/workers/__init__.py | |
| btctradeapicomua/examples/collector.py |
This file contains hidden or 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
| Log output | |
| The area below shows the logging calls in your code. These correspond to a single row within the CloudWatch log group corresponding to this Lambda function. Click here to view the CloudWatch log group. | |
| START RequestId: 2644abca-b08d-11e5-a8cb-e1cccca020f0 Version: $LATEST | |
| Unable to import module 'lambda_function': No module named lambda_function | |
| END RequestId: 2644abca-b08d-11e5-a8cb-e1cccca020f0 | |
| REPORT RequestId: 2644abca-b08d-11e5-a8cb-e1cccca020f0 Duration: 72.41 ms Billed Duration: 100 ms Memory Size: 128 MB Max Memory Used: 8 MB |
This file contains hidden or 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
| 2017 netcat eth0 | |
| 2018 netstat | |
| 2019 netstat | grep openss | |
| 2020 netstat | grep open | |
| 2021 ls | |
| 2022 wine openssl.exe req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365 -nodes | |
| 2023 wine openssl.exe s_server -key key.pem -cert cert.pem -accept 44330 -www | |
| 2024 echo hello | wine openssl.exe s_server -key key.pem -cert cert.pem -accept 44330 -www | |
| 2025 echo hello | wine openssl.exe s_server -key key.pem -cert cert.pem -ciphers RC4-SHA -accept 44330 -www | |
| 2026 echo hello | wine openssl.exe s_server -key key.pem -cert cert.pem -ciphers RC4-SHA -accept 44330 -www |