I hereby claim:
- I am isayme on github.
- I am isayme (https://keybase.io/isayme) on keybase.
- I have a public key whose fingerprint is 1423 B54A 7C03 A38F 1B39 2167 10EE 8329 90BC 2A8A
To claim this, I am signing this object:
[isayme] | |
text(bold)=eaeaea | |
magenta(bold)=ff00ff | |
text=ffffff | |
white(bold)=eaeaea | |
green=00c000 | |
red(bold)=d20000 | |
green(bold)=00ff00 | |
black(bold)=808080 | |
red=c00000 |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# 此脚本不再更新, 毕竟要依赖第三方pycurl库. | |
# 重写的脚本不再依赖非标准库, 感兴趣的见: https://github.com/isayme/v2ex | |
import sys | |
import string | |
try: | |
import pycurl2 as pycurl |
/* | |
* request 背后也是用的 form-data. 符合浏览器的 window.FromData 规范生产 body 及 header 信息. | |
* smfile 需要是 stream, 从而判定为文件. | |
* 另: formstream 应该也可以, 但没有测试过. | |
*/ | |
const fs = require('fs') | |
const axios = require('axios') | |
const request = require('request-promise') | |
const FormData = require('form-data') |
// ==UserScript== | |
// @name 电影天堂(dy2018.com) | |
// @version 0.1.2 | |
// @description 修正下载链接 | |
// @author iSayme | |
// @namespace https://github.com/isayme | |
// @homepage https://github.com/isayme | |
// @icon https://www.dy2018.com/favicon.ico | |
// @include https://www.dy2018.com/* | |
// @run-at document-end |
I hereby claim:
To claim this, I am signing this object:
// Backbone.js 1.1.2 | |
// (c) 2010-2014 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors | |
// Backbone may be freely distributed under the MIT license. | |
// For all details and documentation: | |
// http://backbonejs.org | |
// 典型自执行函数格式: | |
// (funtion(root, factory) { | |
// // do stuff here |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <fcntl.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <netinet/in.h> | |
#include <netdb.h> |
// ==UserScript== | |
// @name SongTasteDownload | |
// @namespace http://www.onefloweroneworld.com | |
// @description 自动解析SongTaste歌曲URL,点击即可下载~ | |
// @include http://www.songtaste.com/song/* | |
// @include http://songtaste.com/song/* | |
// @include http://www.songtaste.com/playmusic.php?song_id=* | |
// @include http://songtaste.com/playmusic.php?song_id=* | |
// @version 0.1 | |
// @author iSayme |
** ******** | |
// **////// ** ** | |
** /** ****** //** ** ********** ***** | |
/** /********* //////** //*** //**//**//** **///** | |
/** ////////** ******* /** /** /** /** /******* | |
/** /** **////** ** /** /** /** /**//// | |
/** ******** //******** ** *** /** /** //****** | |
// //////// //////// // /// // // ////// | |
export PS1='\[\e[36;1m\]\u\[\e[01;30m\]@\[\e[32;1m\]\h:\[\e[01;35m\]\w \$ \[\e[0m\]' | |
export LESS_TERMCAP_mb=$'\E[01;31m' | |
export LESS_TERMCAP_md=$'\E[01;31m' | |
export LESS_TERMCAP_me=$'\E[0m' | |
export LESS_TERMCAP_se=$'\E[0m' | |
export LESS_TERMCAP_so=$'\E[01;44;33m' | |
export LESS_TERMCAP_ue=$'\E[0m' | |
export LESS_TERMCAP_us=$'\E[01;32m' |