目前整个互联网环境,被破坏最严重地部分,是 Web 服务体验。当直接破坏难以实现时,就会从流程链的上下游着手,如:DNS 污染。
其它地互联网服务类型,例如:邮件,可能小部分会受到 Web 服务上下游破坏地余震,但整体上基本不受影响。
| // ==UserScript== | |
| // @name 给 V2EX 用户打标签 | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author You | |
| // @match https://www.v2ex.com/* | |
| // @match http*://*.v2ex.com/* | |
| // @match http*://v2ex.com/*s | |
| // @match https://v2ex.com/ |
| #!/usr/bin/env bash | |
| # This script is based on Copyright (C) 2013 - 2020 Teddysun <[email protected]> | |
| # Modified by FindHao <[email protected]> | |
| # https://findhao.net/easycoding/2605.html | |
| # You must to modify the config before run it!!! | |
| # [[ $EUID -ne 0 ]] && echo "Error: This script must be run as root!" && exit 1 |
| const https = require("https"); | |
| const token = ""; // change this to you telegram bot token! | |
| const chatId = ""; // change this to your telegram chat id! | |
| const cookie = ""; // change this to your shanbay cookie! | |
| const PATH_API = (page) => | |
| `/wordsapp/user_material_books/blozps/learning/words/today_learning_items?ipp=10&page=${page}&type_of=NEW`; | |
| const options = { |
| # 2018-10-11 00:15:14 | |
| #---------------------------------------------------# | |
| ## 配置文件需要放置在 $HOME/.config/clash/config.yml | |
| #---------------------------------------------------# | |
| # HTTP 代理端口 | |
| port: 7890 | |
| # SOCKS5 代理端口 | |
| socks-port: 7891 |
| import os | |
| import re | |
| def zsh_to_fish(cmd): | |
| return (cmd.replace('&&', '; and ') | |
| .replace('||', '; or ')) | |
| def is_valid_fish(cmd): |
| ffmpeg -i input.mp4 \ | |
| -map 0:1 \ | |
| -c:a copy \ | |
| -y output.m4a |
| Python Cheatsheet | |
| ================= | |
| ################################ Input & Output ############################### | |
| name = input('please enter your name: ') | |
| print('hello,', name) | |
| ageStr = input('please enter your age: ') | |
| age = int(ageStr) |
| #!/usr/bin/env python | |
| # -*- encoding: utf-8 -*- | |
| # Created on 2015-04-29 17:01:27 | |
| # Project: spider | |
| from pyspider.libs.base_handler import * | |
| from pyquery import PyQuery as pq | |
| import MySQLdb | |
| import sys,os | |
| default_encoding = 'utf-8' |