I hereby claim:
- I am hronecviktor on github.
- I am zamr666 (https://keybase.io/zamr666) on keybase.
- I have a public key ASCkRiJXl2Csl4pLg-gO9lN4eI3TXsSLJLj3KI2rdVzlZQo
To claim this, I am signing this object:
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-repo-ubuntu1804_10.0.130-1_amd64.deb | |
sudo dpkg -i cuda-repo-ubuntu1804_10.0.130-1_amd64.deb | |
sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub | |
sudo apt-get update && sudo apt-get install cuda build-essential gcc golang python3.7-dev git htop screen linux-headers-$(uname -r) nvidia-cuda-toolkit -y | |
export GOPATH=$HOME/.go | |
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin | |
curl https://glide.sh/get | sh | |
cd $HOME/.go/src/github.com/uber/aresdb | |
export LD_LIBRARY_PATH=/usr/local/cuda-10.0/lib64:$HOME/.go/src/github.com/uber/aresdb/lib:${LD_LIBRARY_PATH} | |
cd $HOME/.go/src/github.com/uber/aresdb/api/ui/swagger |
--- index.html.bkp 2019-02-06 14:20:23.897231955 +0000 | |
+++ index.html 2019-02-06 14:20:15.904576484 +0000 | |
@@ -3,7 +3,7 @@ | |
<head> | |
<meta charset="UTF-8"> | |
<title>AresDB Swagger UI</title> | |
- <link rel="stylesheet" type="text/css" href="../node_modules/swagger-ui-dist/swagger-ui.css"> | |
+ <link rel="stylesheet" type="text/css" href="swagger-ui.css"> | |
<link rel="icon" type="image/png" href="../node_modules/swagger-ui-dist/favicon-32x32.png" sizes="32x32"/> | |
<link rel="icon" type="image/png" href="../node_modules/swagger-ui-dist/favicon-16x16.png" sizes="16x16"/> |
import asyncio | |
from collections import defaultdict | |
from pprint import pprint | |
import socket | |
import sys | |
from aiohttp import ClientSession, TCPConnector | |
TIMEOUT = 30 | |
MAX_CONNECTIONS = 100 |
def infinity(): | |
i = 0 | |
while True: | |
yield i | |
i += 1 | |
for x in infinity(): | |
# do shit | |
pass |
I hereby claim:
To claim this, I am signing this object:
__author__ = 'zamr' | |
from PIL import Image | |
#GETS A GRID | |
def getPixels(pix,w,h): | |
lines=[] | |
for _h in range(h): | |
line=[] | |
for _w in range(w): | |
if pix[_w,_h]==0: |
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" /> | |
</project> | |
import sys | |
from bs4 import BeautifulSoup | |
from collections import namedtuple as nt | |
import re | |
import requests | |
def getStop(stop): | |
r = requests.get("http://imhd.zoznam.sk/ba/vyhladavanie.html?hladaj="+stop) | |
data = r.text |
import sys | |
from bs4 import BeautifulSoup | |
from collections import namedtuple as nt | |
import re | |
import requests | |
def getAtoB(startingStop, endStop): | |
r = requests.get("http://imhd.zoznam.sk/ba/planovac-cesty-vyhladanie-spojenia.html?spojenieodkial="+startingStop+"&spojeniekam="+endStop) |
import sys | |
from bs4 import BeautifulSoup | |
from collections import namedtuple as nt | |
import re | |
import requests | |
def getAtoB(startingStop, endStop): | |
#vych = "Damborskeho" | |
#cielova = "Trhovisko" |