待收藏整理篇

  • 内网穿透的几种方式
  • Emoji 表情代码大全
  • shell 特殊变量
  • 文献管理mendeley
  • js prototype 原型链
  • RPC框架原理简述
  • py2 py3共存

python实现RESTful服务

  • flask | flask-restful 框架实现 restful

高质博文

  • cURL 的十种常见用法
  • shell 编程
  • ReentrantLock
  • netty深入
  • dubbo梁飞

抽取

创建 Dockerfile touch Dockerfile

FROM nvidia/cuda:8.0-cudnn6-devel-ubuntu16.04
MAINTAINER Tyan 


# Install basic dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
        build-essential \
        cmake \
        git \
        wget \
        libopencv-dev \
        libsnappy-dev \
        python-dev \
        python-pip \
        tzdata \
        vim


# Install anaconda for python 3.6
RUN wget --quiet https://repo.continuum.io/archive/Anaconda3-5.0.1-Linux-x86_64.sh -O ~/anaconda.sh && \
    /bin/bash ~/anaconda.sh -b -p /opt/conda && \
    rm ~/anaconda.sh && \
    echo "export PATH=/opt/conda/bin:$PATH" >> ~/.bashrc


# Set timezone
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime


# Set locale
ENV LANG C.UTF-8 LC_ALL=C.UTF-8


# Initialize workspace
RUN mkdir /workspace
WORKDIR /workspace

docker 构建 docker build -t anaconda35 .
运行 docker run -ti --rm anaconda35

你可能感兴趣的:(待收藏整理篇)