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 pixiv API | |
// @namespace http://efcl.info/ | |
// @include http://www.pixiv.net/* | |
// ==/UserScript== | |
// API 資料 http://pastie.org/735195 | |
var pxvAPI = "http://iphone.pxv.jp/iphone/" | |
// 検索結果のオブジェクト | |
var result = []; | |
var user = { |
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
# Translation of the WordPress theme Twenty Ten 1.0 by the WordPress team. | |
# Copyright (C) 2010 the WordPress team | |
# This file is distributed under the same license as the Twenty Ten package. | |
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010. | |
# | |
#, fuzzy | |
msgid "" | |
msgstr "" | |
"Project-Id-Version: Twenty Ten 1.0\n" | |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/twentyten\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
<!doctype html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<title>Facebook Like Button Event Sample</title> | |
</head> | |
<body> | |
<div id="fb-root"></div> | |
<script>(function(d, s, id) { | |
var js, fjs = d.getElementsByTagName(s)[0]; |
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
[2011-11-29 17:38:49]Parse ok(2092074126:假髮)......getting item info | |
Getting items list......555 | |
parse e53069116...[2011-11-29 17:38:55]402:[2011-11-29 17:38:55]Cannot get data from Yahoo(0) while getting http://tw.page.bid.yahoo.com/tw/show/bid_hist?aID=e53069116&typ=log | |
parse b67478383...current_price: 000999;order_price: 000999;goods_num: 000137;price_num: 000107;bid_times: 000000;buy_num: 000002;start_price: 000999 | |
parse d59408148...[2011-11-29 17:39:12]301:[2011-11-29 17:39:12]Current bidding price must be greater than 0 | |
parse d59829836...current_price: 000039;order_price: 000039;goods_num: 000895;price_num: 000091;bid_times: 000000;buy_num: 000005;start_price: 000039 | |
parse b67794942...current_price: 000299;order_price: 000299;goods_num: 000913;price_num: 000073;bid_times: 000000;buy_num: 000001;start_price: 000299 | |
parse 1221790479...current_price: 000060;order_price: 000060;goods_num: 000904;price_num: 000070;bid_times: 000000;buy_num: 000002;start_price: 000060 | |
parse b67660031...current_price: 000 |
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 | |
/** | |
使用前請先下載phpQuery, | |
否則你需要自己改寫get_meta_data方法的內容 | |
*/ | |
require_once 'libraries/phpQuery.php'; // 請更改為phpQuery的位置 | |
define('lang_ytdl02', '低品質影片', true); | |
define('lang_ytdl03', '標準品質影片', true); | |
define('lang_ytdl05', '高畫質影片', true); |
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
import java.io.*; | |
class test { | |
/** | |
* @param args | |
*/ | |
public static void main(String[] args) throws java.lang.Exception { | |
// TODO Auto-generated method stub | |
String a = "", b = ""; |
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
import java.io.*; | |
import java.util.Scanner; | |
class test { | |
/** | |
* @param args | |
*/ | |
public static void main(String[] args) throws java.lang.Exception { | |
// TODO Auto-generated method stub |
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
import java.util.Scanner; | |
class test { | |
/** | |
* @param args | |
*/ | |
public static void main(String[] args) throws java.lang.Exception { | |
// TODO Auto-generated method stub | |
try { |
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 | |
foreach($dailyDetail[$key1] as $key2=>$value){ | |
if($key1==0){ | |
if($key2==0 ||$key2==1 ||$key2==2|| $key2==3 || $key2==4 || $key2==5 ||$key2==$dailyRevenueNum-2||$key2==$d ailyRevenueNum-3||$key2==$dailyRevenueNum-1){ | |
$dailyDetail[$key1][$key2]['style']='s41'; | |
} | |
else{ | |
$dailyDetail[$key1][$key2]['style']='s42'; | |
} |
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
tmpdir=tmp | |
if [ -d "$tmpdir" ]; then | |
rm -rf $tmpdir | |
fi | |
mkdir $tmpdir | |
height=2592 | |
width=10 | |
n=0 | |
for f in *.jpg | |
do |
OlderNewer