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
package main | |
import ( | |
"context" | |
"flag" | |
"fmt" | |
"log" | |
"net/http" | |
"os" |
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
// 比较偷懒,采取半人工操作 | |
// 删除回答 | |
// 在这个页面上 https://www.zhihu.com/people/shawphy/answers ,打开chrome控制台,粘贴下面代码,一次删20条 | |
var xhr = new XMLHttpRequest(); | |
document.querySelectorAll(".AnswerItem>meta[itemprop='url']").forEach(function(e,i){ | |
setTimeout(function() { | |
xhr.open("DELETE",e.content.replace(/question\/\d+\/answer/,"api/v4/answers")); | |
xhr.send(); |
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="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>17天搞定GRE单词背诵计划时间表生成器</title> | |
<style type="text/css"> | |
a{text-decoration: none;color:#39f; } | |
body{width: 988px; margin: 0 auto;} | |
th{text-align: right; font-size: 14px; color: #666;width: 100px;} |
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> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> | |
<title>批量地址</title> | |
<style type="text/css"> | |
body, html,#allmap {width: 100%;height: 100%;overflow: hidden;margin:0;} | |
#l-map{height:100%;width:78%;float:left;border-right:2px solid #bcbcbc;} | |
#r-result{height:100%;width:20%;float:left;} |