删除所有微博
在Chrome Dev Tools中粘贴代码到Console,就可以删除当前屏幕所有微博。经过测试一万条微博大约需要10小时的半人工操作。
每批删除大概一分钟,最多50条。
如果遇到微博的Rate limit(提示操作过快),稍等三五分钟再试即可。
using System; | |
using System.Text; | |
using System.Text.RegularExpressions; | |
using System.IO; | |
namespace KlerksSoft | |
{ | |
public static class TextFileEncodingDetector | |
{ | |
/* |
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: <SERVICE_NAME> | |
# Required-Start: $local_fs $network $named $time $syslog | |
# Required-Stop: $local_fs $network $named $time $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Description: Script to run asp.net 5 application in background | |
### END INIT INFO |
删除所有微博
在Chrome Dev Tools中粘贴代码到Console,就可以删除当前屏幕所有微博。经过测试一万条微博大约需要10小时的半人工操作。
每批删除大概一分钟,最多50条。
如果遇到微博的Rate limit(提示操作过快),稍等三五分钟再试即可。
#!/bin/sh | |
# This script lists user defined search engines in Chromium. | |
# It replaces {inputEncoding}, which appears in some search engine definitions, with | |
# UTF-8, {google:baseURL} with the Google URL, and omits other such tokens. | |
# Location of Chromium's 'Web Data' SQLite3 file | |
CHROMIUM_WEB_DATA="$HOME/.config/chromium/Default/Web Data" | |
# Location to create temporary copy of 'Web Data', since the database is locked while |
Python is a modern powerful interpreted language with objects, modules, threads, exceptions, and automatic memory managements. Python was introduced to the world in the year 1991 by Guido van Rossum Salient features of Python are
$.fn.toJSO = function () { | |
var obj = {}, | |
$kids = $(this).children('[name]'); | |
if (!$kids.length) { | |
return $(this).val(); | |
} | |
$kids.each(function () { | |
var $el = $(this), | |
name = $el.attr('name'); | |
if ($el.siblings("[name=" + name + "]").length) { |