Skip to content

Instantly share code, notes, and snippets.

@acgotaku
acgotaku / japan.m3u
Last active June 24, 2024 14:15
IPTV
#EXTM3U url-tvg="http://epg.djtmewibu.com/jp.xml" tvg-shift=0 m3uautoload=1
#地デジ
#EXTINF:-1 group-title="地デジ" tvg-id="nhkg_tokyo" tvg-logo="https://tv.iedon.net/api/channels/NID32736-SID1024/logo", "011 NHK総合1・東京"
https://tv.iedon.net/api/streams/live/gr011/1080p/mpegts
#EXTINF:-1 group-title="地デジ" tvg-id="nhke_tokyo" tvg-logo="https://tv.iedon.net/api/channels/NID32737-SID1032/logo", "021 NHKEテレ1東京"
https://tv.iedon.net/api/streams/live/gr021/1080p/mpegts
#EXTINF:-1 group-title="地デジ" tvg-id="ntv" tvg-logo="https://tv.iedon.net/api/channels/NID32738-SID1040/logo", "041 日テレ1"
https://tv.iedon.net/api/streams/live/gr041/1080p/mpegts
#EXTINF:-1 group-title="地デジ" tvg-id="tv_asahi" tvg-logo="https://tv.iedon.net/api/channels/NID32741-SID1064/logo", "051 テレビ朝日"
@acgotaku
acgotaku / hack.js
Last active April 14, 2017 09:28
Hack tag fame
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);

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:

[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((![]+[])[+!+[]]+(![]+[])[!+[]+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]+(!![]+[])[+[]]+(![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+
@acgotaku
acgotaku / convert.js
Created January 17, 2016 12:13
convert baidu
/**
* 贪灵Gollum for Baiduyun, Ver.3.4.4
* 立即执行函数:百度云盘批量转存用户分享。
*
* 【特点】
* - 可保持或无视原分享者的目录结构。
* - 支持差分转存。
* - 自动分解转存,可突破单次转存总文件数5000的限制。
* - 可在分享主页下,进入某文件夹来转存其下级子文件夹。
* - 支持专辑转存。
@acgotaku
acgotaku / image.py
Created October 5, 2015 14:21
Histogram_equalization
#!/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 13:30
download chrome extension crx file
#!/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 June 10, 2016 07:21
get instagram image 使用方法 : ./instagram http://instagram.com/mochio_munchkin
#!/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 August 24, 2014 09:59
Promise example
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 April 26, 2023 04:00
新版百度云盘aria2c导出下载 ,目前只实现了核心功能.
// ==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*