The always enthusiastic and knowledgeable mr. @jasaltvik shared with our team an article on writing (good) Git commit messages: How to Write a Git Commit Message. This excellent article explains why good Git commit messages are important, and explains what constitutes a good commit message. I wholeheartedly agree with what @cbeams writes in his article. (Have you read it yet? If not, go read it now. I'll wait.) It's sensible stuff. So I decided to start following the
This file contains 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 | |
# -*- coding: utf-8; py-indent-offset:4 -*- | |
from __future__ import (absolute_import, division, print_function, | |
unicode_literals) | |
import sys | |
import time | |
from datetime import datetime, timedelta | |
import backtrader as bt | |
import ccxt |
This file contains 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
## Install Oracle Java 8 | |
FROM ubuntu:16.04 | |
MAINTAINER Huong Nguyen [email protected] | |
# Update the package repository | |
RUN echo "deb http://archive.ubuntu.com/ubuntu xenial main universe" > /etc/apt/sources.list | |
RUN apt-get -y update | |
# Install python-software-properties | |
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y -q python-software-properties software-properties-common |
This file contains 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 asyncio | |
import aiohttp | |
from aiohttp import web | |
class WebsocketProxy(object): | |
def __init__(self, upstream_url): | |
self.upstream_url = upstream_url |