Skip to content

Instantly share code, notes, and snippets.

Andriy Drozdyuk drozzy

  • Ottawa, Canada
Block or report user

Report or block drozzy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Self Printing Program
x = ['print "x=", x', 'print "#Hello World"', 'for i in x: print i']
#Hello World
print "x =", x
print "#Hello World"
for i in x: print i
drozzy /
Last active Dec 3, 2015
Event system based on git model
import itertools
from uuid import uuid4
class Event(object):
def __init__(self, id_, value):
self.id_ = id_
self.value = value
class Aggregate(object):
drozzy / XYPlorer
Last active Mar 18, 2016
XYPlorer Scripts
View XYPlorer


Collection of commandlets to add to XYPlorer catalog. Why? Because you can't right click on catalog items and pick "Open With". For all scripts: pick "Go to Location" and "Single instance".


Will open the current directoy in Git Bash.

run '"C:\Program Files\Git\git-bash.exe"';

drozzy /
Last active Nov 21, 2018
FMC ( compositional and dynamic elements libraries


This is just some stencils I created for myself to draw FMC ( diagrams with

Here is how they look:



View webhook_post
"action": "reopened",
"number": 2,
"pull_request": {
"url": "",
"id": 75922888,
"html_url": "",
"diff_url": "",
"patch_url": "",
"issue_url": "",
drozzy /
Last active Mar 7, 2018
Docker Compose example of Logspout and OKLog

This is an example of how to automatically log all the messages from docker containers. Logspout listens to containers and automatically routes the logs to OKLog.

To run the example simply issue:

docker-compose up -d

command. The test service here is simply to genereate a "Hello World" message. You would replace this with other services that are in your compose files.

You can browse UI here (there seem to be some issues with UI here, I'm not getting very consistent behavior):

You can’t perform that action at this time.