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

 

Derrial Book

看宁静号的时候,有些情景比较有趣,牧师作为牧师,居然对枪、杀手等非常熟悉,尤其在中枪之后,被送到联盟要求救治被拒后,拿出身份卡,联盟立即就开始救助,并且给宁静号上所有人都治疗并释放了。这是有多高的地位的人才能享有的待遇。在豆瓣小组里面翻了一圈,貌似没有找到。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 brilliant defeat, after which he was discharged. He later lived in a monastery for a time, and became the preacher we all know:-)

 

TL;DR: Book’s official status within the Alliance (and therefore on his ident chip) was that of a retired Alliance commander. This would result in VIP treatment at most Alliance facilities.


I’ll outline his entire known history in the spoiler tags below. Most of this is outlined in the comic “The Shepherd’s Tale“, which is essentially Book reflecting back on his life while dying at Haven.

Early Life

Originally named Henry Evans, the man we know as Derrial Book was born on a border planet to an abusive father. At the age of ten, he ran away from home and became adept at survival on the streets. He eventually garnered some reputation as a thief & criminal, but ended up joining the growing Independence Movement.

Life as a Browncoat

In the four years before his Alliance assignment, Evans quickly became known for his vicious skills in combat – easily (and brutally) taking down entire squads of Alliance soldiers during missions. When the Browncoats began looking for a long-term operative who could infiltrate the Alliance military as a double agent, Evans volunteered. He needed a new identity, so he murdered a random citizen named Derrial Book and took that name as his own.

Life in the Alliance

Once in the Alliance, Book began a “meteoric” rise through the ranks. He was seen as totally committed to the cause and earned a reputation for using savage tactics against the Browncoats, quickly becoming known as a master interrogator. Because of his rising rank & influence, Book found himself increasingly able to both damage the Alliance plans as well as cover up losses or information leaks. He quickly became a vital asset for the Browncoats, but also one of their most guarded secrets.

Retirement

Book eventually found himself in command (or perhaps XO) of the IAV Cortez, an Alliance cruiser which oversaw an operation intended to end the Unification War in a single stroke. Book himself was in charge of the operation, which involved committing massive resources into striking multiple targets at once. Due to Book’s involvement, however, the operation was actually a huge ambush. Numerous forces were lost, including the total destruction of the IAV Alexander and all 4000 crew. Considered one of the largest defeats in Alliance history, the entire operation was swept under the rug and Derrial Book was quietly discharged from Alliance service.

Life at the Abbey

With the Independent Movement crushed soon after, Book wasn’t sure what to do with himself. He wandered the outer territories, weary of his life and drowning his sorrows in alcohol. At one point, he finds himself at a church and comes to see religion as a way to atone for the many people he had killed throughout his life. It apparently worked, as he eventually ended up at theSouthdown Abbey on Persephone. Book finally found peace tending the Abbey’s garden, but knew he couldn’t stay there indefinitely.

Life on Serenity

After an unknown amount of time at the Abbey (but presumably several years), Book decided to leave and get back out into the galaxy. The Abbey had access to the Cortex, and Book had tired of watching others suffer along the rim. He announced his intention to carry the Lord’s message out to others, and this leads us directly to his introduction in S01E01 “Serenity”.

As for your specific question, his ident chip reflected his official status with the Alliance – a retired Captain or Commander. Especially in a medical situation like that, a status like that would require any Alliance officer to render immediate assistance.

Henry Evans had a troubled childhood and was a criminal for a time before enlisting with the independence movement. As a member of The Independence he volunteered to spy on The Alliance. He killed a man named Derrial Book assumed his identity to enlisted in the Alliance Military. While still working as a spy for The Independence he quickly worked up the Alliance ranks to become a prominent officer. At a key point during the war he intentionally lost a major battle dealing a crushing blow to the alliance and leading to him being discharged. This loss was so crushing that the alliance made a point to wipe all record of it out. Meaning on paper shepherd Book is nothing but a retired prominent Alliance officer. After being discharged he “found god in a bowl of soup” while at a soup kitchen and decided to join an Abby. He eventually left and ended up boarding Serenity.

 

Source:http://scifi.stackexchange.com/questions/166/what-was-shepherd-books-past-in-firefly

Biography
To the crew of Serenity, Derrial Book’s past was a mystery. He indicated early on that he was a shepherd who had been living in theSouthdown Abbey and that he never married.[1] In truth, “Derrial” was not even the shepherd’s real name, but rather the name of a man he had killed.

Book, whose birth name was Henry Evans, lived as a young boy in dread of his highly abusive father. He would listen to music to take himself to a peaceful place in his mind, only to be beaten. He finally chose to leave home, but after ten years had merely established himself as a successful thief, adept at avoiding law enforcement. He was then recruited by the Independence Movement, a representative of which having been impressed at his excellent combat potential. In four years he honed his fighting skills, easily defeating heavily-armed federal agents singlehandedly. Evans was not known among his Independence peers to attend their meetings, but he showed up for one and there he volunteered to take part in a highly-sensitive mole operation. Since the Independence organizers had learned that the Alliancewas creating warships, they plotted to plant a long-term mole to rise through the ranks of the Alliance and subvert them at every turn. Henry’s left eye was extracted and replaced with a biorobotic camera and transmitter, which would provide excellent surveillance. To join the Alliance, he needed a new identity. So he lured an unsuspecting young man named Derrial Book into an alley, murdered him with a garrote, and took on this name permanently.

In four short years, he orchestrated a “meteoric” rise through the Alliance ranks and was selected for the officer corps from the law enforcement on Jiangyin. He utilized brutal beatings on captured Independence members—men and women alike—which impressed his superiors. After six years, he was an officer aboard the I.A.V. Cortez, where he directed the final movement of an Alliance operation to ambush Independence transports on a massive scale: six installations on different planets and at least one space-borne transport convoy were raided by Alliance forces at the same moment, but each was ambushed. It was the “single greatest disaster in Alliance history”. The most prominent loss was the destruction of the I.A.V. Alexander and the loss of all 4,000 souls aboard; elsewhere, about 300 soldiers were captured. Book was immediately discharged without trial and thrown into an escape vessel in disgrace.

He lived as a derelict for six years after until he experienced an epiphany about his place in the universe while staring into a bowl of chicken soup. He was suddenly seized with purpose, and joined the Southdown Abbeywhere he remained for a decade, until he finally chose to leave the abbey—on good terms and with encouragement—and become a missionary. He then joined the crew of Serenity.

Book frequently made references to Christian theology and consulted and quoted the Bible. But Book later expressed concern that he was being corrupted by living on Serenity and he left the ship[5] and moved to the planet Haven. There he was killed by an Alliance soldier sent to destroy Haven after Serenity managed to shake an Alliance assassin known only as “the Operative”. However, he was not a passive figure in the events leading up to his death; he defended Haven and shot down the A.V.-Sparrow that attacked the settlement.After taking down the ship, Mal told Book that he did the right thing, to which Book replied, “Coming from you, that means almost nothing.”

“I don’t care what you believe. Just believe it!”~ Book’s dying words to Mal

Source: http://firefly.wikia.com/wiki/Derrial_Book

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
或 File -> Site Manager,在左边选中站点 -> Edit -> Use PASV mode

FlashGet: 工具 -> 选项 -> 代理服务器 -> 直接连接 -> 编辑 -> PASV模式

FlashFXP: 选项 -> 参数选择 -> 代理/防火墙/标识 -> 使用被动模式
或 站点管理 -> 对应站点 -> 选项 -> 使用被动模式
或 快速连接 -> 切换 -> 使用被动模式

LeapFTP: Option ->Preferences -> General->Proxy->Use Pasv Mode

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 Ubuntu.

If you have a Raspberry Pi you might have noticed that the storage possibilities are kind of limited unless you have some external storage. Even though you can get SD cards with 64+gb of storage, you probably want more if you have a lot of music and movies that you are streaming through your Pi.

There are several choices when it comes to storage for your Pi, such as network drives, flash drives, or external USB HDDs. Using a network drive you can not only access your files from the Pi, but from any computer connected to your network, which is very convenient.

Prerequisites

Before we start, I will assume you already

  1. have a network drive connected to your LAN, and
  2. know its LAN IP address

Note: remember to change all text in red to your own values.

 

Installation

In order to mount the drive, you need to have cifs-utils installed on your system. If you are running a newer version of Raspbian or RaspBMC you should already have this installed. You can check whether it is installed or not by running the following command:

dpkg -s cifs-utils

If it is installed, it should output something like this:

Package: cifs-utils
 Status: install ok installed
 Priority: optional
 Section: otherosfs
 Installed-Size: 189
 Maintainer: Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org> Architecture: armhf
 Version: 2:5.5-1
 ...

If it says that it’s not installed, you need to install it:

sudo apt-get install cifs-utils

 

Mounting unprotected (guest) network folders

You might have public folders on your network drive that can be accessed by anyone without having to provide any credentials. These are mounted in the same way as password-protected folders (we will mount these in the next section), but with a few different options.

First, let’s create a directory on the Pi where we want to mount the directory. You will need a separate directory for each network folder that you want to mount. I will create the folders in the /media folder:

sudo mkdir -p /media/networkshare/public

Then edit your /etc/fstab file (with root privileges) and add this line:

//192.168.0.18/publicshare /media/networkshare/public cifs guest,uid=1000,gid=1000,iocharset=utf8 0 0

The first part is the IP of your network drive, and the public folder you want to mount.
The second part is the folder on your local machine where you want to mount the network share.
The third part indicates what type of drive you want to mount (cifs).

The last part is the set of options you can pass, and here’s an explanation of the ones we are using:

  • guest is basically telling the network drive that it’s a public share, and you don’t need a password to access it (not to confuse with username),
  • uid=1000 makes the Pi user with this id the owner of the mounted share, allowing them to rename files,
  • gid=1000 is the same as uid but for the user’s group,
  • iocharset=utf8 allows access to files with names in non-English languages.

Note: If there is any space in the server path, you need to replace it by \040, for example //192.168.0.18/My\040Documents

To find the uid and gid for your username, use the following command:

id username

Now that we have added this to our /etc/fstab, we need to (re)mount all entries listed in /etc/fstab:

sudo mount -a

Now you can access your network drive from /media/networkshare/public (or wherever you chose to mount it).

 

Mount password-protected network folders

Mounting a password-protected share is very similar to mounting a public ones, with some minor changes to the options we pass. Let’s start by making a new folder where we want to mount the password-protected share:

sudo mkdir -p /media/networkshare/protected

Again, open /etc/fstab (with root privileges), and add this line:

//192.168.0.18/protectedshare /media/networkshare/protected cifs username=msusername,password=mspassword,uid=1000,gid=1000,iocharset=utf8 0 0

While this is a perfectly valid way of mounting your protected folder, it’s not very secure. Since /etc/fstab is readable by everyone, so are your credentials in it. So, let’s make it more secure by using a credentials file. This file will contain nothing else but your username and password, but we will make readable only to you. This way, other users on the system won’t be able to see your credentials.

Using a text editor, create a file that will contain the credentials for your protected network share:

vim ~/.smbcredentials

Enter your username and password for the protected share in the file:

username=msusername
password=mspassword

Save the file.

Change the permissions of the file to make sure only you can read it:

chmod 600 ~/.smbcredentials

Then edit your /etc/fstab file and change the line where we are mounting the protected share to look like this:

//192.168.0.18/protectedhare /media/networkshare/protected cifs credentials=/home/username/.smbcredentials,uid=1000,gid=1000,iocharset=utf8 0 0

Save the file.

Again, we need to (re)mount all entries listed in /etc/fstab:

sudo mount -a

 

Now you’re all set to access your public and protected folders from your Pi.

 

firefly – serenity 萤火虫 冲出宁静号

serentiyFireFly  serenity-summer_00354141

最近总算追完了《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 I can be
Since I found Serenity
But you can’t take the sky from me

这部电视剧以这首歌开始,体现了电视剧的基本内容:

即使夺走了我的爱和我的土地,让我无处可栖,但是我不怕,我向往自由,你无法夺走我的天空。

听到对白里面英语里面掺杂着我也听不懂的中国话,总感觉怪怪的。后来才知道导演比较喜欢中国,认为未来是中国的天下,剧中未来的世界,汉语和英语是通行的两种官方语言。话说回来,现在很多人说话,汉语里面插着不少英语单词,给老外也许也是怪怪的感觉。

這戲的偉大,在於它很短,就是被腰砍了,才播出11集(後來的dvd,出到14集),但不給人「爛尾」之感,而接續的電影版大結局serenity(衝出寧靜號),更是壯烈到驚人的地步,這麼艘破船,一船見錢眼開的爛傭兵,到最後,真是以命相博,就為了個,不知從哪撿來的,怪里怪氣的小屁孩。

這群人,最終不但揭漏了聯邦的無恥祕密,其代價更是無比昂貴,只因他們基本上是下定決心,命不要了,集體立志犧牲生命……。

至此,firefly 終於成就了一個影史的特例,一部被砍的小美劇,竟然能衍生出 serenity 這樣的電影鉅作,科幻鉅作,太空史詩鉅作,類型電影鉅作。它,不但成為影史特例之一,不但是影迷心中的cult,它,更變成影迷心目中的孤絕象徵。

片中,mal 帶領著寧靜號,抵抗聯邦。

戲外,我們這些影迷,也跟該死的fox電視台抵抗呢。

你把我們的影集砍了,我們用dvd的銷量,還有用電影版的賣座,證明你們的無知和罪惡!

(Joss Whedon:「這部電影本不該存在的」,他繼續說:「遭停播的電視劇,沒有資格拍成電影,除非製片、演員和影迷,能相信……這部電影,意義空前。」)

电影的结局以mal和river的对话,讲述了他和Serenity的关系,

You know what the first rule of flying is?

well, I suppose you do, since you already know what I’m about tot say.

Love. You can learn all the math in the ‘verse, but you take a boat in the air that you don’t love, she’ll shake you off just as sue as the turn of the worlds.

Love keeps her in the air when she ought to fall down, tells you she’s hurting before she keels.

Makes her a home.

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.
 *
 * @param string|array  $addr  You will send and broadcast to this address.
 *                             Normally you need to use the 255.255.255.255
 *                             address, so I made it as the default. You don't need to do anything with this.
 *                       
 *                             If you get permission denied errors when using
 *                             255.255.255.255 have permission denied problems
 *                             you can set $addr = false to get the broadcast
 *                             address from the network interface using the
 *                             ifconfig command.
 *
 *                             $addr can be array with broadcast IP values
 *
 * Example 1:
 *   When the message has been sent you will see the message "Done...."
 *   if ( wake_on_lan('00:00:00:00:00:00'))
 *      echo 'Done...';
 *   else
 *      echo 'Error while sending';
 */

function wake_on_lan($mac, $addr=false, $port=7) {
    if ($addr === false){
        exec("ifconfig | grep Bcast | cut -d \":\" -f 3 | cut -d \" \" -f 1",$addr);
        $addr=array_flip(array_flip($addr));
    }
    if(is_array($addr)){
        $last_ret = false;
        for ($i = 0; $i < count($addr); $i++)
            if ($addr[$i] !== false) {
                $last_ret = wake_on_lan($mac, $addr[$i], $port);
            }
        return $last_ret;
    }
    if (is_array($mac)){
        $ret = array();
        foreach($mac as $k =< $v)
            $ret[$k] = wake_on_lan($v, $addr, $port);
        return $ret;
    }
    //Check if it's an real MAC-address and split it into an array
    $mac = strtoupper($mac);
    if (!preg_match("/([A-F0-9]{1,2}[-:]){5}[A-F0-9]{1,2}/", $mac, $maccheck))
        return false;
    $addr_byte = preg_split("/[-:]/", $maccheck[0]);
 
    //Creating hardware adress
    $hw_addr = '';
    for ($a = 0; $a < 6; $a++)//Changing mac adres from HEXEDECIMAL to DECIMAL
        $hw_addr .= chr(hexdec($addr_byte[$a]));
  
    //Create package data
    $msg = str_repeat(chr(255),6);
    for ($a = 1; $a <= 16; $a++)
        $msg .= $hw_addr;
    //Sending data
    if (function_exists('socket_create')){
        //socket_create exists
        $sock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);    //Can create the socket
        if ($sock){
            $sock_data = socket_set_option($sock, SOL_SOCKET, SO_BROADCAST, 1); //Set
            if ($sock_data){
                $sock_data = socket_sendto($sock, $msg, strlen($msg), 0, $addr,$port); //Send data
                if ($sock_data){
                    socket_close($sock); //Close socket
                    unset($sock);
                    return true;
                }
            }
        }
        @socket_close($sock);
        unset($sock);
    }
    $sock=fsockopen("udp://" . $addr, $port);
    if($sock){
        $ret=fwrite($sock,$msg);
        fclose($sock);
    }
    if($ret)
        return true;
    return false;  
}

if (@wake_on_lan('00:00:00:00:00:00')) {
    echo 'Done...';
} else {
    echo 'Error while sending';
}
?>

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 videos from /storage/videos/ directory when it reboots.

Hope that helps.

 

 

This is like asking “How do I fix my car when it won’t start?” Your question is way to broad to answer. The process will remain basically the same form case to case. Here are some steps that you can go through to figure this out.

  1. GOOGLE
  2. Using Terminal, shell, SSH, etc., figure out the command that will start the video as desired.
  3. READ this document to figure out how to turn that shell command into a bash script.http://www.calpoly.edu/~rasplund/script.html
  4. READ this document to figure out how to run that bash script on boothttp://www.cyberciti.biz/faq/linux-execute-cron-job-after-system-reboot/
  5. Reboot, test and troubleshoot.