How to solve the problem of OpenSSL? Pkey? Export(): cannot get key from parameter 1 in windows system
In order to solve this problem, I Baidu many methods, but many methods have no effect.
Method 1:
If you are installing phpstudy, then
1. You need to go to php extension to open the extension.
2. Go to php.ini and remove the ";" before "extension=php_openssl.dll". If not, add extension=php_openssl.dll.
3. Copy libeay32.dll ...
Added by Aretai on Sat, 14 Dec 2019 17:33:49 +0200
One-line command for mysql to go struct
Githubd address
Chinese Documents | DOCUMENT
okcli can generate the specified data table as a corresponding model file and currently supports bringing column names, data types, default values, comments into the specified model.Like the following files:
import "time"
type (
Student struct {
Id int32 `db:"id"`
N ...
Added by blacksmoke26 on Sat, 14 Dec 2019 03:10:29 +0200
Windows API resolves IAT address
Complete code
#include <stdio.h>
#include <windows.h>
int main(int argc,char* argv[]){
/*
typedef struct _IMAGE_IMPORT_DESCRIPTOR {
union{
DWORD Characteristics;
DWORD OriginalFirstThunk;
};
DWORD TimeDateStamp;
DWORD ForwarderChain;
DWORD Name; ...
Added by turboprop on Fri, 13 Dec 2019 19:04:23 +0200
Learn crawler the next day: continue to climb the company's internal address book
import requests
from bs4 import BeautifulSoup
import re
#First, get headers from chrome, including user agent and cookie
headers = {
'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36',
'Cookie': 'tips=1...
}
#Get information about an individual ...
Added by mb81 on Wed, 11 Dec 2019 02:41:13 +0200
Boost.Asio Source Reading: Organization Structure
(This article is based on Boost 1.69)Boost.Asio code style.Asio divides the declaration and implementation of some of the more complex classes into two header files for readability, and include s the header file of the implementation at the end of the header file of the declaration.The impl folder contains header files for these implementations ...
Added by KDesigns on Tue, 10 Dec 2019 16:44:16 +0200
Error reporting of initialization temporary password after mysql8.0.11 is installed successfully
Error reporting of initialization temporary password after mysql8.0.11 is installed successfully
View mysql version number after successfully installing mysql 8.0.11
Execute the initialization command mysqld --initialize --console to report an error
Causes and Solutions
Log in to MySQL with a temporary password and change the ...
Added by KI114 on Tue, 10 Dec 2019 14:46:05 +0200
python script can delete files n days ago, which can be used in windows, linux and support cross platform
The script is as follows:
#!/usr/local/python/bin/python
# -*-coding=utf8 -*-
import time
import os, sys
# Set how many days before deleting files
N = 3
#To delete a path
path = r'/tmp/wry/abc'
def deletefile(path):
for eachfile in os.listdir(path):
filename = os.path.join(path, eachfile)
if os.path.isfile(filename):
...
Added by xzazx on Sun, 08 Dec 2019 17:24:14 +0200
Use Requests and beautiful soup to crawl the girl map
Project Description:
Python novice, the first crawler project, web crawler is an activity that can enhance the interest of programming learning, so that Python learning is no longer boring.
Python version 3.7.2
Modules needed: requests, os, beautiful soup
Crawler destination https://www.mzitu.com/xinggan/
Project realization:
First, import the ...
Added by satheshf12000 on Sun, 08 Dec 2019 06:52:26 +0200
Recruitment application for thinkp5 to develop OA office system
Development and operation environment:
Shenzhou notebook K650D-G6D1 i5-6400 GTX950M
Windows 10 professional
Nginx or Apache Web server software
MySQL 5.7. X database
PHP7.1.0
PHPStrom 2017
PowerDesigner 16.5
Axure RP8
Prototype design drawing (recruitment application)
Database table (recruitment application): recruitment application ...
Added by marukochan on Sat, 07 Dec 2019 04:11:50 +0200
WPF Prism builds modular development framework
WPF Prism
Prism framework extension installation
Resources project
Prism main project
Module project
Prism framework extension installation
Prism has been updated to 7.x. Open VS2017 and install prism template in the extension and update.
Create 3 new projects, 1 main project, 1 module project, and the last resource pr ...
Added by Senate on Tue, 03 Dec 2019 11:56:25 +0200