-
-
-
Git常见的报错
第一种:
ssh: connect to host github.com port 22: Connection timed out
解决方法:
在C:/Users/DELL/.ssh/中新建一个config文件
并写入:
重新执行 $ git push -u origin master ...
-
2.爬虫基础——了解url网址
... http(超文本传输协议,接受和发布html页面)、
https(加密版的http)、
ftp(文件传输协议)、
file(本地文件传输协议)
host :主机名、域名,如:www.baidu.com
port :定义主机上的端口号,(http为80,https为443)
path :定义服务器上的路径,(如果省略,文档必须位于网站的根目录)
query-string :定义文档资源 ...
-
node-mailer使用
... i nodemailer
新建mail.js文件
use strict;
const nodemailer = require(nodemailer);
const transporter = nodemailer.createTransport({
host: smtp.qq.com,
port: 465,
secure: true,
auth: {
user: '2...@qq.com', // 发送方的邮箱地址
pass: 'xwjfinrzncyeeacj'
} ...
-
iOS pod Error installing libwebp错误解决办法
... :亲证有效
错误信息如下:
fatal: unable to access ‘https://chromium.googlesource.com/webm/libwebp/’: Failed to connect to chromium.googlesource.com port 443: Operation timed out
:warning_selector:解决办法:
步骤一、pod repo ...
-
Wampserver2.5配置虚拟主机出现403 Forbidden的处理方案
... 站点也正常运行。但配置虚拟主机时问题来了,总是提示:
Forbidden
You don't have permission to access / on this server.
Apache/2.4.9 (Win32) PHP/5.5.12 Server at www.sitename.com Port 80
一、在国内网
-
linux ssh 别名登录小技巧
... 和验证方法,如下所示:
$ vim ~/.ssh/config
Host www
HostName www.ttlsa.com
Port 22
User root
IdentityFile ~/.ssh/id_rsa.pub
IdentitiesOnly yes
Host bbs
HostName 115.28.45.104
User anotheruser
PubkeyAuthent
-
分享下页面关键字抓取components.arrow.com站点代码
复制代码 代码如下:<?php /** * HOST: components.arrow.com */ //set_time_limit(0); // base function function curl_get($url, $data = array(), $header = array(), $timeout = 15, $port = 80, $reffer = ”, $proxy = ”) { $ch = curl_init(); if (!empty($data)) { $ ...
-
Python SSL证书验证问题解决方案
... fiddler会报出以下错误:
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='163.com', port=443): Max retr
-
Python使用ConfigParser模块操作配置文件的方法
... 更为 configparser。
二、配置文件格式
[DEFAULT]
ServerAliveInterval = 45
Compression = yes
CompressionLevel = 9
ForwardX11 = yes
[bitbucket.org]
User = hg
[topsecret.server.com]
Port = 50022
ForwardX11 = no
三、创建
-