删除所有微博
在Chrome Dev Tools中粘贴代码到Console,就可以删除当前屏幕所有微博。经过测试一万条微博大约需要10小时的半人工操作。
每批删除大概一分钟,最多50条。
如果遇到微博的Rate limit(提示操作过快),稍等三五分钟再试即可。
删除所有微博
在Chrome Dev Tools中粘贴代码到Console,就可以删除当前屏幕所有微博。经过测试一万条微博大约需要10小时的半人工操作。
每批删除大概一分钟,最多50条。
如果遇到微博的Rate limit(提示操作过快),稍等三五分钟再试即可。
| var io = require('socket.io-client')("http://localhost:3001") | |
| var Promise = require("bluebird") | |
| io.emitAsync = Promise.promisify(io.emit) | |
| io.emitAsync("report", { | |
| "name": "thomas" | |
| }).then(function(data){ | |
| console.log(data) | |
| }).catch(function(e){ | |
| console.log(e.message) |
| # Set variables in .bashrc file | |
| # don't forget to change your path correctly! | |
| export GOPATH=$HOME/golang | |
| export GOROOT=/usr/local/opt/go/libexec | |
| export PATH=$PATH:$GOPATH/bin | |
| export PATH=$PATH:$GOROOT/bin |
| var phonecatAnimations = require("./animations.js"); | |
| var phonecatControllers = require("./controllers.js"); | |
| var phonecatFilters = require("./filters.js"); | |
| var phonecatServices = require("./services.js"); | |
| 'use strict'; | |
| /* App Module */ | |
| var phonecatApp = angular.module('phonecatApp', [ |
| import cv2 | |
| import numpy as np | |
| canny = rho = threshold = minLen = maxGap = None | |
| def draw(): | |
| lines = cv2.HoughLinesP(canny, rho, np.pi / 180, | |
| threshold, None, minLen, maxGap) | |
| dst = cv2.cvtColor(canny, cv2.COLOR_GRAY2BGR) |
| A warning occurred (42 apples) | |
| An error occurred |