安装和设置Git
下载Git for
Windows,采用默认安装,安装完成后就可以在本地使用Git了。
但要将内容放到Github上,必须先在Github网站上注册个账户,然后在本机使用Git创建SSH Key。操作如下:
在Git Bash上输入命令:
ssh-keygen -C "[email protected]" -t rsa
Note: “[email protected]”需要更换成你在Github上注册的Email地址或者是Username
这样会在用户目录(C:\Users\用户名)下产生一个.ssh文件夹,里面为对应的SSH
Keys,其中id_rsa.pub是Github需要的SSH公钥文件。
到c:\Users\用户名\.ssh\目录找到id_rsa.pub(可能位置不一定对,但是确认是以.pub结尾的文件),并用记事本打开复制全部内容。
Note:建议私钥公钥的名称最好写成"id_rsa",这样连接Github的时候会找这个文件,如果文件名已定,之后改名也行。
在github网站选择“Account Settings”>>“SSH Public Keys”>>“Add another
public key”,将刚才复制的内容粘贴到key文本框内。
这样就可以直接使用Git和GitHub了。
Note:建议在Git Bash中输入“ssh -v [email protected]”测试能够正常连接github
安装Ruby环境
下载RubyInstaller和DevKit。
因为Octopress需要的Ruby版本为1.9.2,所以选rubyinstaller-1.9.2-p290.exe,DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe。
先安装RubyInstaller,然后解压缩DevKit(路径中不能有中文)。
在“Start Command Prompt with Ruby”命令行中进入DevKit解压缩的目录,然后运行以下命令:
ruby dk.rb init
ruby dk.rb install
gem install rdiscount --platform=ruby
如果安装成功,就可以使用一些Ruby的工具了,也为后面搭建博客提供了基础环境。
安装Octopress
先通过Git从Github上克隆一份Octopress(在Git Bash上输入命令)
git clone git://github.com/imathis/octopress.git octopress
然后安装一些依赖的工具(后面都是在Start Command Prompt with Ruby中输入)
cd octopress
ruby --version # Should report Ruby 1.9.2
gem install bundler
bundle install
安装Octopress默认的Theme
rake install
配置Octopress
将octopress的文件夹下的_config.yml的编码改成UTF-8:
保存(或另存为)时选择编码格式为UTF-8
修改_config.yml,批改url、title、subtitle、author等等。
到Ruby的安装目次\lib\ruby\gems\1.9.1\gems\jekyll-0.11.2\lib\jekyll\找到convertible.rb这个文件,批改self.content
= File.read(File.join(base, name))为self.content = File.read(File.join(base,
name), :encoding =>"utf-8")。
写博文
最简单的方式:复制octopress\source\_posts下某个文件,例如2012-07-30-the-first-post.markdown,修改文件名和文件中的内容
或者,命令行中输入rake
new_post["title"],会创建一个新的Post,新文件在source/_post下,文件名如下面的格式:2012-07-31-title.markdown。该文件可以直接打开修改。
写文章时,可以使用Markdown和Octopress
Plugins等工具对内容进行格式排版。
预览效果
在修改设置或者写完文章后,想看看具体效果,可以通过如下命令来完成:
rake generate
rake preview
将博客部署到Github上
在预览的效果符合自己的预期后,就可以通过如下命令将内容部署到Github上了。
如果是第一次部署,需要在Github上创建一个username.github.com的repository
在github网站选择“Create a New Repo”,如图
填写对应的内容即可
note:Repository
name填写username.github.com,username一定要和github的username一致,建好的博客代表的是你这个github账户的主页即page
配置octopress与github的连接:
进入Octopress目录:
rake setup_github_pages
按照提示填入你的github项目网址,比如:
[email protected]:Username/yourname.github.com.git
note:可以按照上面的修改,也可以在github的项目页中找地址
分发到github上:
rake deploy
第一次运行时,会询问是否建立对github的授权,输入:yes。然后将站点更新的内容推送到github上。
补充一点:
最后的但并不是最重要的,我们需要将修改的日志同步到github上,因此下面的3个命令也是必须的。
git status
git add .
git commit -m 'your message'
git push origin source
大功告成!
歌词:You'd better stop
And try to think
Look what you're doing
Oh, Ruby
You never get to
Give it all you got
Cause you forgot
To take it to the top
Come On
Ruby Blue
Why do you make a start
With no means to go on?
It's on the tip of your…
Ruby, we used to love you truly
You used to make us laugh
It really was a gas…
But now you're a bore
One
Two
Three
It was you
And them
And me
Look what you do
Oh, Ruby Blue
You'd better stop
And try to think
Look what you're doing
Oh, Ruby
You never get to
Give it all you've got
Cause you forgot
To take it to the top
Come on Ruby Blue
Ah Yeah
Nobody cares anyway
If you play the painted lady
Four and more and
Five and six
Who would have believed
It would come to this?
Look what you do
Oh, Ruby Blue
You'd better stop
And try to think
Look what you're doing
Oh, Ruby
You never get to
Give it all you've got
Cause you forgot
To take it to the top
Oh Ruby Blue
One
Two and
Three
Look what you're doing
Ah Ruby
It was you
And them
And ME
Look what you do
Oh, Ruby Blue
中文名: 舞梦成真英文名: Make It Happen
发行日期: 2008年
导演: Darren Grant
地区: 英国
语言: 英语
简介:
◎译 名 舞梦成真
◎片 名 Make It Happen
◎年 代 2008
◎国 家 美国
◎类 别 剧情
◎语 言 英语
◎片 长 86 mins
◎导 演 Darren Grant
◎主 演 玛丽·伊丽莎白·文斯蒂德 Mary Elizabeth Winstead
瑞利·史密斯 Riley Smith .....Russ
泰萨·汤普森 Tessa Thompson
John Henry Reardon .....Joel
Ashley Roberts
朱莉莎·伯尔穆德兹 Julissa Bermudez .....Carmen (attached)
Karen LeBlanc .....Brenda
Leigh Enns .....Flirtatious Customer
Aaron Merke .....Clay
Terry Ray .....Birthday Boy
Erik Fjeldsted .....Marty
Matt Kippen .....Wayne
◎简 介
劳瑞恩是一个小镇姑娘,她离开家乡搬到芝加哥,就是希望能进入芝加哥音乐舞蹈学院进行学习,以实现自己当舞蹈家的梦想。然而在面试失败并经历了许多天灾人祸后,劳瑞恩被迫在一家夜总会里进行表演维持生活。夜总会里的人形形色色,劳瑞恩在与他们的接触中重新发现了自己,并开始明白计划也许会改变,但是梦想永远将执着下去。
以舞蹈或体育等为题材的电影往往都有它们固定的一票支持者,毕竟喜欢这类电影的动感和活力的人就如同另一群喜爱武打片中的动作场面的忠实观众或其他爱被恐怖片吓的影迷。我也早自《辣身舞》(Dirty Dancing),便开始喜欢上这类舞蹈电影,喜欢他们舞得热闹、舞得忘我的气氛营造。通常电影中的另两个卖点便是主人翁的成长和过程中所激发出超绚舞姿。
《舞出精彩》也以相同的剧情发展,只可惜,它并没有能够制造出太大的惊喜或火花。在电影中段的夜总会舞蹈让人有小型《红磨坊》(Moulin Rouge)的味道,也有些许《魅力四射》(Coyote Ugly)的影子。
与较现代的《舞出我人生》(Step Up)相比,《舞出精彩》无法缔造新的舞蹈电影热潮。
电影舞梦成真里的所有插曲
chenelle:teach me how to dance
bella seoul :my way
zshatwa:put it down
bitter sweet:get what i want
lady sovereign:hoodie
lp featuring JOSE FUEGO:pick it up
ELISABETH WITHERS:get your shoes on
roisin murphy:ruby blue
lil mama:shawty get loose
alana d:break it down
unkle jam:love ya
keke palmer:bottoms up
jamelia:beware of the dog
salt 'n'pepa:push it
lady gaga:just dance
这个片子中央6台播放过。