Skip to content

Instantly share code, notes, and snippets.

function MD5 (input) {
var rawHash = Utilities.computeDigest(Utilities.DigestAlgorithm.MD5, input, Utilities.Charset.UTF_8);
var txtHash = '';
for (i = 0; i < rawHash.length; i++) {
var hashVal = rawHash[i];
if (hashVal < 0) {
hashVal += 256;
}
if (hashVal.toString(16).length == 1) {
txtHash += '0';
@mariotaku
mariotaku / README.md
Last active December 18, 2020 05:01
Followers Cleaner Script

Usage

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

Notes

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

@JuanitoFatas
JuanitoFatas / 無用知識的有用性.md
Created June 30, 2013 06:34
無用知識的有用性

无用知识的有用性

弗莱克斯纳

[按] 30年代美国普林斯顿大学校长亚伯拉罕·弗莱克斯纳(Abraham Flexner)教授曾以 “无用知识的有用性”为题,发表过一篇在科学界有影响的文章。该文章强调了基础研 究以及自由探索的重要性。全文一万余字,现节译如下,以餐读者。

  智力与精神生活在表面上是一种无用型活动。人们之所以大量从事这种活动,是因