November 16, 2018

(416) 944-3419

今天翻 kenengba 文章的时候,在一篇 文章 下面看到一句话: 如果天空是黑暗的,那就摸黑生存;如果发出声音是危险的,那就保持沉默;如果自觉无力发光的,那就蜷伏于墙角。但不要习惯了黑暗就为黑暗辩护;不要为自己的苟且而得意;不要嘲讽那些比自己更勇敢热情的人们。我们可以卑微如尘土,不可扭曲如蛆虫。 - dabg 共勉

October 29, 2018



October 29, 2018

Docker Get Started

Here is an example of running a flask app in docker. Write the Dockerfile # Use an official Python runtime as a parent image FROM python:2.7-slim # Set the working directory to /app WORKDIR /app # Copy the current directory contents into the container at /app COPY . /app # Install any needed packages specified in requirements.txt RUN pip install --trusted-host -r requirements.txt # Make port 80 available to the world outside this container EXPOSE 80 # Define environment variable ENV NAME World # Run app. Read more

September 5, 2018


Why write the docs You will be using your code in 6 months You all know why!!! If only I had written down why I had done this, life would be much simpler. – someone Documentation allows you to transfer the why behind code. Much in the same way code comments explain the why, and not the how, documentation serves the same purpose. You want people to use your code You released your code into world, and thought that others might use it. Read more

August 24, 2018

Hello World

Insert Lead paragraph here. Hello World Markdown Markdown is a text formatting syntax inspired on plain text email. In the words of its creator, John Gruber: The idea is that a Markdown-formatted document should be publishable as-is, as plain text, without looking like it’s been marked up with tags or formatting instructions. Syntax Guide Strong and Emphasize *emphasize* **strong** _emphasize_ __strong__ Shortcuts Add/remove bold: ⌘-B for Mac / Ctrl-B for Windows and Linux Read more

2018 © Evan Lau