Links to the original text: http://www.cnblogs.com/LeeYongze/archive/2010/11/18/1880990.html
There are two ways for asp.net to get the mac address of the client login
1. Through the win32 feature,
Advantages: No need to set up in th ...
Posted on Sun, 06 Oct 2019 09:31:55 -0700 by DigitalNinja
Recently, when learning to crawl Pexels pictures, we found that the code in the book will throw out ConnectionError. After consulting the data, we know that it may be too frequently forbidden to apply to the web page, and Time.sleep() can be used to slow down the crawling speed. However, considering ...
Posted on Sat, 05 Oct 2019 08:45:05 -0700 by bloo
From today on, I will record the footprints of in-depth learning. The purpose is very simple. I have nearly three weeks of correctly labeled validation codes. I want to train a usable model from scratch.
Although I know there are many related models and demo s on the Internet, I still hope that I can personally develop a useful one. The main l ...
Posted on Sat, 05 Oct 2019 03:22:49 -0700 by dodginess
hash salt encryption
from werkzeug.security import generate_password_hash,check_password_hash
method = 'pbkdf2:sha1:2000'
salt_length = 8
str_encode = g ...
Posted on Sat, 05 Oct 2019 01:30:38 -0700 by alexweber15
Centos7 php-fpm root runs and executes system commands such as kill
The current system is installed in the Pagoda environment, PHP environment in the following directory: / www/server/php/72/etc.
pid = /www/server/php/72/var/run/php-fpm.pid
error_log = /www/server/php/72/var/log/php-fpm.log
log_level = notice
Posted on Fri, 04 Oct 2019 18:18:13 -0700 by Kerblam
Solution: (1) Ext.getCmp(id).setText('XXXX') can dynamically set the text value displayed by label, but there are individual numbers in the text that need to change the color display, need to add style, this method will display the styled label (html) in a text manner, but not be parsed by browsers. (2) Ext.getCmp(id).getEl().update ...
Posted on Fri, 04 Oct 2019 16:20:02 -0700 by Altairzq
SNMPTrap monitoring is mainly used to monitor the active notification of equipment failure, such as storage monitoring of hard disk failure, network monitoring jitter.
The overall process description is as follows:
1. The monitored object sends SNMPTrap information to the snmptrapd(Net-SNMP) server.
Posted on Fri, 04 Oct 2019 13:55:33 -0700 by rolajaz
This paper is a paper. Attention Is All You Need (Transformer) Of Implementation of Tensorflow . I found a Tensorflow implementation code on github. I ran the data processing part. The model trained my notebook could not run, so I only ran a step to get the translation situation and corresponding lo ...
Posted on Fri, 04 Oct 2019 13:53:34 -0700 by Defibber
NFS network file system is often used to share static resources such as audio, video, pictures and so on. Shared resources will be placed in the shared directory of NFS and accessed through server mount.
yum install -y nfs-utils rpcbind
yum install -y nfs-utils
yum install -y rpcbind
Client installa ...
Posted on Fri, 04 Oct 2019 13:19:26 -0700 by hyp0r
This article describes how to encapsulate a java application (cspj) using docker applications. This java application involves data persistence and RMI calls.
1. Introduction to docker
docker is a container technology that encapsulates operating systems, file systems, networks, and so on, enabling the processes to run intact.
Docker and virtual ...
Posted on Fri, 04 Oct 2019 12:38:01 -0700 by keigowei