使用公钥私钥来登陆而不是账号密码,公钥私钥需要简单的在本地生成一下。Github 的生成 SSH 公钥私钥的教程:Generating SSH keys
可能需要使用 -i
参数选择一下本地的私钥,一个示例的 ssh 连接如下:
使用公钥私钥来登陆而不是账号密码,公钥私钥需要简单的在本地生成一下。Github 的生成 SSH 公钥私钥的教程:Generating SSH keys
可能需要使用 -i
参数选择一下本地的私钥,一个示例的 ssh 连接如下:
~/.atom/.apmrc
strict-ssl = false
http-proxy = http://127.0.0.1:8090/proxy.pac
$ apm config list
...
几个常用的 curl 命令:
搭配测试的网站:
httpbin(1): HTTP Client Testing Service
再用本地的 Charles 做代理看整个的详情:
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>广告统计</title> | |
<script src="jquery.js"></script> | |
</head> | |
<body> | |
<a href="http://localhost:8000/apple" ad-load-url="http://localhost:8000/apple/load" ad-click-url="http://localhost:8000/apple/click">apple</a> | |
<a href="http://localhost:8000/orange" ad-load-url="http://localhost:8000/orange/load" ad-click-url="http://localhost:8000/orange/click">orange</a> |
int led = 13; | |
int m1a = 5; | |
int m1b = 6; | |
int m2a = 10; | |
int m2b = 11; | |
int s1q = 220; | |
int s1s = 150; | |
int s2q = 220; |
#!/usr/bin/env python | |
# coding: utf-8 | |
import socket | |
import sys | |
from thread import * | |
try: | |
listening_port = int(raw_input("[*] Enter Listening Port Number: ")) | |
except KeyboardInterrupt: | |
print("\n[*] User Requested An Interrupt") |
<?xml version="1.0" encoding="ISO-8859-1" ?> | |
<rss version="2.0"> | |
<channel> | |
<title>w3cschool Home Page</title> | |
<link>http://www.w3cschool.cc</link> | |
<description>Free web building tutorials</description> | |
<item> | |
<title>RSS Tutorial</title> | |
<link>http://www.w3cschool.cc/rss</link> |
# coding: utf-8 | |
from functools import wraps | |
from flask import request, Response, Flask | |
def check_auth(username, password): | |
"""This function is called to check if a username / | |
password combination is valid. | |
""" |