Skip to content

Instantly share code, notes, and snippets.

@fython
fython / watch_followers.js
Last active May 3, 2020
Watch followers count of specific Bilibili user
View watch_followers.js
/**
* This script is used to watch followers count of specific user in Bilibili.
* Please change the constant "CHECK_UID" to user id you want to watch.
*
* Before running this script, please install following dependencies to global:
* - axios
* - node-notifier
*
* For example, when you are using NPM as package manager,
* run this command in shell:
@fython
fython / StorageManagerCompat.java
Last active Feb 16, 2022
StorageManagaerCompat (openProxyFileDescriptor pre-O)
View StorageManagerCompat.java
/**
* No Licenses. Use it in your favourite way.
*/
import android.content.Context;
import android.os.Build;
import android.os.Handler;
import android.os.ParcelFileDescriptor;
import android.os.ProxyFileDescriptorCallback;
import android.os.storage.StorageManager;
@fython
fython / libraries.gradle
Last active Apr 12, 2018
Usual Android Libraries collection (Gradle)
View libraries.gradle
ext {
// Libraries version
androidSupportVersion = '27.1.1'
kotlinxCoroutinesVersion = '0.22.5'
okhttp3Version = '3.10.0'
retrofit2Version = '2.4.0'
materialPrefVersion = '2.2.3'
androidKtxVersion = '0.3'
glideVersion = '4.7.0'
butterKnifeVersion = '8.8.1'
@fython
fython / gist:6a93a27486cfe3719240dbae8b780913
Created Sep 12, 2017
Google Fonts - Early Access - Noto Sans SC/TC/JP
View gist:6a93a27486cfe3719240dbae8b780913
https://fonts.googleapis.com/earlyaccess/notosanssc.css
https://fonts.googleapis.com/earlyaccess/notosanstc.css
https://fonts.googleapis.com/earlyaccess/notosansjp.css
View gist:65794bb636f602e951b87049de9cfafd
### Keybase proof
I hereby claim:
* I am fython on github.
* I am fython (https://keybase.io/fython) on keybase.
* I have a public key ASDcJ07GUdW8bvJwulIGycvSRawEqddX8BaIGJWeUdItkAo
To claim this, I am signing this object: