(https://github.com/sandino/Markdown-Cheatsheet) (перевод, оригинал)
Поиграть с разметкой Markdown можно на демо-странице.
(https://github.com/sandino/Markdown-Cheatsheet) (перевод, оригинал)
Поиграть с разметкой Markdown можно на демо-странице.
Бесплатная книга-сайт на русском, полный гайд
Advanced Bash-Scripting Guide
BASH — Bourne-Again SHell (что может переводится как «перерожденный шел», или «Снова шел Борна(создатель sh)»), самый популярный командный интерпретатор в юниксоподобных системах, в особенности в GNU/Linux. Ниже приведу ряд встроенных команд, которые мы будем использовать для создания своих скриптов.
>break выход из цикла for, while или until
| VS-L-6WJ47DAE69Q3EDKY-5SPL9AAL81UM5GL9-DF3N9JL5AT46EML4-AK7PNN3XDAA31U14 Valentina Studio Free: New Linux |
| # User input - common syntax | |
| input("Please enter the string you want to be printed out: ") | |
| #Saving the input to a variable | |
| user_says = input("Please enter the string you want to be printed out: ") | |
| #Defining a Variable | |
| my_var = 10 #type - integer |
When I create a .json file in PyCharm and put in some JSON, I'm expecting it to format it as per the format shown under File-> Settings-> Editor-> Code Style-> JSON.
But instead, my code stays as it is - e.g. more than one JSON key value pair on the same line, like this:
| import asyncio | |
| import os | |
| import logging, warnings | |
| os.environ["PYTHONASYNCIODEBUG"] = "1" | |
| logging.basicConfig(level=logging.DEBUG) | |
| logging.getLogger("asyncio").setLevel(logging.DEBUG) | |
| warnings.resetwarnings() |
This document is a quick cheat sheet showing how the PEP 484 type annotation notation represents various common types in Python 3.