This file contains hidden or 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
| DEL desktop.ini /A |
This file contains hidden or 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 <iostream> | |
| using namespace std; | |
| long c = 0, p = 0; | |
| int a[9]; | |
| void s(int k) | |
| { | |
| if (a[k] == 0) | |
| { |
This file contains hidden or 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 socket | |
| # 创建客户端的套接字(socket.AF_INET 指定使用 IPv4 协议,socket.SOCK_STREAM 指定使用流式 TCP 连接) | |
| client = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
| # 建立连接 | |
| client.connect(('127.0.0.1', 9999)) | |
| # 接收欢迎信息 | |
| print(client.recv(1024).decode('utf-8')) | |
| # 发送数据 |
This file contains hidden or 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 poplib | |
| from email.parser import Parser | |
| from email.header import decode_header | |
| from email.utils import parseaddr | |
| email = 'i@foair.com' | |
| password = '' | |
| pop3_server = 'pop.exmail.qq.com' | |
| server = poplib.POP3(pop3_server) |
This file contains hidden or 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
| """TCP 客户端""" | |
| import socket | |
| client = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) | |
| for data in [b'Tracy', b'Victor']: | |
| client.sendto(data, ('127.0.0.1', 9999)) | |
| print(client.recv(1024).decode('utf-8')) | |
| client.close() |
This file contains hidden or 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
| # aria2 配置 # | |
| # aria2:https://aria2.github.io/ | |
| # 官方文档:https://aria2.github.io/manual/en/html/index.html | |
| # aria2c 文档:https://aria2.github.io/manual/en/html/aria2c.html | |
| # 选项和默认值可查询文档 | |
| # 书写方式 # | |
| # ? 删掉第 1 行前面的「#」 ? 删掉第 2 行前面的「#」 ? ... | |
| # ##<bt-enable-lpd> 找到 bt-enable-lpd 并将其注释 | |
| # #bt-tracker=<URI>,... 替换 <URI> 为其他内容 |
This file contains hidden or 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 json | |
| import requests | |
| class Aria2c: | |
| ''' | |
| Example : | |
| client = Aria2c('localhost', '6800') | |
| # print server version |
This file contains hidden or 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
| str = '' | |
| for (a of $0.getElementsByTagName('a')) { | |
| str += 'you-get ' + a.href + '\n' | |
| } | |
| console.log(str) |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html lang="cmn-Hans"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <meta http-equiv="X-UA-Compatible" content="ie=Edge"> | |
| <title>学汉字</title> | |
| <style> | |
| body { |
This file contains hidden or 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
| # LOCAL DEV | |
| 127.0.0.1 notes | |
| 127.0.0.1 io | |
| 127.0.0.1 app | |
| # BLOCK OR ALLOW SOFTWARE | |
| ## XMind | |
| 0.0.0.0 www.xmind.net | |
| ## Bandicam |
OlderNewer