What was Shepherd Book’s past in Firefly? 冲出宁静号里面的牧师到底有什么背景

  看宁静号的时候,有些情景比较有趣,牧师作为牧师,居然对枪、杀手等非常熟悉,尤其在中枪之后,被送到联盟要求救治被拒后,拿出身份卡,联盟立即就开始救助,并且给宁静号上所有人都治疗并释放了。这是有多高的地位的人才能享有的待遇。在豆瓣小组里面翻了一圈,貌似没有找到。google了一圈,总算找到一些蛛丝马迹。 google上推荐去看Serenity: The Shepherd’s Tale,这个漫画里面似乎有介绍,可惜要求美刀去买,而且不知道猴年马月才能到(猴年马月其实再过一个月就到了)。继续看看大家的评论,终于找到了。   Shepherd Book was abused as a boy, and lived on the street for a while. He wasn’t born under the name Shepherd Book, BTW. He joined up with the independence movement, and volunteered to be a spy on the Alliance. He was an officer until he led a… Continue reading What was Shepherd Book’s past in Firefly? 冲出宁静号里面的牧师到底有什么背景

FTP时显示500 Illegal PORT command的解决

使用EditPlus打开FTP服务器上的文件时,发现连接不了 在windows的dos窗口用FTP命令去连时,可以登录,但使用ls等命令时,出现: 500 Illegal PORT command. 425 Use PORT or PASV first. 根据提示是被动模式的问题 在EditPlus的FTP设定高级选项中,选上passive FTP mode即可而dos窗口的FTP命令则无法设置为被动模式 FTP主/被动模式的原理 ————————————————————————————————————————————————– FTP是File Transfer Protocol(文件传输协议)的缩写,用来在两台计算机之间互相传送文件相比于HTTP,FTP协议要复杂得多复杂的原因,是因为FTP协议要用到两个TCP连接,一个是命令链路,用来在FTP客户端与服务器之间传递命令;另一个是数据链路,用来上传或下载数据 FTP协议有两种工作方式:PORT方式和PASV方式,中文意思为主动式和被动式 PORT(主动)方式的连接过程是:客户端向服务器的FTP端口(默认是21)发送连接请求,服务器接受连接,建立一条命令链路当需要传送数据时,客户端在命令链路上用PORT命令告诉服务器:我打开了XXXX端口,你过来连接我于是服务器从20端口向客户端的XXXX端口发送连接请求,建立一条数据链路来传送数据 PASV(被动)方式的连接过程是:客户端向服务器的FTP端口(默认是21)发送连接请求,服务器接受连接,建立一条命令链路当需要传送数据时,服务器在命令链路上用PASV命令告诉客户端:我打开了XXXX端口,你过来连接我于是客户端向服务器的XXXX端口发送连接请求,建立一条数据链路来传送数据 概括: ——————————————————————————– 主动模式:服务器向客户端敲门,然后客户端开门 被动模式:客户端向服务器敲门,然后服务器开门 所以,如果你是如果通过代理上网的话,就不能用主动模式,因为服务器敲的是上网代理服务器的门,而不是敲客户端的门 而且有时候,客户端也不是轻易就开门的,因为有防火墙阻挡,除非客户端开放大于1024的高端端口 ——————————————————————————– 要用主动模式来下载,请您把下载工具的被动模式(PASV)都不要打勾,用主动模式来下载就OK了,如果在出错,那就被动主动相互转换一下 常见的FTP客户端软件的PASV方式的关闭方法 大部分FTP客户端默认使用PASV方式,PASV模式的意式是被动模式 在大部分FTP客户端的设置里,常见到的字眼都是PASV或被动模式 IE: 工具 -> Internet选项 -> 高级 -> 使用被动FTP(需要IE6.0以上才支持) CuteFTP: Edit -> Setting -> Connection -> Firewall -> PASV Mode 或… Continue reading FTP时显示500 Illegal PORT command的解决

Published
Categorized as Technology

MOUNT AN SMB NETWORK DRIVE ON RASPBERRY PI

original post: http://geeks.noeit.com/mount-an-smb-network-drive-on-raspberry-pi/ In this tutorial we will describe how to connect your Raspberry Pi to a network drive and permanently mount it to your system. Even though this article uses a Raspberry Pi as an example to connect to an SMB drive, the steps used can be applied to any Debian based system, such as… Continue reading MOUNT AN SMB NETWORK DRIVE ON RASPBERRY PI

firefly – serenity 萤火虫 冲出宁静号

  最近总算追完了《firefly》这部美剧,然后又看了《Serenity》这部电影,算是交代了电视剧的结局。 Take my love Take my land Take me where I cannot stand I don’t care,I’m still free You can’t take the sky from me Take me out to the black Tell them I ain’t coming back Burn the land and boil the sea You can’t take the sky from me There’s no place… Continue reading firefly – serenity 萤火虫 冲出宁静号

How to wake up a pc by PHP

source: http://php.net/manual/en/ref.sockets.php http://www.rkrishardy.com/2009/12/permission-denied-13-when-opening-socket-in-php-apache/ <?php /** * Wake-on-LAN * * @return boolean * TRUE: Socked was created successfully and the message has been sent. * FALSE: Something went wrong * * @param string|array $mac You will WAKE-UP this WOL-enabled computer, you * need to add the MAC-address here. Mac can be * array too. * *… Continue reading How to wake up a pc by PHP

How do I start to to play videos automatically while boot?

Seems like the answer to your question is contained within an other question on this site. I am trying to play videos automatically when the Raspberry Pi boots. I decided to use crontab for that: @reboot /storage/.config/autostart.sh The autostart.sh file contains the following code: xbmc-send -a “PlayMedia(/storage/videos/)” The Raspberry Pi successfully automatically starts to play… Continue reading How do I start to to play videos automatically while boot?