Skip to content

Instantly share code, notes, and snippets.

View kprovorov's full-sized avatar

Kirill Provorov kprovorov

View GitHub Profile
@mydropcrm
mydropcrm / registration.py
Created February 28, 2023 13:59
Monobank corporate API registration (/personal/auth/registration)
import requests
import json
import base64
import time
import ecdsa
import hashlib
# Docs - https://api.monobank.ua/docs/corporate.html#tag/Avtorizaciya-ta-nalashtuvannya-kompaniyi
if __name__ == '__main__':
@chadrien
chadrien / README.md
Last active July 18, 2024 08:31
Debug PHP in Docker with PHPStorm and Xdebug

Debug your PHP in Docker with Intellij/PHPStorm and Xdebug

  1. For your local dev, create a Dockerfile that is based on your production image and simply install xdebug into it. Exemple:
FROM php:5

RUN yes | pecl install xdebug \
&& echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \