• [official document] create a virtual environment in the directory specified by Anaconda


    You can create a virtual environment in the specified directory by specifying a path. For example, the following command will create a virtual environment called./envsAnd follow the packages of these later versions:conda create –prefix ./envs jupyterlab=0.35 matplotlib=3.1 numpy=1.16 Then, in the current working directory, you can use the name of the virtual environment, that is./envsActivate […]

  • C + + Basics: C + + references


    A reference variable is an alias, that is, it is another name for an existing variable. Once a reference is initialized to a variable, you can use the reference name or variable name to point to the variable. C + + reference vs pointer References are easily confused with pointers. There are three main differences […]

  • Windows CMD command management service


    Today, in the process of installing software on windows clean environment, after the installation is completed, it is found that the website deployed on IIS cannot be used, and you will be prompted   ” The parameters you submitted are incorrect!, Please resubmit“ Pure Windows 7 X64 bit environment, check   IIS installation and website […]

  • Emacs LISP (4) — variable


    1、 Reference Emacs series article directory – updating 2、 Variable 2.1 variable A variable consists of a symbolsymbolValues bound to symbolsvalueThe bound value can be Type of value Example numerical value 10 character string “such as this” list ‘(spruce pine oak) Function definition 2.2 possible errors in explanatory variables (1) Variables are treated as function […]

  • Learn a Linux command every day (55): ID


    Yesterday’s recommendation:Learn a Linux command every day (54): W Command introduction The ID command is used to view the uidgid of the user and the user group to which the user belongs. It should be noted that the uid is unique in the system and the identity of the user, but the GID can correspond […]

  • Namespace


    Namespaces are somewhat similar to types. Many members can be declared in types: fields, attributes and methods, while classes and interfaces can be declared in namespaces Namespace is a logical combination used to logically group the functions of types Members can define name, age and sex members into person types according to their relevanceType can […]

  • Unable to detach database solution


    use master go create proc killspid (@dbname varchar(20)) as begin declare @sql nvarchar(500),@temp varchar(1000) declare @spid int set @sql=’declare getspid cursor for select spid from sysprocesses where dbid=db_id(”’[email protected]+”’)’ exec (@sql) open getspid fetch next from getspid into @spid while @@fetch_status<>-1 begin set @temp=’kill ‘+rtrim(@spid) exec(@temp) fetch next from getspid into @spid end close getspid deallocate […]

  • Use the watermark file of the certificate photo Research Institute_ Name gets waterless photos


    Before, we have made a watermark certificate photo using the certificate photo interface, so how do we get a watermark free certificate photo? 1: Get the address of the waterless interface: http://apicall.id-photo-verif… 2: Post pass parameter file_ Name: the name of the image we need to get is the file_ we called before making the […]

  • Installing docker for Linux


    Docker installation Install dependent packages sudo yum install -y yum-utils device-mapper-persistent-data lvm2 Set alicloud image source sudo yum-config-manager –add-repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo Install docker CE sudo yum install docker-ce report errors –> Processing Conflict: 1:docker-ce-cli-18.09.6-3.el7.x86_64 conflicts docker –> Processing Conflict: 1:docker-ce-cli-18.09.6-3.el7.x86_64 conflicts docker-io –> Processing Conflict: 3:docker-ce-18.09.6-3.el7.x86_64 conflicts docker –> Processing Conflict: 3:docker-ce-18.09.6-3.el7.x86_64 conflicts docker-io –> Finished […]

  • IPad replaces MIDI keyboard


    Download and install rtpmidi(Network MIDI driver) Open rtpmidi and press + in “my session” to display the name of your computer automatically Check that the Bonjour service is running normally and the iPad is connected to the PC network normally Run MIDI keyboard program on iPad side, enter MIDI settings, set as network connection (can […]

  • Unable to connect docker Kafka broker and several important parameters of Kafka to solve internal and external network isolation


    1. Background For example, the previous big data environment is built through docker, which is undoubtedly the fastest way to learn, test and migrate, especially when you want to use the same environment in multiple environments,https://github.com/hulichao/docker-bigdataIn general, as long as you pay attention to do more port mapping than virtual machine, port mapping, that is, […]

  • Django basic course configuration file explanation


    Statement: the following is my personal understanding. If you find any mistakes or questions, you can contact me for discussion This tutorial is the third in the Django basic tutorial series. The previous chapters are linked in the following links: Introduction to Django Engineering construction of Django basic course brief introduction Learning Django can start […]