Skip to content

Instantly share code, notes, and snippets.

I may be slow to respond.

LQ haibinpark

I may be slow to respond.
View GitHub Profile
View gist:b95d9ffec00446b09fcfba5c914b8532
# -*- coding: utf-8 -*-
import os
import time
# 遍历指定目录,显示目录下的所有文件名
def convertWebp2JpgInDirectory(dir):
if os.path.isdir(dir):
View supervisor-tomcat.conf
haibinpark /
Created Jan 7, 2016 — forked from rgaidot/
Docker Resources All In One - A collection of docker online resources
View gist:6595679

This is a temporary workaround to have etcd listening on all interfaces so you can access it from docker containers.

Add a local etcd unit file

Create a file called /media/state/units/etcd-local.service that has the following contents:

Description=etcd local
You can’t perform that action at this time.