Skip to content

Instantly share code, notes, and snippets.

雪月秋水 acgotaku

Block or report user

Report or block acgotaku

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
@acgotaku
acgotaku / hack.js
Last active Apr 14, 2017
Hack tag fame
View hack.js
var tags = ["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdo", "bdi", "blockquote", "body", "br", "wbr", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "comment", "doctype", "data", "datalist", "dd", "del", "dfn", "div", "dl", "dt", "em", "embed", "fieldset", "figure", "figcaption", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hr", "html", "i", "s", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "pre", "progress", "q", "rtc", "rb", "rp", "rt", "ruby", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "template", "u", "ul", "var", "video"];
function fillData(data) {
setTimeout(function() {
$("#html5tags_game input").val(data);
View keybase.md

Keybase proof

I hereby claim:

  • I am acgotaku on github.
  • I am acgotaku311 (https://keybase.io/acgotaku311) on keybase.
  • I have a public key whose fingerprint is 2731 3ED2 4D97 D91C 34D4 CFB7 9E8A E5D3 6E7E 5F90

To claim this, I am signing this object:

View run in console
[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((![]+[])[+!+[]]+(![]+[])[!+[]+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]+(!![]+[])[+[]]+(![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+
View convert.js
/**
* 贪灵Gollum for Baiduyun, Ver.3.4.4
* 立即执行函数:百度云盘批量转存用户分享。
*
* 【特点】
* - 可保持或无视原分享者的目录结构。
* - 支持差分转存。
* - 自动分解转存,可突破单次转存总文件数5000的限制。
* - 可在分享主页下,进入某文件夹来转存其下级子文件夹。
* - 支持专辑转存。
@acgotaku
acgotaku / image.py
Created Oct 5, 2015
Histogram_equalization
View image.py
#!/usr/bin/env python3
# -*- encoding: utf-8 -*-
# vim: set et sw=4 ts=4 sts=4 ff=unix fenc=utf8:
import os
import sys
from PIL import Image
import numpy as np
def read(imgPath):
img = Image.open(imgPath)
img = img.convert("L")
@acgotaku
acgotaku / crx.sh
Created May 22, 2015
download chrome extension crx file
View crx.sh
#!/bin/bash
mkdir -p crx
id=$1
downloadUrl="https://clients2.google.com/service/update2/crx?response=redirect&os=linux&arch=x64&nacl_arch=x86-64&prod=chromecrx&prodchannel=stable&prodversion=42.0.2311.152&x=id%3D$id%26installsource%3Dondemand%26lang%3Den-US%26uc"
if [ ! -d "unzipped/$id" ]; then
wget -q "$downloadUrl" -O crx/$id.crx -U "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.152 Safari/537.36"
fi
echo "download success"
@acgotaku
acgotaku / instagram
Last active Jun 10, 2016
get instagram image 使用方法 : ./instagram http://instagram.com/mochio_munchkin
View instagram
#!/usr/bin/env python2
# -*- encoding: utf-8 -*-
# vim: set et sw=4 ts=4 sts=4 ff=unix fenc=utf8:
import os.path
import sys
import json
import codecs
import httplib
from pyquery import PyQuery as pq
from urlparse import urlparse
@acgotaku
acgotaku / promise
Created Aug 24, 2014
Promise example
View promise
chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) {
console.log(tab);
if (changeInfo.status === 'loading' && tab.url.indexOf("n.baidu.com") != -1) {
var site1 = "http://pan.baidu.com/";
var name1 = "BDUSS";
var site2 = "http://pcs.baidu.com/";
var name2 = "pcsett";
Promise.all([get_cookie(site1,name1), get_cookie(site2,name2)]).then(function(value){
console.log(value);
},function(){});
@acgotaku
acgotaku / baidupan
Last active May 24, 2019
新版百度云盘aria2c导出下载 ,目前只实现了核心功能.
View baidupan
// ==UserScript==
// @name 百度网盘aria2导出工具
// @author acgotaku311
// @description 一个方便吧百度网盘的Aria2rpc导出的脚本。
// @encoding utf-8
// @include http://*n.baidu.com/s/*
// @include http://*n.baidu.com/disk/home*
// @include http://*n.baidu.com/share/link*
// @include https://*n.baidu.com/s/*
// @include https://*n.baidu.com/disk/home*
@acgotaku
acgotaku / baidu
Last active Aug 29, 2015
百度云盘导出aria2c下载
View baidu
// ==UserScript==
// @name 百度网盘导出工具
// @author Mormts
// @description 一个方便吧百度网盘的文件导出的脚本。(Aria2rpc, Aria2, Wget, IDM)。
// @encoding utf-8
// @homepageURL https://userscripts.org/scripts/show/178301
// @updateURL https://userscripts.org/scripts/source/178301.meta.js
// @downloadURL https://userscripts.org/scripts/source/178301.user.js
// @include http://*n.baidu.com/s/*
// @include http://*n.baidu.com/disk/home*
You can’t perform that action at this time.