Keybase proof
I hereby claim:
- I am piotrzakrzewski on github.
- I am piotrzakrzewski (https://keybase.io/piotrzakrzewski) on keybase.
- I have a public key ASAu2338QxVxUiOEJ48YaZyaR2Ah2eaDKPBGnYfziMqxhAo
To claim this, I am signing this object:
"""List function calls within a Python function declaration with the ast module.""" | |
import ast | |
class PrintCalls(ast.NodeVisitor): | |
def visit_Call(self, node): | |
print(node.func.id) | |
code = """def fun(a:int) -> int: | |
b = util_fun(a) |
from github import Github | |
from time import time | |
from calendar import timegm | |
from statistics import median | |
import requests | |
import json | |
GITHUB_API_TOKEN = "REPLACE_ME" | |
WEBHOOK_URL = "REPLACE_ME" | |
TARGET_ORG = "REPLACE_ME" |
I hereby claim:
To claim this, I am signing this object:
import numpy as np | |
import random | |
ILOSC_KREGOW = 9 | |
probabilities = np.array([np.exp(-x) for x in range(ILOSC_KREGOW) ]) | |
normalized_probs = probabilities / np.sum(probabilities) # teraz ich suma to 1.0 | |
print("Prawdopodobienswa po normalizacji", normalized_probs) | |
normalized_probs = list(normalized_probs) |
sudo apt-get update | |
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
sudo apt-add-repository 'deb https://apt.dockerproject.org/repo ubuntu-xenial main' | |
sudo apt-get update | |
apt-cache policy docker-engine | |
sudo apt-get install -y docker-engine |
#!/bin/python | |
import click | |
from os import walk, makedirs | |
from os.path import join | |
from shutil import copy | |
@click.command() | |
@click.option('--source', help="""Path to the grails 2 project""", type=file) | |
@click.option('--destination', | |
help="""Path to the bootstrapped grails 3 project""", type=file) |
#Patient Registration
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> | |
<SOAP-ENV:Header/> | |
<SOAP-ENV:Body> | |
<createResponse xmlns="http://openclinica.org/ws/study/v1"> | |
<result xmlns="http://openclinica.org/ws/study/v1">Fail</result> | |
<error xmlns="http://openclinica.org/ws/study/v1">No study identifier was provided</error> | |
</createResponse> | |
</SOAP-ENV:Body> | |
</SOAP-ENV:Envelope> |