Script Home
  • ZABBIX monitoring docker container status [recommended]

    +Read more
    Author:zyq / Release:2018-6-4 / category:python / crowd0 views time+ / sofa /
    Preface: in the previous period in the deployment of ZABBIX, there is a need to monitor the status of the container is the occupation of CPU memory IO, so I wrote a script, and the template, share a hey hey: waste I will not say much, directly start the first choice, zabbix_agentd configurat...
  • Python Logging log entry learning

    +Read more
    Author:zyq / Release:2018-6-2 / category:python / crowd0 views time+ / sofa /
    Python Logging is really much more complicated than I imagined, and the learning route is comparable to GIT. However, the alternatives is not enough, so we must attach importance to it. We must learn from it conscientiously and conscientiously. learning Logging's purpose: simple script is fin...
  • Building method of Caffe environment based on docker

    +Read more
    Author:zyq / Release:2018-6-2 / category:python / crowd0 views time+ / sofa /
    has been familiar with docker for a long time when it's docker, and since it's been a weapon, it has never been a chance to use it. These days, it's time to use Docker in the Caffe environment. requirements: build an independent container, which installs all the dependencies of Caffe and runs ...
  • Using Django to start the command line and execute script

    +Read more
    Author:zyq / Release:2018-5-29 / category:python / crowd0 views time+ / sofa /
    uses Django to start the command line and script, so it can be easily used to develop Django framework, for example, the operation of database. below, respectively, describes the use of methods. django shell startup boot command: $/data/python-virtualenv/apple/bin/python /data/example/app...
  • Python3 connection MySQL database instance detailed solution

    +Read more
    Author:zyq / Release:2018-5-24 / category:python / crowd0 views time+ / sofa /
    example for you to share the specific code of the python3 connection MySQL database for you for your reference. The details are as follows: #python3 connects MySQL instance import pymysql "" "import the package that connects MySQL needs, and no installation pymysql needs to be installed with t...
  • Matplotlib savefig an example of saving the size of the picture

    +Read more
    Author:zyq / Release:2018-5-24 / category:python / crowd0 views time+ / sofa /
    in the use of Matplotlib drawing, if the diagram is larger, the drawing will block the line in the diagram, then you can use the following statements to draw the illustration to the outside of the diagram: plt.legend (bbox_to_anchor= (1.01, 1), loc=2, borderaxespad=0., handleheight=1.675) < / ...
  • Python uses smtplib to send mail to QQ mailboxes

    +Read more
    Author:zyq / Release:2018-5-23 / category:python / crowd0 views time+ / sofa /
    python's smtplib provides a convenient way to send e-mail. It has a simple encapsulation of the SMTP protocol. below is an example of using smtplib to send mail to QQ mailbox. must first open the SMTP service of the QQ mailbox and open it in the settings account of the QQ mailbox's personal ho...

0Wide search 1Web Design 2Script 3Network Programming 4Database 5Operating system 6Network Security