-
使用 chrome.exe --remote-debugging-port=9222 打开浏览器
-
Python 中添加 chrome_options.add_experimental_option("debuggerAddress", "127.0.0.1:9222")
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
typedef struct | |
{ | |
unsigned int size; | |
//子字符串数量 | |
char **list; | |
//用字符串数组来存放字符串列表 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* fgetwc example */ | |
#include <stdio.h> | |
#include <wchar.h> | |
int main() | |
{ | |
FILE *fin; | |
FILE *fout; | |
wint_t wc; | |
fin = fopen("in.txt", "r"); | |
fout = fopen("out.txt", "w"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// C program for Huffman Coding | |
#include <stdio.h> | |
#include <stdlib.h> | |
// This constant can be avoided by explicitly | |
// calculating height of Huffman Tree | |
#define MAX_TREE_HT 100 | |
// A Huffman tree node | |
struct MinHeapNode { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\begin{figure}[htbp] | |
\centering | |
\includegraphics[width=13cm]{figures/1-1.png} | |
\caption{image caption} | |
\label{image label} | |
\end{figure} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
from lxml import etree | |
def get_SojumpSurvey(username: str, password: str) -> str: | |
''' | |
模拟问卷星登录,获得 SojumpSurvey | |
多次调用需间隔 40 s | |
''' | |
SERVERID = requests.get( |