Easter79 Easter79
4年前
tp3.2 生成带logo的二维码
下载phpqrcode整合到Thinkphp框架在“ThinkPHP\\Library\\Vendor\\”下新建目录phpqrcode,将压缩包内容解压到该文件夹下。调用phpqrcode生成二维码在IndexController控制器下添加如下方法:
GoCoding GoCoding
4年前
Prometheus + Grafana 快速上手
快速上手,监控主机的CPU,GPU,MEM,IO等状态。前提客户端NodeExporter用于采集UNIX内核主机的数据,并解压:bashwgethttps://github.com/prometheus/nodeexporter/releases/download/v1.1.2/nodeexporter1.1.2.linux
Wesley13 Wesley13
4年前
TCP连接的TIME_WAIT和CLOSE_WAIT 状态解说【转】
相信很多运维工程师遇到过这样一个情形:用户反馈网站访问巨慢,网络延迟等问题,然后就迫切地登录服务器,终端输入命令"netstatanp|grepTIME\_WAIT|wcl"查看一下,接着发现有几百几千甚至几万个TIME\_WAIT连接数.顿时慌了~12345678910111
Stella981 Stella981
4年前
C#发送内置图片的html格式邮件的代码
将写内容过程经常用的内容段备份一次,下面的内容是关于C发送内置图片的html格式邮件的内容,应该对码农们也有用处。MailMessagemnewMailMessage();m.Subject"htmlemailwithembeddedimagecoming!";stringhtmlBody"<htm
Stella981 Stella981
4年前
Kubernetes学习之路(三)之Mater节点二进制部署
K8SMater节点部署1、部署KubernetesAPI服务部署apiserver提供集群管理的RESTAPI接口,包括认证授权、数据校验以及集群状态变更等。只有APIServer才能直接操作etcd;其他模块通过APIServer查
Stella981 Stella981
4年前
Notepad++和MinGW的安装和配置
http://blog.csdn.net/cclovepl/article/details/70568313http://blog.csdn.net/cclovepl/article/details/70520412http://blog.csdn.net/guang670248515/article/details/70186454http:/
Wesley13 Wesley13
4年前
Mysql优化操作学习纪录
SHOWSTATUS;FLUSHSTATUS;查看当前连接数SHOWSTATUSLIKE'Thread\_%';Thread\_cached:被缓存的线程的个数Thread\_running:处于激活状态的线程的个数Thread\_connected:当前连接的线程的个数Thread\_created:总共被创建
Stella981 Stella981
4年前
Nginx打印请求头和响应头
http{log_formatlog_req_resp'$remote_addr$remote_user$time_local''"$request"$status$body_bytes_sent'"$http_referer""$http_user_agent"$http_x_real_
Stella981 Stella981
4年前
React对state的初级理解
props是参数,个个Class之间传值用的。state则为某个Class的内部状态,Class需要根据这个state是否改变而做出改变;<div id"content"</div    <script type"text/babel"      var CommentForm  React.createC
Stella981 Stella981
4年前
Android官方实现的层次状态机Hierarchical State Machine源代码
Android官方内部的源代码中实现了一套层次状态机(HierarchicalStateMachine),总共有三个代码文件:IState.java,State.java,StateMachine.java,目录位置在:https://android.googlesource.com/platform/frameworks/base//re