Skip to content

Instantly share code, notes, and snippets.

I may be slow to respond.

Mariotaku mariotaku

I may be slow to respond.
Block or report user

Report or block mariotaku

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am mariotaku on github.
  • I am mariotaku ( on keybase.
  • I have a public key ASAyVkc0L_T9ZK-j-ibKFoMz2g022KuFtRc24yuPk_bIIAo

To claim this, I am signing this object:

mariotaku / rules.txt
Last active Jul 1, 2019
Cleaner Sina Weibo
View rules.txt
! 时间轴广告[feedtype="ad"]
! 不需要的推荐内容
mariotaku /
Last active Feb 25, 2019
Followers Cleaner Script


  1. Execute pip3 install -r requirements.txt to install dependencies
  2. Execute and follow instructions.


Consumer keys can be found here. Use these keys instead of applying yourself can get rid of rate limit.

mariotaku / Erya nopause.user.js
Created Apr 23, 2017
Erya nopause UserScript
View Erya nopause.user.js
// ==UserScript==
// @name Erya nopause
// @namespace
// @version 0.1
// @description Fuck erya!
// @author Mariotaku Lee
// @match*
// @grant none
// @run-at document-end
// ==/UserScript==
* Twidere - Twitter client for Android
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
mariotaku / README.txt
Last active Jan 26, 2018
Twitter reverse proxy configuration for Nginx
View README.txt
Settings on Twidere:
API URL Format: https://your-host/[DOMAIN.]
Uncheck "Same OAuth signing URL"
Uncheck "No verion suffix"
Password login recommended.
mariotaku /
Last active Feb 12, 2020


在Chrome Dev Tools中粘贴代码到Console,就可以删除当前屏幕所有微博。经过测试一万条微博大约需要10小时的半人工操作。


如果遇到微博的Rate limit(提示操作过快),稍等三五分钟再试即可。

mariotaku /
Last active Aug 29, 2015
An evil snippet to guess mouse scrolling direction for Android
import android.annotation.SuppressLint;
import android.content.Context;
import android.view.InputDevice;
import android.view.MotionEvent;
import android.view.View;
import android.widget.HorizontalScrollView;
import android.widget.ScrollView;
mariotaku / .travis.yml
Last active Aug 8, 2018
Sign and upload compiled apk to Github releases automatically using Travis CI
View .travis.yml
language: android
# Uncomment the lines below if you want to
# use the latest revision of Android SDK Tools
- platform-tools
- tools
# The BuildTools version used by your project
- build-tools-22.0.0
View notification_clip_list.xml
<?xml version="1.0" encoding="utf-8"?>
You can’t perform that action at this time.