This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # ============================================================================= | |
| # Install AzCopy on Linux | |
| # https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-v10 | |
| # https://github.com/Azure/azure-storage-azcopy | |
| # ----------------------------------------------------------------------------- | |
| # Developer.......: Andre Essing (https://www.andre-essing.de/) | |
| # (https://github.com/aessing) | |
| # (https://twitter.com/aessing) | |
| # (https://www.linkedin.com/in/aessing/) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import sys | |
| import re | |
| import json | |
| import numpy as np | |
| from PIL import Image | |
| import chainer | |
| import chainer.cuda |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from __future__ import division, print_function, absolute_import | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| from matplotlib.patches import Arc | |
| from matplotlib.collections import PatchCollection | |
| __all__ = ['arcs'] | |
| def arcs(x, y, w, h=None, rot=0.0, theta1=0.0, theta2=360.0, | |
| c='b', vmin=None, vmax=None, **kwargs): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $> brew cask install java | |
| $> brew install kafka | |
| $> vim ~/bin/kafka | |
| # ~/bin/kafka | |
| #!/bin/bash | |
| zkServer start | |
| kafka-server-start.sh /usr/local/etc/kafka/server.properties |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import turtle | |
| D = 90 | |
| L = 10 | |
| def iterate(axiom, num=0, initator='F'): | |
| """ | |
| Compute turtle rule string by iterating on an axiom |