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
I, [2013-06-20T17:03:36.360566 #92787] INFO -- Kitchen: -----> Starting Kitchen (v1.0.0.dev) | |
E, [2013-06-20T17:03:36.767383 #92787] ERROR -- Kitchen: ------Exception------- | |
E, [2013-06-20T17:03:36.767568 #92787] ERROR -- Kitchen: Class: Kitchen::ShellOut::ShellCommandFailed | |
E, [2013-06-20T17:03:36.767637 #92787] ERROR -- Kitchen: Message: Expected process to exit with [0], but received '1' | |
---- Begin output of vagrant --version ---- | |
STDOUT: | |
STDERR: /Users/yhsiang/Work/g0v/znc/Vagrantfile:1:in `require': cannot load such file -- kitchen/vagrant (LoadError) | |
from /Users/yhsiang/Work/g0v/znc/Vagrantfile:1:in `<top (required)>' | |
from /Users/yhsiang/.rvm/gems/ruby-1.9.3-p429/gems/vagrant-1.0.7/lib/vagrant/config/loader.rb:115:in `load' | |
from /Users/yhsiang/.rvm/gems/ruby-1.9.3-p429/gems/vagrant-1.0.7/lib/vagrant/config/loader.rb:115:in `block in procs_for_source' |
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
//複製網頁時產生原文連結(Tynt)========================================== | |
if(document.location.protocol=='http:'){ | |
var Tynt=Tynt||[];Tynt.push('bGee2M3Q0r4iaCacwqm_6r');Tynt.i={"ap":"原文網址:","st":true,"w":"ETtodaynet","f":"ETtoday","ss":"fglpt"}; | |
(function(){var s=document.createElement('script');s.async="async";s.type="text/javascript";s.src='http://tcr.tynt.com/ti.js';var h=document.getElementsByTagName('script')[0];h.parentNode.insertBefore(s,h);})(); | |
} |
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
Meteor.Router.add('/test', 'GET', function () { | |
var path = Npm.require('path'); | |
var fs = Npm.require('fs'); | |
var file = '/Users/yhsiang/Work/meteor_apps/databank/public/1235.JPG'; | |
var filename = path.basename(file); | |
return [200, | |
{ | |
'Content-type': 'image/jpeg', | |
'Content-disposition': "attachment; filename="+filename |
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
{ | |
"game_info": [ | |
"◎兄弟中斷4連敗(6/22~)", | |
"◎官大元連續11 2/3局無失分(6/5~)、對戰統一連續7 2/3局無失分(5/19~)", | |
"◎真田裕貴對戰統一連續9 2/3局無失分(5/7~)", | |
"◎湯瑪仕連續10場救援成功(5/12~)、連續9局無失分(5/23~)、連續69 2/3局無被全壘打(2012/5/10~)", | |
"◎周思齊連續35場上壘(5/2~)【破個人生涯最高記錄】、連續14場安打(6/5~)、連續6場得分(6/19~)", | |
"◎王勝偉連續7場上壘(6/16~)、連續6場安打(6/19~)、連續2場得分(6/27~)", | |
"◎彭政閔連續7場上壘(6/16~)、連續3場安打(6/25~)", | |
"◎張泰山達成生涯1700出賽【聯盟第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
[ | |
{ | |
"url": "http://www.cpbl.com.tw/Personal_Rec/pbat_personal.aspx?Pno=A003&Role=2&Gno=01", | |
"name": "葉賢文", | |
"id": 1 | |
}, | |
{ | |
"url": "http://www.cpbl.com.tw/Personal_Rec/pbat_personal.aspx?Pno=A004&Role=2&Gno=01", | |
"name": "安智輝", | |
"id": 2 |
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
{ | |
"farms": [ | |
{ | |
"proj": "不公開", | |
"date": "2010/8/31", | |
"monitoring": "", | |
"name": "張松卿(白陽山有機農場)", | |
"web": "http://yogi.organic.org.tw", | |
"cert": "中華有機農業協會 /COAA", | |
"casno": "", |
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
{ | |
"season2": [ | |
{ | |
"totalarea": "128.3373", | |
"totalcount": "56", | |
"otherarea": "0.38", | |
"othercount": "2", | |
"teaarea": "0", | |
"name": "花蓮縣", | |
"ricecount": "54", |
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
var http = require('httpsync') | |
, fs = require('fs'); | |
var getLocation = function (address, callback) { | |
var url, req, res, results, location; | |
url = 'http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/find?text='+address+'&f=pjson'; | |
req = http.get(url); | |
res = req.end(); | |
if(JSON.parse(res.data).locations.length > 0 ) { | |
results = JSON.parse(res.data).locations[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
var http = require('httpsync') | |
, fs = require('fs'); | |
var getLocation = function (address, callback) { | |
var url, req, res, results, location; | |
url = 'http://maps.googleapis.com/maps/api/geocode/json?address='+address+'&sensor=false'; | |
req = http.get(url); | |
res = req.end(); | |
if(JSON.parse(res.data).status === 'OK') { | |
results = JSON.parse(res.data).results[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
{ | |
"farms": [ | |
{ | |
"location": { | |
"lng": 121.023055, | |
"lat": 24.7775 | |
}, | |
"proj": "不公開", | |
"date": "2009/12/29", | |
"monitoring": "farmboss_G_OKK.asp?farmid=NCKF0060", |
OlderNewer