判断用户是否关注公众号

https://www.zhihu.com/question/27080937

https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421140839

 

通过服务号网页授权接口获取你相对于这个公众号的o[……]

继续阅读

docker api暴露端口

https://forums.docker.com/t/expose-the-docker-remote-api-on-centos-7/26022/2

 

/etc/systemd/system/docker.service.d/docker.conf  或  /etc/sy[……]

继续阅读

php

php开源商城

tinyshop: http://www.tinyrise.org/

Fecshop: https://gitee.com/mirrors/fecshop

Git

How to Install Git 2.14.0 on CentOS/RHEL 7/6 & Fedora 26/25/24

How to Install Git 2.14.0 on CentOS/RHEL 7/6 & Fedora 26/25/24

 

Git has released 2.14.0 version on Aug 04, 2017. Git is a free and op[……]

继续阅读

超简单将Centos的yum源更换为国内的阿里云源

http://blog.csdn.net/chavo0/article/details/51939362

 

自己的yum源不知道什么时候给改毁了……搜到了个超简单的方法将yum源更换为阿里的源

完全参考

http://mirrors.aliyun.com/help[……]

继续阅读

kubernetes在线playground

https://www.katacoda.com/courses/kubernetes/playground

http://labs.play-with-k8s.com/

CSS

6 Methods For Vertical Centering With CSS

6 Methods For Vertical Centering With CSS

 

Centering elements vertically with css is something that often gives designers trouble. There a[……]

继续阅读

CSS

button垂直居中

https://stackoverflow.com/questions/33631177/using-vertical-align-to-vertically-center-a-button-within-a-div

 

Credit to @andy-furniss for[……]

继续阅读

Kubernetes集群中Service的滚动更新

http://tonybai.com/2017/02/09/rolling-update-for-services-in-kubernetes-cluster/

 

在移动互联网时代,消费者的消费行为已经“全天候化”,为此,商家的业务系统也要保持7×24小时不间断地提供服务以满[……]

继续阅读

docker1.12.3 docker-swarm创建与管理集群(一)

http://www.troylc.cc/docker/2017/02/07/Docker07docker-swarm01.html

 

Docker Engine 1.12或更高版本中内置了集群管理和编排功能。Swarm模式侧重于微服务架构。它支持服务协调,负载平衡,服务发现[……]

继续阅读