- half0099way
- 1littleduck
- iamLYA
- admiral
- harps
- mapleton
- nonsense
- science
- deadbeef
- way
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
<?php | |
header("Access-Control-Allow-Origin: *"); | |
$opts = array('http'=>array('header' => "User-Agent:MyAgent/1.0\r\n")); | |
$context = stream_context_create($opts); | |
echo file_get_contents($_GET['url'], false, $context); | |
?> |
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
// You should browse the URL which is like "http://kuai.xunlei.com/d/xxxxxxxxxxx" with jquery library. | |
var url = "" | |
$.each($("#file-list").find("a"), function(key, val) { | |
url += $(val).attr("href")+"<br />" | |
}) | |
window.open("data:text/html,<title>Select All Then Copy</title>"+url) |
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
if (location.hostname.search("eyny.com") != -1) { | |
var data = ""; | |
var img_arr = new Array; | |
img_arr = document.getElementsByClassName("pcb")[0].getElementsByTagName("img"); | |
var view = prompt("[1]HTML(網頁)[2]Links(連結)", ""); | |
for (var i = 0; i < img_arr.length; i++) { | |
if (view == 1) { | |
data += "<img src='" + img_arr[i].getAttribute("src") + "' width='" + img_arr[i].getAttribute("width") + "' /><br />\n" | |
} else if (view == 2) { | |
data += img_arr[i].getAttribute("src") + "\r\n" |
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
// http://new.comicvip.com/show/cool-103.html?ch=765-17 | |
// http://new.comicvip.com/show/cool-[ti].html?ch=[ch]-[p] | |
function send() { | |
cs = document.getElementById("cs").innerHTML; | |
ti = document.getElementById("ti").value; | |
ch = document.getElementById("ch").value; | |
p = document.getElementById("p").value; | |
sp(); | |
} |
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
創業 = function(創始人, 點子, 資金) { | |
while (資金 > 0) { | |
創始人[開發人猿].寫程式(咖啡, 泡麵); | |
創始人[市場開發].到處找(有錢的親戚朋友); | |
創始人[產品企劃].檢驗點子(潮鞋, 便利貼); | |
if(被Google併購) { | |
return 資金 * 1000; | |
} else { | |
資金--; | |
點子.轉向(); |
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
{ | |
"name": "nightwatch_webcrawler", | |
"description": "A web crawler sample based on nightwatch.", | |
"version": "0.0.1", | |
"author": { | |
"name": "tonypai", | |
"email": "[email protected]" | |
}, | |
"homepage": "http://github.com/tpai", | |
"dependencies": { |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>jQuery CDN Speed Race by jQuery async ajax</title> | |
</head> | |
<body> | |
<center><h1>jQuery CDN Speed Race by jQuery async ajax</h1></center> | |
<h2>Test Subjects</h2> | |
<pre id="list"></pre> |
1. install
brew install tor
brew install privoxy
2. copy and modify config file
OlderNewer