Skip to content

Instantly share code, notes, and snippets.

View pahaz's full-sized avatar
🛠️
Yo ho ho

Pavel White pahaz

🛠️
Yo ho ho
View GitHub Profile
@pahaz
pahaz / AsciiArtImage.cs
Last active August 29, 2015 14:09
Simple Ascii Art Image
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class AsciiArtImage
{
static int[][] makeZebraImg(int width, int height)
{
@pahaz
pahaz / dowloader.py
Created November 19, 2014 09:55
hack parsing task
import threading
import requests as r
import re
__author__ = 'pahaz'
def download(_from, _to, lock, f):
for i in range(_from, _to):
s = r.session()
import os
__author__ = 'pahaz'
from dulwich.server import Backend, UploadPackHandler, ReceivePackHandler
from dulwich.repo import Repo
from dulwich import log_utils
from dulwich.server import (
TCPGitServer,
)