Skip to content

Instantly share code, notes, and snippets.


Hsiao-Chieh Tsai Hunsin

View GitHub Profile
Hunsin / router.go
Last active Nov 23, 2021
The package wraps julienschmidt's httprouter, making it support functions such as middlewares, sub/group routing with same prefix. Written in Go (Golang).
View router.go
package router
import (
gpath "path"
Hunsin / jupytorch-cuda.Dockerfile
Last active May 14, 2019
A Jupyter Dockerfile with PyTorch installed
View jupytorch-cuda.Dockerfile
FROM continuumio/anaconda3:2019.03
RUN /opt/conda/bin/conda install pytorch torchvision cudatoolkit=10.0 -y --quiet -c pytorch
RUN /opt/conda/bin/conda install jupyter -y --quiet
RUN mkdir /opt/notebooks
Hunsin / zipper.go
Last active Jan 5, 2018
Tar and Un-tar Gzip files in Golang
View zipper.go
package main
import (