This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# cuetag.sh - tag files based on cue/toc file information | |
# uses cueprint output | |
# usage: cuetag.sh <cuefile|tocfile> [file]... | |
# dependencies: | |
# id3v2 | |
CUEPRINT=cueprint | |
cue_file="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
# convert apev2 tag to id3 v2.4 tag | |
import os | |
import sys | |
import locale | |
from optparse import OptionParser | |
import mutagen.id3 | |
import mutagen.apev2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
# -*- coding: utf-8 -*- | |
import os | |
import sys | |
import zipfile | |
print "Processing File " + sys.argv[1] | |
file=zipfile.ZipFile(sys.argv[1],"r"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* animation */ | |
.a-bounce,.a-flip,.a-flash,.a-shake,.a-swing,.a-wobble,.a-ring { | |
-webkit-animation: 1s ease; | |
-moz-animation: 1s ease; | |
-ms-animation: 1s ease; | |
animation: 1s ease; | |
} | |
.a-fadein,.a-fadeinT,.a-fadeinR,.a-fadeinB,.a-fadeinL,.a-bouncein,.a-bounceinT,.a-bounceinR,.a-bounceinB,.a-bounceinL,.a-rotatein,.a-rotateinLT,.a-rotateinLB,.a-rotateinRT,.a-rotateinRB,.a-flipin,.a-flipinX,.a-flipinY { | |
-webkit-animation: 1s ease-out backwards; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
import os | |
import logging | |
import tornado.options | |
import tornado.web | |
from tornado.options import define, options | |
define("bind", default="127.0.0.1", help="addrs that debugger bind to") | |
define("port", default=8888, help="run on the given port") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EventHandler.check_dirty_words = function(str, has_dirty_func, no_dirty_func) { | |
jQuery.ajax({ | |
url: '/handler/lixian/check_dirty_words.php', | |
dataType: 'json', | |
type: 'post', | |
data: { | |
file_msg: str | |
}, | |
success: function(data) { | |
if (data.is_dirty === 1) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(){}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
OlderNewer