This file contains 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
def parse_params(http_parameters: dict, client_identicator): | |
error = {"status": 400} | |
actions = { | |
'current': Sale.current_abones(client_identicator), | |
'previous': Sale.previous_abones(client_identicator), | |
'all': Sale.all_abones(client_identicator) | |
} | |
try: | |
abones_info = http_parameters['abones_info'] |
This file contains 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
{ | |
"folders": [ | |
{ | |
"path": "." | |
} | |
], | |
"settings": { | |
"files.exclude": { | |
"**/.git": true, | |
"**/.svn": true, |
This file contains 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
## References: | |
# https://git.io/Jf3l9 | |
# https://circleci.com/docs/2.0/yarn/ | |
# https://circleci.com/docs/2.0/caching/#yarn-node | |
# https://circleci.com/orbs/registry/orb/circleci/node | |
# https://discuss.circleci.com/t/circleci-2-1-config-overview/26057 | |
version: 2.1 | |
orbs: | |
node: circleci/[email protected] |
This file contains 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
# Docker basic - http://gitlab.a-level.com.ua/yozh/linux-lectures/src/php/05DockerBasic.md | |
# Docker compose basic - http://gitlab.a-level.com.ua/yozh/linux-lectures/src/php/06DockerCompose.md | |
# Example of docker-compose setup - https://gitlab.com/yozh.sh/djangodrf-react-docker-template/-/blob/master/docker-compose.dev.yml | |
# Linux lectures http://gitlab.a-level.com.ua/yozh/linux-lectures/src/php | |
# docker-compose Makefile example - https://gitlab.com/yozh.sh/djangodrf-react-docker-template/-/blob/master/Makefile | |
# My personal Linux tools and commands - http://gitlab.a-level.com.ua/yozh/shpargalka |
This file contains 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
;; System-type definition | |
(defun system-is-linux() | |
(string-equal system-type "gnu-linux")) | |
;; Start Emacs as server | |
(when (system-is-linux) | |
(require 'server) | |
(unless (server-running-p) | |
(server-start))) |