diff --git a/Gemfile b/Gemfile
index 9d1c38a..b1d184c 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,4 +1,4 @@
-source "http://rubygems.org"
+source "http://ruby.taobao.org"
group :development do
gem 'rake', '~> 10.0.2'
diff --git a/Gemfile.lock b/Gemfile.lock
index 7a4a49d..45dfefc 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,7 +1,8 @@
GEM
- remote: http://rubygems.org/
+ remote: http://ruby.taobao.org/
specs:
RedCloth (4.2.9)
+ RedCloth (4.2.9-x86-mingw32)
albino (1.3.3)
posix-spawn (>= 0.3.6)
blankslate (2.1.2.4)
@@ -52,6 +53,7 @@ GEM
PLATFORMS
ruby
+ x86-mingw32
DEPENDENCIES
RedCloth (~> 4.2.9)
diff --git a/Gemfile~ b/Gemfile~
deleted file mode 100644
index 9d1c38a..0000000
--- a/Gemfile~
+++ /dev/null
@@ -1,18 +0,0 @@
-source "http://rubygems.org"
-
-group :development do
- gem 'rake', '~> 10.0.2'
- gem 'rack', '~> 1.4.1'
- gem 'jekyll', '~> 0.11.2'
- gem 'rdiscount', '~> 1.6.8'
- gem 'pygments.rb', '~> 0.2.12'
- gem 'RedCloth', '~> 4.2.9'
- gem 'haml', '~> 3.1.6'
- gem 'compass', '~> 0.12.1'
- gem 'rubypants', '~> 0.2.0'
- gem 'rb-fsevent', '~> 0.9'
- gem 'stringex', '~> 1.4.0'
- gem 'liquid', '~> 2.3.0'
-end
-
-gem 'sinatra', '~> 1.3.2'
diff --git a/Rakefile b/Rakefile
index ef9af47..57dbc5e 100644
--- a/Rakefile
+++ b/Rakefile
@@ -9,10 +9,10 @@ ssh_port = "22"
document_root = "~/website.com/"
rsync_delete = false
rsync_args = "" # Any extra arguments to pass to rsync
-deploy_default = "rsync"
+deploy_default = "push"
# This will be configured for you when you run config_deploy
-deploy_branch = "gh-pages"
+deploy_branch = "master"
## -- Misc Configs -- ##
diff --git a/_config.yml b/_config.yml
index 47cfbed..c9256aa 100644
--- a/_config.yml
+++ b/_config.yml
@@ -36,7 +36,7 @@ category_dir: blog/categories
markdown: rdiscount
pygments: false # default python pygments have been replaced by pygments.rb
-paginate: 8 # Posts per page on the blog index
+paginate: 10 # Posts per page on the blog index
pagination_dir: blog # Directory base for pagination URLs eg. /blog/page/2/
recent_posts: 5 # Posts in the sidebar Recent Posts section
excerpt_link: "Read on →" # "Continue reading" link text at the bottom of excerpted articles
@@ -69,7 +69,7 @@ twitter_tweet_count: 4
twitter_show_replies: false
twitter_follow_button: true
twitter_show_follower_count: false
-twitter_tweet_button: true
+twitter_tweet_button: false
# Google +1
google_plus_one: false
@@ -78,7 +78,7 @@ google_plus_one_size: medium
# Google Plus Profile
# Hidden: No visible button, just add author information to search results
googleplus_user:
-googleplus_hidden: false
+googleplus_hidden: true
# Pinboard
pinboard_user:
diff --git a/_config.yml~ b/_config.yml~
deleted file mode 100644
index 15372ae..0000000
--- a/_config.yml~
+++ /dev/null
@@ -1,100 +0,0 @@
-# ----------------------- #
-# Main Configs #
-# ----------------------- #
-
-url: http://wahyd4.github.com
-title: Junv's Blog
-subtitle: nothing to say
-author: Junv
-simple_search: http://google.com/search
-description:
-
-# Default date format is "ordinal" (resulting in "July 22nd 2007")
-# You can customize the format as defined in
-# http://www.ruby-doc.org/core-1.9.2/Time.html#method-i-strftime
-# Additionally, %o will give you the ordinal representation of the day
-date_format: "ordinal"
-
-# RSS / Email (optional) subscription links (change if using something like Feedburner)
-subscribe_rss: /atom.xml
-subscribe_email:
-# RSS feeds can list your email address if you like
-email:
-
-# ----------------------- #
-# Jekyll & Plugins #
-# ----------------------- #
-
-# If publishing to a subdirectory as in http://site.com/project set 'root: /project'
-root: /
-permalink: /blog/:year/:month/:day/:title/
-source: source
-destination: public
-plugins: plugins
-code_dir: downloads/code
-category_dir: blog/categories
-markdown: rdiscount
-pygments: false # default python pygments have been replaced by pygments.rb
-
-paginate: 10 # Posts per page on the blog index
-pagination_dir: blog # Directory base for pagination URLs eg. /blog/page/2/
-recent_posts: 5 # Posts in the sidebar Recent Posts section
-excerpt_link: "Read on →" # "Continue reading" link text at the bottom of excerpted articles
-
-titlecase: true # Converts page and post titles to titlecase
-
-# list each of the sidebar modules you want to include, in the order you want them to appear.
-# To add custom asides, create files in /source/_includes/custom/asides/ and add them to the list like 'custom/asides/custom_aside_name.html'
-default_asides: [asides/recent_posts.html, asides/github.html, asides/twitter.html, asides/delicious.html, asides/pinboard.html, asides/googleplus.html]
-
-# Each layout uses the default asides, but they can have their own asides instead. Simply uncomment the lines below
-# and add an array with the asides you want to use.
-# blog_index_asides:
-# post_asides:
-# page_asides:
-
-# ----------------------- #
-# 3rd Party Settings #
-# ----------------------- #
-
-# Github repositories
-github_user: wahyd4
-github_repo_count: 0
-github_show_profile_link: true
-github_skip_forks: true
-
-# Twitter
-twitter_user:
-twitter_tweet_count: 4
-twitter_show_replies: false
-twitter_follow_button: true
-twitter_show_follower_count: false
-twitter_tweet_button: true
-
-# Google +1
-google_plus_one: false
-google_plus_one_size: medium
-
-# Google Plus Profile
-# Hidden: No visible button, just add author information to search results
-googleplus_user:
-googleplus_hidden: false
-
-# Pinboard
-pinboard_user:
-pinboard_count: 3
-
-# Delicious
-delicious_user:
-delicious_count: 3
-
-# Disqus Comments
-disqus_short_name:
-disqus_show_comment_count: false
-
-# Google Analytics
-google_analytics_tracking_id:
-
-# Facebook Like
-facebook_like: false
-
diff --git a/source/_includes/after_footer.html b/source/_includes/after_footer.html
index 8246c1f..08b8e34 100644
--- a/source/_includes/after_footer.html
+++ b/source/_includes/after_footer.html
@@ -1,4 +1,5 @@
-{% include fancybox.html %}
-{% include phasebeam.html %}
{% include disqus.html %}
-{% include custom/after_footer.html %}
\ No newline at end of file
+{% include facebook_like.html %}
+{% include google_plus_one.html %}
+{% include twitter_sharing.html %}
+{% include custom/after_footer.html %}
diff --git a/source/_includes/archive_post.html b/source/_includes/archive_post.html
index c47dc42..fef3328 100644
--- a/source/_includes/archive_post.html
+++ b/source/_includes/archive_post.html
@@ -1,16 +1,8 @@
-{% capture date %}{{ post.date }}{% endcapture %}
-{% capture this_year %}{{ date | date: "%Y" }}{% endcapture %}
-{% unless year == this_year %}
- {% assign year = this_year %}
- {% unless forloop.first %}
-
- {% endunless %}
- © {{ site.time | date: "%Y" }} {{ site.author }}
+ Copyright © {{ site.time | date: "%Y" }} - {{ site.author }} -
+ Powered by Octopress
+
- {{ post.title }}
-
-{{post.title}}
+
+{% if category != '0' %}
+
+{% endif %}
diff --git a/source/_includes/article.html b/source/_includes/article.html
index aee6efb..23f4884 100644
--- a/source/_includes/article.html
+++ b/source/_includes/article.html
@@ -1,32 +1,28 @@
-{% if site.titlecase %}{{ post.title | titlecase }}{% else %}{{ post.title }}{% endif %}
- {% else %}
- {% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}
- {% endif %}
- {% if post or page.single %}{% include post/date.html %}{% endif %}
-{{ site.title }}
+ {% if site.subtitle %}
+ {{ site.subtitle }}
+ {% endif %}
+
diff --git a/source/_includes/custom/navigation.html b/source/_includes/custom/navigation.html
index 7cfdc95..d6bd424 100644
--- a/source/_includes/custom/navigation.html
+++ b/source/_includes/custom/navigation.html
@@ -1,4 +1,4 @@
-
-
diff --git a/source/_includes/footer.html b/source/_includes/footer.html
index 72e2c3d..3a8c768 100644
--- a/source/_includes/footer.html
+++ b/source/_includes/footer.html
@@ -1,20 +1 @@
-
{% include custom/footer.html %}
-
\ No newline at end of file
diff --git a/source/_includes/head.html b/source/_includes/head.html
index 16d74d6..d7abd6f 100644
--- a/source/_includes/head.html
+++ b/source/_includes/head.html
@@ -1,20 +1,29 @@
-
-
+
+
+
+
-
- {{ page.title }}
-
-{{ year }}
+{% endunless %}
+{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}
+ {% if page.date %}{% endif %}
+ Comments
+ Comments
+
][1]
- [1]: http://www.junv.info/wp-content/uploads/2010/09/DSC02310_副本_副本3.jpg
\ No newline at end of file
+ [1]: http://www.junv.info/wp-content/uploads/2010/09/DSC02310_副本_副本3.jpg
diff --git a/source/_posts/2010-09-19-recuva.markdown b/source/_posts/2010-09-19-recuva.markdown
index 5344949..9eb0dc4 100644
--- a/source/_posts/2010-09-19-recuva.markdown
+++ b/source/_posts/2010-09-19-recuva.markdown
@@ -2,6 +2,7 @@
title: 软件分享:Recuva(超强文件恢复软件)
author: wahyd4
layout: post
+comments: true
permalink: /2010/09/recuva/
categories:
- 头条推荐
@@ -56,4 +57,4 @@ tags:
[1]: http://www.junv.info/wp-content/uploads/2010/09/11w2.jpg
[2]: http://www.junv.info/wp-content/uploads/2010/09/asda.jpg
- [3]: http://www.junv.info/wp-content/uploads/2010/09/sdasd.jpg
\ No newline at end of file
+ [3]: http://www.junv.info/wp-content/uploads/2010/09/sdasd.jpg
diff --git a/source/_posts/2010-09-19-tencent.markdown b/source/_posts/2010-09-19-tencent.markdown
index 30e2c43..ef8bbfe 100644
--- a/source/_posts/2010-09-19-tencent.markdown
+++ b/source/_posts/2010-09-19-tencent.markdown
@@ -2,6 +2,7 @@
title: 送腾讯企业邮箱邀请码啦!
author: wahyd4
layout: post
+comments: true
permalink: /2010/09/tencent/
categories:
- 我们爱分享
@@ -198,4 +199,4 @@ tags:
[
][1]
- [1]: http://www.junv.info/wp-content/uploads/2010/09/qiye.png
\ No newline at end of file
+ [1]: http://www.junv.info/wp-content/uploads/2010/09/qiye.png
diff --git a/source/_posts/2010-09-21-230.markdown b/source/_posts/2010-09-21-230.markdown
index c82c98f..5b9ac43 100644
--- a/source/_posts/2010-09-21-230.markdown
+++ b/source/_posts/2010-09-21-230.markdown
@@ -2,6 +2,7 @@
title: 那些刀光剑影的日子
author: wahyd4
layout: post
+comments: true
permalink: /2010/09/230/
categories:
- 头条推荐
@@ -81,4 +82,4 @@ CS是我们这代人中的神话,是永恒的经典,无论是人物系统,
[8]: http://www.junv.info/wp-content/uploads/2010/09/Guerilla-2.jpg
[9]: http://www.junv.info/wp-content/uploads/2010/09/d5cdbdb46aee81308bd4b29b.jpg
[10]: http://www.junv.info/wp-content/uploads/2010/09/3442157490195162000.jpg
- [11]: http://www.junv.info/wp-content/uploads/2010/09/1e3ae5dda13222ff76c63827.jpg
\ No newline at end of file
+ [11]: http://www.junv.info/wp-content/uploads/2010/09/1e3ae5dda13222ff76c63827.jpg
diff --git a/source/_posts/2010-09-22-nikitamaggie-q.markdown b/source/_posts/2010-09-22-nikitamaggie-q.markdown
index 76a31c2..dcf0ee4 100644
--- a/source/_posts/2010-09-22-nikitamaggie-q.markdown
+++ b/source/_posts/2010-09-22-nikitamaggie-q.markdown
@@ -1,6 +1,7 @@
---
title: NIKITA/maggie Q
author: wahyd4
+comments: true
excerpt: >
美剧回归了。盼来了久违的《gossip
girl》。除此之外还有一部新上的《Nikita》,是继《吸血鬼日记》之后美国CW电视台推出的又一部谍战电视连续剧,
@@ -25,4 +26,4 @@ tags:
NIKITA/maggie Q《尼基塔 第一季》剧集免费下载:来自人人影视:点我进入下载
[1]: http://www.junv.info/wp-content/uploads/2010/09/NIKITA.jpg
- [2]: http://www.junv.info/wp-content/uploads/2010/09/Maggie-Q1.jpg
\ No newline at end of file
+ [2]: http://www.junv.info/wp-content/uploads/2010/09/Maggie-Q1.jpg
diff --git a/source/_posts/2010-09-22-wordpress.markdown b/source/_posts/2010-09-22-wordpress.markdown
index 937499e..807f3b1 100644
--- a/source/_posts/2010-09-22-wordpress.markdown
+++ b/source/_posts/2010-09-22-wordpress.markdown
@@ -2,6 +2,7 @@
title: 一款很棒的wordpress 首页动画展示插件
author: wahyd4
layout: post
+comments: true
permalink: /2010/09/wordpress/
categories:
- 头条推荐
@@ -34,4 +35,4 @@ Slide Transition Type 这是动画效果的选择,你可以根据你自己的
[1]: http://www.junv.info/wp-content/uploads/2010/09/8-15.png
[2]: http://www.junv.info/wp-content/uploads/2010/09/8-15-2.png
- [3]: http://downloads.wordpress.org/plugin/featured-content-gallery.3.2.0.zip
\ No newline at end of file
+ [3]: http://downloads.wordpress.org/plugin/featured-content-gallery.3.2.0.zip
diff --git a/source/_posts/2010-09-23-f1-2010.markdown b/source/_posts/2010-09-23-f1-2010.markdown
index 5d88979..39aae03 100644
--- a/source/_posts/2010-09-23-f1-2010.markdown
+++ b/source/_posts/2010-09-23-f1-2010.markdown
@@ -1,6 +1,7 @@
---
title: F1 2010 现在可以下载啦!
author: wahyd4
+comments: true
excerpt: >
F1 2010
与9月22日发行了,作者第一时间在国内几个比较著名的单机游戏网站的醒目位置都看到介绍和下载链接!本人虽然不算一个游戏的狂热的追求者,但是对赛车和足球确实有着很深厚的感情,于是本人也在第一时间下载了游戏,进行试玩。
@@ -65,4 +66,4 @@ F1 2010 与9月22日发行了,作者第一时间在国内几个比较著名的
[2]: http://www.junv.info/wp-content/uploads/2010/09/33.jpg
[3]: http://www.junv.info/wp-content/uploads/2010/09/22.jpg
[4]: http://db.gamersky.com/Soft/ShowSoftDown.asp?UrlID=1&SoftID=25895
- [5]: http://db.gamersky.com/Soft/ShowSoftDown.asp?UrlID=1&SoftID=25895&flag=1
\ No newline at end of file
+ [5]: http://db.gamersky.com/Soft/ShowSoftDown.asp?UrlID=1&SoftID=25895&flag=1
diff --git a/source/_posts/2010-09-23-ultraiso.markdown b/source/_posts/2010-09-23-ultraiso.markdown
index 3be3100..c71ba6e 100644
--- a/source/_posts/2010-09-23-ultraiso.markdown
+++ b/source/_posts/2010-09-23-ultraiso.markdown
@@ -2,6 +2,7 @@
title: 'UltraISO(软碟通)—>轻松做个超好用的u盘系统启动盘!'
author: wahyd4
layout: post
+comments: true
permalink: /2010/09/ultraiso/
categories:
- 头条推荐
@@ -74,4 +75,4 @@ UltraISO(软碟通)—>轻松做个超好用的u盘系统启动盘!
[2]: http://www.junv.info/wp-content/uploads/2010/09/21.png
[3]: http://www.junv.info/wp-content/uploads/2010/09/31.png
[4]: http://www.junv.info/wp-content/uploads/2010/09/41.png
- [5]: http://www.junv.info/wp-content/uploads/2010/09/5.png
\ No newline at end of file
+ [5]: http://www.junv.info/wp-content/uploads/2010/09/5.png
diff --git a/source/_posts/2010-09-24-next-year-and-today.markdown b/source/_posts/2010-09-24-next-year-and-today.markdown
index 4397fad..f57ba38 100644
--- a/source/_posts/2010-09-24-next-year-and-today.markdown
+++ b/source/_posts/2010-09-24-next-year-and-today.markdown
@@ -2,6 +2,7 @@
title: 明年今日。
author: wahyd4
layout: post
+comments: true
permalink: /2010/09/next-year-and-today/
categories:
- 《 theLun》
@@ -14,4 +15,4 @@ categories:
过去几年,喜欢这首歌的原因或许仅仅只是因为旋律顺畅,然而随着年龄的增长人也变得越来越敏感,如今再听这首歌总会感慨于林夕直戳人心的词。
-凡若有过一段深刻的感情应该都会有感于此吧。此刻回想一年前的自己,是否也如当初一般认真且不舍又或是决绝呢。总有一个人会恋恋不舍。一年又一年地活在当年。只因为在有生的瞬间能遇到你,竞花光所有运气。
\ No newline at end of file
+凡若有过一段深刻的感情应该都会有感于此吧。此刻回想一年前的自己,是否也如当初一般认真且不舍又或是决绝呢。总有一个人会恋恋不舍。一年又一年地活在当年。只因为在有生的瞬间能遇到你,竞花光所有运气。
diff --git a/source/_posts/2010-09-25-a-most-usefual-website.markdown b/source/_posts/2010-09-25-a-most-usefual-website.markdown
index 7a16fb1..3ecde62 100644
--- a/source/_posts/2010-09-25-a-most-usefual-website.markdown
+++ b/source/_posts/2010-09-25-a-most-usefual-website.markdown
@@ -2,6 +2,7 @@
title: 几个常用的网站,要记到哈!
author: wahyd4
layout: post
+comments: true
permalink: /2010/09/a-most-usefual-website/
categories:
- 我们爱分享
@@ -56,4 +57,4 @@ tags:
[4]: http://www.junv.info/wp-content/uploads/2010/09/04e82f089da1c1d23ac763f5.jpg
[5]: http://translate.google.com/
[6]: http://www.junv.info/wp-content/uploads/2010/09/3b430101a40919bde850cdd5.jpg
- [7]: http://www.junv.info/wp-content/uploads/2010/09/u42748670341659055255fm0gp0.gif
\ No newline at end of file
+ [7]: http://www.junv.info/wp-content/uploads/2010/09/u42748670341659055255fm0gp0.gif
diff --git a/source/_posts/2010-09-25-cet-6-2.markdown b/source/_posts/2010-09-25-cet-6-2.markdown
index 9436039..99bddda 100644
--- a/source/_posts/2010-09-25-cet-6-2.markdown
+++ b/source/_posts/2010-09-25-cet-6-2.markdown
@@ -2,6 +2,7 @@
title: 分享六级词汇供下载,只是因为我需要面对!
author: wahyd4
layout: post
+comments: true
permalink: /2010/09/cet-6-2/
categories:
- 头条推荐
@@ -53,4 +54,4 @@ tags:
有音标版(注意两种版本的单词有一些不同哦)
- [1]: http://www.junv.info/wp-content/uploads/2010/09/f14_24825251.jpg
\ No newline at end of file
+ [1]: http://www.junv.info/wp-content/uploads/2010/09/f14_24825251.jpg
diff --git a/source/_posts/2010-09-25-remove-trashes.markdown b/source/_posts/2010-09-25-remove-trashes.markdown
index c530060..8f5bab6 100644
--- a/source/_posts/2010-09-25-remove-trashes.markdown
+++ b/source/_posts/2010-09-25-remove-trashes.markdown
@@ -2,6 +2,7 @@
title: 教你一招:清除你电脑中的垃圾文件(很好用)
author: wahyd4
layout: post
+comments: true
permalink: /2010/09/remove-trashes/
categories:
- 我们爱分享
@@ -43,4 +44,4 @@ echo. & pause
\ No newline at end of file
+
diff --git a/source/_posts/2010-09-27-462.markdown b/source/_posts/2010-09-27-462.markdown
index d7c7170..b7fae0d 100644
--- a/source/_posts/2010-09-27-462.markdown
+++ b/source/_posts/2010-09-27-462.markdown
@@ -1,6 +1,7 @@
---
title: Ucall
author: wahyd4
+comments: true
excerpt: |
UUcall电脑电话宝,话费超低廉
@@ -38,4 +39,4 @@ UUcall电脑电话宝,话费超低廉
然后用桌面上的软件即可使用,并拨打电话。
- [1]: http://www.junv.info/wp-content/uploads/2010/09/7f9fbd82614149e7bc3e1ecb1.jpg
\ No newline at end of file
+ [1]: http://www.junv.info/wp-content/uploads/2010/09/7f9fbd82614149e7bc3e1ecb1.jpg
diff --git a/source/_posts/2010-09-28-a-competation.markdown b/source/_posts/2010-09-28-a-competation.markdown
index 5fcf2b1..bfd97d7 100644
--- a/source/_posts/2010-09-28-a-competation.markdown
+++ b/source/_posts/2010-09-28-a-competation.markdown
@@ -2,6 +2,7 @@
title: '第三届中国成都青年(大学生)电子商务创业大赛[全国的大学生,三年内毕业青年皆可参加哦]'
author: wahyd4
layout: post
+comments: true
permalink: /2010/09/a-competation/
categories:
- 头条推荐
@@ -43,4 +44,4 @@ tags:
Fighting……
- [1]: http://www.junv.info/wp-content/uploads/2010/09/111.jpg
\ No newline at end of file
+ [1]: http://www.junv.info/wp-content/uploads/2010/09/111.jpg
diff --git a/source/_posts/2010-09-28-newest-m9.markdown b/source/_posts/2010-09-28-newest-m9.markdown
index 8884f16..994a6ce 100644
--- a/source/_posts/2010-09-28-newest-m9.markdown
+++ b/source/_posts/2010-09-28-newest-m9.markdown
@@ -2,6 +2,7 @@
title: 魅族M9最新谍照??不是以前的哦
author: wahyd4
layout: post
+comments: true
permalink: /2010/09/newest-m9/
categories:
- 头条推荐
@@ -25,4 +26,4 @@ tags:
- [1]: http://toozhao.com/wp-content/uploads/2010/11/ceJnKbnU8GiY.jpg
\ No newline at end of file
+ [1]: http://toozhao.com/wp-content/uploads/2010/11/ceJnKbnU8GiY.jpg
diff --git a/source/_posts/2010-10-02-google-earth.markdown b/source/_posts/2010-10-02-google-earth.markdown
index 551cc6e..86246bd 100644
--- a/source/_posts/2010-10-02-google-earth.markdown
+++ b/source/_posts/2010-10-02-google-earth.markdown
@@ -2,6 +2,7 @@
title: Google地图,卫星定位!
author: wahyd4
layout: post
+comments: true
permalink: /2010/10/google-earth/
categories:
- 我们爱分享
@@ -37,4 +38,4 @@ Google地图可以分为两类,当你使用地图选项时,查找的地点
谷歌地图(Google Maps)是 Google 公司提供的电子地图服务,包括局部详细的卫星照片。能提供三种视图:一是矢量地图(传统地图),可提供政区和交通以及商业信息;二是不同分辨率的卫星照片(俯视图,跟 Google Earth 上的卫星照片基本一样);三是地形视图,可以用以显示地形和等高线。它的姊妹产品是Google Earth。
[1]: http://www.junv.info/wp-content/uploads/2010/10/tupian.jpg
- [2]: http://www.junv.info/wp-content/uploads/2010/10/n.jpg
\ No newline at end of file
+ [2]: http://www.junv.info/wp-content/uploads/2010/10/n.jpg
diff --git a/source/_posts/2010-10-05-jiu-zai-gou.markdown b/source/_posts/2010-10-05-jiu-zai-gou.markdown
index d6affda..be321de 100644
--- a/source/_posts/2010-10-05-jiu-zai-gou.markdown
+++ b/source/_posts/2010-10-05-jiu-zai-gou.markdown
@@ -2,6 +2,7 @@
title: 九寨沟。黄龙(美图)
author: wahyd4
layout: post
+comments: true
permalink: /2010/10/jiu-zai-gou/
categories:
- 头条推荐
@@ -24,4 +25,4 @@ tags:
[4]: http://www.junv.info/wp-content/uploads/2010/10/SAM_1209_conew1.jpg
[5]: http://www.junv.info/wp-content/uploads/2010/10/SAM_1202_conew1.jpg
[6]: http://www.junv.info/wp-content/uploads/2010/10/SAM_1198_conew1.jpg
- [7]: http://www.junv.info/wp-content/uploads/2010/10/SAM_1190_conew1.jpg
\ No newline at end of file
+ [7]: http://www.junv.info/wp-content/uploads/2010/10/SAM_1190_conew1.jpg
diff --git a/source/_posts/2010-10-05-private.markdown b/source/_posts/2010-10-05-private.markdown
index 726c731..8a36e83 100644
--- a/source/_posts/2010-10-05-private.markdown
+++ b/source/_posts/2010-10-05-private.markdown
@@ -1,6 +1,7 @@
---
title: 游戏推荐——private
author: wahyd4
+comments: true
excerpt: >
在浏览网页时,笔者偶然发现了这款名为《private》的游戏,有些直译成中文又叫“私处”但是总觉得这个名字有点不太尊重女性朋友一样。这个姑且放过不提。
layout: post
@@ -28,4 +29,4 @@ tags:
**对了 忘记说的一点是这款游戏看起来小巧可是貌似对机器配置的要求有点高,所以如果机器配置过低的童鞋可以在设置里面把游戏效果尽可能的调低点。如果还有什么问题的话 可以留言相互讨论,希望有高手能够看见解决一下!**
- [1]: ed2k://|file|%5B%E7%A7%81%E5%A4%84%5D.privates.exe |100129178|b6ee25991d267336e4e183ec6c936b58|h =ustp4csd3ezxngtfz6t7cdghrbmu6j3j|/
\ No newline at end of file
+ [1]: ed2k://|file|%5B%E7%A7%81%E5%A4%84%5D.privates.exe |100129178|b6ee25991d267336e4e183ec6c936b58|h =ustp4csd3ezxngtfz6t7cdghrbmu6j3j|/
diff --git a/source/_posts/2010-10-05-qq-reading.markdown b/source/_posts/2010-10-05-qq-reading.markdown
index 4e0657d..8663e01 100644
--- a/source/_posts/2010-10-05-qq-reading.markdown
+++ b/source/_posts/2010-10-05-qq-reading.markdown
@@ -1,6 +1,7 @@
---
title: QQ阅读——像艺术一样阅读
author: wahyd4
+comments: true
excerpt: >
笔者今天偶然登录QQ邮箱,发现了QQ阅读这个东西(现在还处于beta版本)。于是我便试着开始使用这个东西。用过之后,的确我被这样一个艺术品一样的东西给镇住了,它的界面是如此漂亮,让人惊艳不已。
layout: post
@@ -31,4 +32,4 @@ categories:
[1]: http://www.junv.info/wp-content/uploads/2010/10/11sa.jpg
[2]: http://www.junv.info/wp-content/uploads/2010/10/red.jpg
- [3]: http://www.junv.info/wp-content/uploads/2010/10/hahasd.jpg
\ No newline at end of file
+ [3]: http://www.junv.info/wp-content/uploads/2010/10/hahasd.jpg
diff --git a/source/_posts/2010-10-07-prepare-cet-4.markdown b/source/_posts/2010-10-07-prepare-cet-4.markdown
index da1a4a4..a45a962 100644
--- a/source/_posts/2010-10-07-prepare-cet-4.markdown
+++ b/source/_posts/2010-10-07-prepare-cet-4.markdown
@@ -1,12 +1,13 @@
---
title: 备战四级!
author: wahyd4
+comments: true
excerpt: |
- 马上要四级考试。
-
- 那么四级的分数是怎安排的呢?我们又应把重点发在哪里呢?
-
- 四级中:听力部分35% ,249分
+ 马上要四级考试。
+
+ 那么四级的分数是怎安排的呢?我们又应把重点发在哪里呢?
+
+ 四级中:听力部分35% ,249分
阅读理解为35% ,249分
layout: post
permalink: /2010/10/prepare-cet-4/
@@ -52,4 +53,4 @@ categories:
可以从
][1]
- [1]: http://www.junv.info/wp-content/uploads/2010/10/734f12f3bc2bba8c0b46e00e.jpg
\ No newline at end of file
+ [1]: http://www.junv.info/wp-content/uploads/2010/10/734f12f3bc2bba8c0b46e00e.jpg
diff --git a/source/_posts/2010-10-26-java-best-four.markdown b/source/_posts/2010-10-26-java-best-four.markdown
index 2a8a94c..ded804f 100644
--- a/source/_posts/2010-10-26-java-best-four.markdown
+++ b/source/_posts/2010-10-26-java-best-four.markdown
@@ -1,6 +1,7 @@
---
title: 传说中的JAVA四大名著
author: wahyd4
+comments: true
layout: post
permalink: /2010/10/java-best-four/
categories:
@@ -163,4 +164,4 @@ JAVA 2核心技术 卷II:高级特性(原书第7版)———Cay Horstmann
[1]: http://www.junv.info/wp-content/uploads/2010/10/Java编程语言(第三版).jpg
[2]: http://www.junv.info/wp-content/uploads/2010/10/Java编程思想(第2版).jpg
[3]: http://www.junv.info/wp-content/uploads/2010/10/Java编程思想:第3版.jpg
- [4]: http://www.junv.info/wp-content/uploads/2010/10/JAVA-2核心技术-卷I:基础知识(原书第7版).jpg
\ No newline at end of file
+ [4]: http://www.junv.info/wp-content/uploads/2010/10/JAVA-2核心技术-卷I:基础知识(原书第7版).jpg
diff --git a/source/_posts/2010-10-27-speedupmypc.markdown b/source/_posts/2010-10-27-speedupmypc.markdown
index 79f70bc..a2b47e8 100644
--- a/source/_posts/2010-10-27-speedupmypc.markdown
+++ b/source/_posts/2010-10-27-speedupmypc.markdown
@@ -1,6 +1,7 @@
---
title: '整理并提升计算机速度,SpeedUpMyPc评测&下载'
author: wahyd4
+comments: true
excerpt: >
也许每个人有时都会不经意间发现自己的电脑变得很慢,连打开本地的文件夹都感觉不是很流畅,这种感觉可能在windows
7上比windows xp
@@ -50,4 +51,4 @@ categories:
[2]: http://www.junv.info/wp-content/uploads/2010/10/21.jpg
[3]: http://www.junv.info/wp-content/uploads/2010/10/31.jpg
[4]: http://www.junv.info/wp-content/uploads/2010/10/41.jpg
- [5]: http://u.115.com/file/f136f6643
\ No newline at end of file
+ [5]: http://u.115.com/file/f136f6643
diff --git a/source/_posts/2010-10-29-sql.markdown b/source/_posts/2010-10-29-sql.markdown
index 4446c27..c55078a 100644
--- a/source/_posts/2010-10-29-sql.markdown
+++ b/source/_posts/2010-10-29-sql.markdown
@@ -1,6 +1,7 @@
---
title: SQL入门经典(第4版)附下载
author: wahyd4
+comments: true
layout: post
permalink: /2010/10/sql/
categories:
@@ -114,4 +115,4 @@ tags:
**附卓越购买链接:购买**
[1]: http://www.junv.info/wp-content/uploads/2010/10/51pYWZH59eL._BO2204203200_PIsitb-sticker-arrow-clickTopRight35-76_AA240_SH20_OU28_.jpg
- [2]: http://u.115.com/file/f165f38b6c
\ No newline at end of file
+ [2]: http://u.115.com/file/f165f38b6c
diff --git a/source/_posts/2010-10-30-world-of-goo.markdown b/source/_posts/2010-10-30-world-of-goo.markdown
index 83d1893..8b1a8ff 100644
--- a/source/_posts/2010-10-30-world-of-goo.markdown
+++ b/source/_posts/2010-10-30-world-of-goo.markdown
@@ -1,6 +1,7 @@
---
title: 粘粘世界(World of Goo) 汉化版 下载
author: wahyd4
+comments: true
excerpt: >
这是一款很值得玩的游戏,也许可以这样说吧,我觉得并不必植物大战僵尸差。别看游戏大小只有70多M,可是却又很多关卡,而且游戏的画面美工也做得相当不错。都是2D的效果,加上那些音乐,这个游戏给人的感觉就是特别地震撼。
layout: post
@@ -30,4 +31,4 @@ tags:
下载:点我下载
[1]: http://www.junv.info/wp-content/uploads/2010/10/928_1272447245_9825.jpg
- [2]: http://www.junv.info/wp-content/uploads/2010/10/928_1272447245_95561.jpg
\ No newline at end of file
+ [2]: http://www.junv.info/wp-content/uploads/2010/10/928_1272447245_95561.jpg
diff --git a/source/_posts/2010-10-31-format-change.markdown b/source/_posts/2010-10-31-format-change.markdown
index ae324ec..2eab36a 100644
--- a/source/_posts/2010-10-31-format-change.markdown
+++ b/source/_posts/2010-10-31-format-change.markdown
@@ -1,6 +1,7 @@
---
title: '格式转换:音频、视频、图片->想要什么格式就有什么格式!'
author: wahyd4
+comments: true
excerpt: |
软件名称:格式工厂
@@ -48,4 +49,4 @@ Author:Zhong Liang
[3]: http://www.junv.info/wp-content/uploads/2010/10/3.png
[4]: http://www.junv.info/wp-content/uploads/2010/10/4.png
[5]: http://www.junv.info/wp-content/uploads/2010/10/5.png
- [6]: http://www.junv.info/wp-content/uploads/2010/10/61.png
\ No newline at end of file
+ [6]: http://www.junv.info/wp-content/uploads/2010/10/61.png
diff --git a/source/_posts/2010-11-01-google-picasa.markdown b/source/_posts/2010-11-01-google-picasa.markdown
index 905ce2e..faac0c1 100644
--- a/source/_posts/2010-11-01-google-picasa.markdown
+++ b/source/_posts/2010-11-01-google-picasa.markdown
@@ -1,6 +1,7 @@
---
title: Google Picasa 可以访问了?
author: wahyd4
+comments: true
excerpt: >
本来今天作者想来试验前些天以为有人介绍的用http://picasaweb.google.com.jp来访问Picasa,可是我今天用我的chrome
打开这个这个网址是,网址直接调到http://picasaweb.google.com/home
@@ -42,4 +43,4 @@ tags:
-
\ No newline at end of file
+
diff --git a/source/_posts/2010-11-03-san-css.md b/source/_posts/2010-11-03-san-css.md
index c596e6d..2f824af 100644
--- a/source/_posts/2010-11-03-san-css.md
+++ b/source/_posts/2010-11-03-san-css.md
@@ -1,6 +1,7 @@
---
title: 禅意花园——CSS网页经典案例
author: wahyd4
+comments: true
layout: post
permalink: /2010/11/san-css/
categories:
@@ -38,4 +39,4 @@ CSS禅意花园是一位加拿大设计师Dava Shea创建的,他在网站设
[2]: http://www.csszengarden.com/
[3]: /images/2010/11/u4243068223183409904fm15gp0.gif
[4]: /images/2010/11/7f9fbd82614149e7bc3e1ecb.jpg
- [5]: http://www.zengarden.com/
\ No newline at end of file
+ [5]: http://www.zengarden.com/
diff --git a/source/_posts/2010-11-04-free-vpn.md b/source/_posts/2010-11-04-free-vpn.md
index 66877e9..485420e 100644
--- a/source/_posts/2010-11-04-free-vpn.md
+++ b/source/_posts/2010-11-04-free-vpn.md
@@ -1,6 +1,7 @@
---
title: 免费VPN(Tenacy)
author: wahyd4
+comments: true
excerpt: |
相信大家都有这样的经历吧,你想浏览国外的一些网站。比如查一些资料啊等等。可是直接访问却访问不了。那真叫悲剧啊。
@@ -66,4 +67,4 @@ categories:
好了,说完了,想要的同学们快试试吧。不错哦。 -
\ No newline at end of file + diff --git a/source/_posts/2010-11-04-google-changes-life.md b/source/_posts/2010-11-04-google-changes-life.md index 30d5ba6..a95b069 100644 --- a/source/_posts/2010-11-04-google-changes-life.md +++ b/source/_posts/2010-11-04-google-changes-life.md @@ -1,6 +1,7 @@ --- title: 《Google改变生活》好书推荐 author: wahyd4 +comments: true excerpt: > 今天在学校图书馆看书,看到新书架上到了这样一本书《google 改变生活》。我很好奇,在谷歌离开中国内地以后还会有专门写google的非技术性的文章。 @@ -79,4 +80,4 @@ tags: 这里给大家提供在线阅读的链接: -点我阅读 \ No newline at end of file +点我阅读 diff --git a/source/_posts/2010-11-04-kabasky-free.md b/source/_posts/2010-11-04-kabasky-free.md index 0d1428a..3228da7 100644 --- a/source/_posts/2010-11-04-kabasky-free.md +++ b/source/_posts/2010-11-04-kabasky-free.md @@ -1,6 +1,7 @@ --- title: 卡巴斯基免费啦 author: wahyd4 +comments: true excerpt: > 在此360与QQ鏖战之际,卡巴斯基给我们送来了一丝微风。卡巴斯基赠送旗下的高端安全软件,卡巴斯基安全部队2011 一年的免费使用权。希望广大同学听到消息后火速到卡巴网站填写你的邮箱,申请激活码。 @@ -26,4 +27,4 @@ tags: [
][1]
- [1]: /images/2010/11/11-4-6.jpg
\ No newline at end of file
+ [1]: /images/2010/11/11-4-6.jpg
diff --git a/source/_posts/2010-11-09-call-of-duty-7.md b/source/_posts/2010-11-09-call-of-duty-7.md
index 8230c3c..81d458c 100644
--- a/source/_posts/2010-11-09-call-of-duty-7.md
+++ b/source/_posts/2010-11-09-call-of-duty-7.md
@@ -1,6 +1,7 @@
---
title: 年度游戏大作——使命召唤7完美破解版下载
author: wahyd4
+comments: true
excerpt: '《使命召唤:黑色行动》(Call of Duty: Black Ops)是Activision公司出品的著名FPS游戏《使命召唤》系列的第七部,故事设定在越南战争与北极、古巴等一些冷战地区。'
layout: post
permalink: /2010/11/call-of-duty-7/
@@ -66,4 +67,4 @@ System requirements:
附3DM论坛使命召唤 7游戏发布地址:{
-public static void main(String[] args)
-{
-int a,b,s;
-for (a=1;a<=9 ;a++ )
-{
-for(b=1;b<=a;b++)
-{
-s=a*b;
-System.out.print(a+"*"+b+"="+s);
-System.out.print(" ");
-}
-System.out.println();
-}
-}
-}
-
+{
+public static void main(String[] args)
+{
+int a,b,s;
+for (a=1;a<=9 ;a++ )
+{
+for(b=1;b<=a;b++)
+{
+s=a*b;
+System.out.print(a+"*"+b+"="+s);
+System.out.print(" ");
+}
+System.out.println();
+}
+}
+}
+
用C语言写的九九乘法表
-#include "stdio.h" //九九乘法表。
-void main()
-{
-int i,j,s;
-for (i=1;i<=9;i++)
-{
-for(j=1;j<=i;j++)
-{ s=i*j;
-printf ("%d*%d=%-4d",i,j,s);
-}
-printf ("n") ;
-}
-}
+#include "stdio.h" //九九乘法表。
+void main()
+{
+int i,j,s;
+for (i=1;i<=9;i++)
+{
+for(j=1;j<=i;j++)
+{ s=i*j;
+printf ("%d*%d=%-4d",i,j,s);
+}
+printf ("n") ;
+}
+}
这个是没用使用空格
@@ -56,4 +57,4 @@ printf ("n") ;
其实通过比较我们就可以很容易看到,这个 程序JAVA和C的代码都是差不多的。只是细节上有一些变化。有个不同就是我不不知道JAVA里面有没有类似 printf (“%d*%d=%-4d”,i,j,s);这样的语句。即实现左对齐。于是我在JAVA里面想到了这样一个办法。再输出一行,让它打印空格就好。
** System.out.print(a+”*”+b+”=”+s);
System.out.print(“ ”);**
**当然我也试过这样一种方法。即System.out.print(a+”*”+b+”=”+s “ ”)但是通过编译发现这样是行不通的。**
-** 还有一个就是我晓得了那个String ()agrs .它其实就是一个数组其实相当于是程序比不可少的东西,不管怎样你都要写出来,但是你还是可以选择不在程序里面使用它。**
\ No newline at end of file
+** 还有一个就是我晓得了那个String ()agrs .它其实就是一个数组其实相当于是程序比不可少的东西,不管怎样你都要写出来,但是你还是可以选择不在程序里面使用它。**
diff --git a/source/_posts/2010-11-10-zune.md b/source/_posts/2010-11-10-zune.md
index e4e0a21..d616d17 100644
--- a/source/_posts/2010-11-10-zune.md
+++ b/source/_posts/2010-11-10-zune.md
@@ -1,6 +1,7 @@
---
title: 超越itunes的音乐播放软件Zune
author: wahyd4
+comments: true
excerpt: >
如果以前你以为只有苹果的itunes播放器可以很华丽的话,那现在你就错了,微软的Zune
我觉得比苹果的itunes更加华丽,更加完美。同样他们都是依附于产品而生存的。
@@ -62,4 +63,4 @@ categories:
下面附上官方的下载地址(目前这个播放器只有英语版本,切大小大概100M左右。):点我下载
-
\ No newline at end of file
+
diff --git a/source/_posts/2010-11-11-java.md b/source/_posts/2010-11-11-java.md
index b36bfd8..1a09052 100644
--- a/source/_posts/2010-11-11-java.md
+++ b/source/_posts/2010-11-11-java.md
@@ -1,6 +1,7 @@
---
title: Java基础与案例开发详解免费在线阅读
author: wahyd4
+comments: true
excerpt: >
话说虽然作者上学期已经学了j2se
了,但是这个学期来了之后,还是觉得自己的java
@@ -240,4 +241,4 @@ categories:
完整版本阅读地址:点我
- [1]: /images/2010/11/11-11-1.jpg
\ No newline at end of file
+ [1]: /images/2010/11/11-11-1.jpg
diff --git a/source/_posts/2010-11-12-another-wordpress.md b/source/_posts/2010-11-12-another-wordpress.md
index 3564299..558d04c 100644
--- a/source/_posts/2010-11-12-another-wordpress.md
+++ b/source/_posts/2010-11-12-another-wordpress.md
@@ -1,6 +1,7 @@
---
title: 换一种方式阅读wordpress 博客
author: wahyd4
+comments: true
excerpt: >
今天给大家介绍一款很新颖的插件,这个插件是一位中国ajax
达人写的,它可以让你的博客变成QQ 阅读
@@ -37,4 +38,4 @@ tags:
作者博客:点我
[1]: /images/2010/11/11-12-4_conew1.jpg
- [2]: /images/2010/11/11-12-5_conew1.gif
\ No newline at end of file
+ [2]: /images/2010/11/11-12-5_conew1.gif
diff --git a/source/_posts/2010-11-12-avatar-720p.md b/source/_posts/2010-11-12-avatar-720p.md
index 1385abe..8a23c73 100644
--- a/source/_posts/2010-11-12-avatar-720p.md
+++ b/source/_posts/2010-11-12-avatar-720p.md
@@ -1,6 +1,7 @@
---
title: 《阿凡达(加长版)》720p 资源下载
author: wahyd4
+comments: true
excerpt: >
加长版本的电影,比前面的版本增加了8分钟的介绍潘多拉新球景色的片段,一定可以让大家一包眼福的,这个这个720p的资源也是很大的哦,有接近8G,网速慢的同学可能会需要下载很久啦。
layout: post
@@ -25,4 +26,4 @@ categories:
电驴,迅雷下载地址:点我获取地址
- [1]: /images/2010/11/11-12-6_conew1.jpg
\ No newline at end of file
+ [1]: /images/2010/11/11-12-6_conew1.jpg
diff --git a/source/_posts/2010-11-12-thanks-support.md b/source/_posts/2010-11-12-thanks-support.md
index a209191..410e332 100644
--- a/source/_posts/2010-11-12-thanks-support.md
+++ b/source/_posts/2010-11-12-thanks-support.md
@@ -1,6 +1,7 @@
---
title: 多谢大家支持
author: wahyd4
+comments: true
excerpt: ' 网站建了还是有几个月了,可以一直以来苦于没有宣传,加上其他一些原因吧,网站的浏览量一直很低,一般每天也就10几二十个人访问,'
layout: post
permalink: /2010/11/thanks-support/
@@ -22,4 +23,4 @@ tags:
[
][2]以后我还是继续努力,写更好的文章给大家,希望大家多多支持我,通过RSS看我文章的朋友,还是希望你们多进我的博客吧。算是支持我,谢谢了。。
[1]: /images/2010/11/11-12-1_conew1.gif
- [2]: /images/2010/11/11-12-3_conew1.gif
\ No newline at end of file
+ [2]: /images/2010/11/11-12-3_conew1.gif
diff --git a/source/_posts/2010-11-12-worpdress-share-plugin.md b/source/_posts/2010-11-12-worpdress-share-plugin.md
index 5b51caf..e6d39ff 100644
--- a/source/_posts/2010-11-12-worpdress-share-plugin.md
+++ b/source/_posts/2010-11-12-worpdress-share-plugin.md
@@ -1,6 +1,7 @@
---
title: 超炫的wordpress 收藏分享插件
author: wahyd4
+comments: true
excerpt: >
玩wordpress博客的朋友,都希望通过读者的分享,给大家带来更多的流量吧,今天就给大家介绍一款这样的插件,而且效果特炫哦,我的文章后面就是用的这个插件,实际效果,大家在文章末尾就可以看到啦。
layout: post
@@ -27,4 +28,4 @@ tags:
作者:[明河共影][2]
[1]: /images/2010/11/11-12-2_conew1.jpg
- [2]: http://www.36ria.com/
\ No newline at end of file
+ [2]: http://www.36ria.com/
diff --git a/source/_posts/2010-11-13-personal-web-template.md b/source/_posts/2010-11-13-personal-web-template.md
index 72b0242..260fa49 100644
--- a/source/_posts/2010-11-13-personal-web-template.md
+++ b/source/_posts/2010-11-13-personal-web-template.md
@@ -1,6 +1,7 @@
---
title: 原创:个人博客网页模板分享下载
author: wahyd4
+comments: true
excerpt: >
大概前面一周时间时间,因为某些原因我需要做这样一个个人主页形式的网页模板,我自己就摸索着做了,其实老实讲我的艺术细胞很匮乏,有时候连给网页配个颜色我都会纠结很久。
layout: post
@@ -23,4 +24,4 @@ tags:
[
][2]下载网页源代码:点我
[1]: /images/2010/11/11-13-1_conew1.jpg
- [2]: /images/2010/11/11-13-2_conew1.jpg
\ No newline at end of file
+ [2]: /images/2010/11/11-13-2_conew1.jpg
diff --git a/source/_posts/2010-11-13-sort-node.md b/source/_posts/2010-11-13-sort-node.md
index 4f6e34c..31691b4 100644
--- a/source/_posts/2010-11-13-sort-node.md
+++ b/source/_posts/2010-11-13-sort-node.md
@@ -1,6 +1,7 @@
---
title: 数据结构作业:顺序表简单应用
author: wahyd4
+comments: true
excerpt: >
今天算是比较用心的在电脑勉强做作业吧,但是毕竟不怎么喜欢写c/c++的代码,已经习惯用java了,觉得java写起来很舒服,所以做这个作业做了很久,至少3个小时吧。
layout: post
@@ -111,4 +112,4 @@ return 0;
}
-
\ No newline at end of file
+
diff --git a/source/_posts/2010-11-14-html5-show-movie.md b/source/_posts/2010-11-14-html5-show-movie.md
index ac896b9..8cf9315 100644
--- a/source/_posts/2010-11-14-html5-show-movie.md
+++ b/source/_posts/2010-11-14-html5-show-movie.md
@@ -1,6 +1,7 @@
---
title: 用HTML5演绎你自己的电影
author: wahyd4
+comments: true
excerpt: >
你是否曾经是否设想过,自己只要点点鼠标,就可以拍一部自己的电影。也许这个想法在当时不太可能,可是现在在google、html
5、chrom等的强力支持下,这个愿望就可以实现啦,
@@ -37,4 +38,4 @@ tags:
[1]: /images/2010/11/11-14-4_conew1.jpg
[2]: /images/2010/11/11-14-5_conew1.jpg
- [3]: /images/2010/11/11-14-6_conew1.jpg
\ No newline at end of file
+ [3]: /images/2010/11/11-14-6_conew1.jpg
diff --git a/source/_posts/2010-11-14-m9-10-11-14.md b/source/_posts/2010-11-14-m9-10-11-14.md
index b53720d..d9b34ca 100644
--- a/source/_posts/2010-11-14-m9-10-11-14.md
+++ b/source/_posts/2010-11-14-m9-10-11-14.md
@@ -1,6 +1,7 @@
---
title: 魅族M9的最新消息10-11-14
author: wahyd4
+comments: true
excerpt: >
由于笔者也是一位魅族M9的fans,因此随时都会上网关注M9的最新消息,根据最新消息,M9如果不出意外应该在12月中旬拿到入网证书,然后不出意外在12月月底可以上市。
layout: post
@@ -24,4 +25,4 @@ tags:
[1]: /images/2010/11/11-14-1_conew11.jpg
[2]: /images/2010/11/11-14-2_conew1.jpg
- [3]: /images/2010/11/11-14-3_conew1.jpg
\ No newline at end of file
+ [3]: /images/2010/11/11-14-3_conew1.jpg
diff --git a/source/_posts/2010-11-15-computer-operation-system.md b/source/_posts/2010-11-15-computer-operation-system.md
index 954fac3..6b08992 100644
--- a/source/_posts/2010-11-15-computer-operation-system.md
+++ b/source/_posts/2010-11-15-computer-operation-system.md
@@ -1,6 +1,7 @@
---
title: 计算机操作系统教程(第三版)附下载
author: wahyd4
+comments: true
excerpt: >
计算机操作系统教程应该算是计算机专业学生的专业基础课吧,但是这门课程由于自身的特点,老实说的确很枯燥,一般大学安排在大二的时候学习这个课程,恰好笔者现在也正在学习。
layout: post
@@ -37,4 +38,4 @@ tags:
附上免费的PDF电子书下载:点我下载(记得多支持我们的原创作品哦)
- [1]: /images/2010/11/11-15-2_conew1.jpg
\ No newline at end of file
+ [1]: /images/2010/11/11-15-2_conew1.jpg
diff --git a/source/_posts/2010-11-15-display-readers.md b/source/_posts/2010-11-15-display-readers.md
index dca8c2c..d221410 100644
--- a/source/_posts/2010-11-15-display-readers.md
+++ b/source/_posts/2010-11-15-display-readers.md
@@ -1,6 +1,7 @@
---
title: 动态展示网站读者信息
author: wahyd4
+comments: true
excerpt: >
今天给大家介绍一个很不错,很炫的小东西。这个小东西很适合站长用,它是用flash的方式动态展示你网站的访问者的来源。动画做得很炫哦。
layout: post
@@ -21,4 +22,4 @@ tags:
获得漂亮的访问者信息:点我吧
- [1]: /images/2010/11/11-15-1_conew1.jpg
\ No newline at end of file
+ [1]: /images/2010/11/11-15-1_conew1.jpg
diff --git a/source/_posts/2010-11-16-shift-14.md b/source/_posts/2010-11-16-shift-14.md
index 5b8a8c3..0de12b0 100644
--- a/source/_posts/2010-11-16-shift-14.md
+++ b/source/_posts/2010-11-16-shift-14.md
@@ -1,6 +1,7 @@
---
title: '《极品飞车14:热力追踪》[繁中/英文]下载'
author: wahyd4
+comments: true
excerpt: >
最近这段时间,很多大游戏都争相上市。给我们的玩家们带来了不少福利啊。笔者最近除了关注《使命召唤7》以外,就是关注这个游戏了。但是在笔者飞进千辛万苦下载完之后,
layout: post
@@ -62,4 +63,4 @@ CPU:Intel i5 2.5GHz或者AMD X4 2.5GHz
[
][2]下载BT资源种子:点我下载
[1]: /images/2010/11/11-16-1_conew1.jpg
- [2]: /images/2010/11/11-16-2_conew1.jpg
\ No newline at end of file
+ [2]: /images/2010/11/11-16-2_conew1.jpg
diff --git a/source/_posts/2010-11-17-computer-preformance.md b/source/_posts/2010-11-17-computer-preformance.md
index 97ac773..71f2205 100644
--- a/source/_posts/2010-11-17-computer-preformance.md
+++ b/source/_posts/2010-11-17-computer-preformance.md
@@ -1,6 +1,7 @@
---
title: 在线测试电脑的游戏性能
author: wahyd4
+comments: true
excerpt: >
今天说的这个网站就是专门防止这样的情况发生的,它可以在线检测你的电脑对于某一款游戏的性能,简单说就是检测你的电脑是否符合游戏的最低要求(Minimum
requirements)和标准要求(Recommended requirements)。
@@ -33,4 +34,4 @@ tags:
[1]: /images/2010/11/11-17-1_conew1.jpg
[2]: /images/2010/11/11-17-2_conew1.jpg
- [3]: /images/2010/11/11-17-3_conew1.jpg
\ No newline at end of file
+ [3]: /images/2010/11/11-17-3_conew1.jpg
diff --git a/source/_posts/2010-11-17-its-long-way-to-go.md b/source/_posts/2010-11-17-its-long-way-to-go.md
index 54f4b8f..6e46e59 100644
--- a/source/_posts/2010-11-17-its-long-way-to-go.md
+++ b/source/_posts/2010-11-17-its-long-way-to-go.md
@@ -1,6 +1,7 @@
---
title: 路还很长啊
author: wahyd4
+comments: true
excerpt: >
这个网站,也算是博客吧,改版后已经正式运行两个月了。这两个月不可否认进步还是不小,经过我还有前面一段时间同学的努力,这个博客的排名现在已经升到110万左右了,
layout: post
@@ -16,4 +17,4 @@ categories:
而且也有人说我的博客访问速度有点慢,我不知道访问人数是否和这个也有一些影响。但是在这里还是要特别特别感谢 http://xpn.im 给我提供的一年的免费的主机。
-最后还是坚持每天更新文章。喜欢会有好结果吧。我还有另外一个网站现在没有用,放在那里都快发霉啦。 http://junv.org
\ No newline at end of file
+最后还是坚持每天更新文章。喜欢会有好结果吧。我还有另外一个网站现在没有用,放在那里都快发霉啦。 http://junv.org
diff --git a/source/_posts/2010-11-17-time-back-20-years.md b/source/_posts/2010-11-17-time-back-20-years.md
index e8947fd..cb38466 100644
--- a/source/_posts/2010-11-17-time-back-20-years.md
+++ b/source/_posts/2010-11-17-time-back-20-years.md
@@ -1,6 +1,7 @@
---
title: 时光倒流二十年
author: wahyd4
+comments: true
excerpt: >
十二年前,一个冰冷的冬夜,我爸开着一辆面包车带着我,我妈,我二姨在前往某地的路上发生车祸。坐在副驾驶位置的我右脸紧紧地擦着翻车后被打碎的玻璃车窗碎片和冰冷又肮脏的马路以六十码左右的速度足足滑行了不知道多少米,
layout: post
@@ -57,4 +58,4 @@ categories:
[1]: /images/2010/11/dont_let_me_go_tonight_by_multicurious-d2yuyrt2.jpg
[2]: /images/2010/11/MichaelCreagh_KissingCouples.jpg
- [3]: /images/2010/11/MichaelCreagh_KissingCouples1.jpg
\ No newline at end of file
+ [3]: /images/2010/11/MichaelCreagh_KissingCouples1.jpg
diff --git a/source/_posts/2010-11-18-cet-6.md b/source/_posts/2010-11-18-cet-6.md
index af637c3..a4bbe5f 100644
--- a/source/_posts/2010-11-18-cet-6.md
+++ b/source/_posts/2010-11-18-cet-6.md
@@ -1,6 +1,7 @@
---
title: 2010年6月英语六级考试原题下载
author: wahyd4
+comments: true
excerpt: >
话不多说,分享只为需要的同学们准备。希望大家努力备考,考过六级。
layout: post
@@ -20,4 +21,4 @@ tags:
2010/6 CET6英语真题:点我下载
- [1]: /images/2010/11/bag_13.png
\ No newline at end of file
+ [1]: /images/2010/11/bag_13.png
diff --git a/source/_posts/2010-11-18-pictomio.md b/source/_posts/2010-11-18-pictomio.md
index 76724b2..e0a15c2 100644
--- a/source/_posts/2010-11-18-pictomio.md
+++ b/source/_posts/2010-11-18-pictomio.md
@@ -1,6 +1,7 @@
---
title: pictomio免费管理图片的好帮手
author: wahyd4
+comments: true
excerpt: ' 首先需要说一下的就是这个软件是完全免费的。这个软件也是国外的老兄写的,但是很高兴的是这个软件有中文的版本。在你安装的时候,如果你的电脑用的是中文的windows 是会自动识别的。'
layout: post
permalink: /2010/11/pictomio/
@@ -35,4 +36,4 @@ tags:
[2]: /images/2010/11/11-18-2_conew1.jpg
[3]: /images/2010/11/11-18-3_conew1.jpg
[4]: /images/2010/11/11-18-4_conew1.jpg
- [5]: /images/2010/11/11-18-5_conew1.jpg
\ No newline at end of file
+ [5]: /images/2010/11/11-18-5_conew1.jpg
diff --git a/source/_posts/2010-11-18-sogou-theme.md b/source/_posts/2010-11-18-sogou-theme.md
index 99e0c90..17f0aea 100644
--- a/source/_posts/2010-11-18-sogou-theme.md
+++ b/source/_posts/2010-11-18-sogou-theme.md
@@ -1,6 +1,7 @@
---
title: 推荐两款搜狗输入法酷炫动画皮肤
author: wahyd4
+comments: true
excerpt: >
不知道各位用搜狗输入法的童鞋们注意没有,自从搜狗输入法进入5.
0
@@ -30,4 +31,4 @@ PS:当你无聊的时候,现在你又多了一个新的选择了。你可以
两个皮肤打包下载:点我下载
**
-**
\ No newline at end of file
+**
diff --git a/source/_posts/2010-11-19-meizu-11-19.md b/source/_posts/2010-11-19-meizu-11-19.md
index e48e776..45b68f1 100644
--- a/source/_posts/2010-11-19-meizu-11-19.md
+++ b/source/_posts/2010-11-19-meizu-11-19.md
@@ -1,6 +1,7 @@
---
title: 魅族M9真机图片11-19
author: wahyd4
+comments: true
excerpt: >
话说今天魅族 M9今天又露新图了。不过这次露图的不再是Jwong
,而是另外一名匿名人士。不过从机身来看,这个应该最接近发布的机子了。
@@ -17,4 +18,4 @@ tags:
可以看出M9的外观还是很华丽的。。值得大家期待哦。。
- [1]: /images/2010/11/ceJnKbnU8GiY.jpg
\ No newline at end of file
+ [1]: /images/2010/11/ceJnKbnU8GiY.jpg
diff --git a/source/_posts/2010-11-20-free-css-template.md b/source/_posts/2010-11-20-free-css-template.md
index 324bfcb..e5f1904 100644
--- a/source/_posts/2010-11-20-free-css-template.md
+++ b/source/_posts/2010-11-20-free-css-template.md
@@ -1,6 +1,7 @@
---
title: 免费的css网页模板下载
author: wahyd4
+comments: true
excerpt: >
今天给大家介绍一个很好的国外网站,这个网站叫http://www.freecsstemplates.org/,它提供很多免费的CSS模板供大家免费下载,到今天为止这个网站已经收录了504个免费的css
模板,
@@ -33,4 +34,4 @@ tags:
[2]: /images/2010/11/11-20-3.gif
[3]: /images/2010/11/11-20-4.gif
[4]: /images/2010/11/11-20-5.gif
- [5]: /images/2010/11/11-20-6.gif
\ No newline at end of file
+ [5]: /images/2010/11/11-20-6.gif
diff --git a/source/_posts/2010-11-20-java-jdbc.md b/source/_posts/2010-11-20-java-jdbc.md
index 7d742b5..a7860fa 100644
--- a/source/_posts/2010-11-20-java-jdbc.md
+++ b/source/_posts/2010-11-20-java-jdbc.md
@@ -1,6 +1,7 @@
---
title: 一个Java JDBC连接简单实例
author: wahyd4
+comments: true
excerpt: >
今天在学习java JDBC,这里写了一个简单的java 连接Mysql
数据库的实例供大家参考。此代码代码可以运行。
@@ -60,4 +61,4 @@ tags:
}
-
\ No newline at end of file
+
diff --git a/source/_posts/2010-11-20-ticket.md b/source/_posts/2010-11-20-ticket.md
index 96557c5..882518f 100644
--- a/source/_posts/2010-11-20-ticket.md
+++ b/source/_posts/2010-11-20-ticket.md
@@ -1,6 +1,7 @@
---
title: 谈谈彩票
author: wahyd4
+comments: true
excerpt: >
应该说像我这个人对于彩票是没有什么发言权的,因为我从高三到现在间间断断地买彩票也差不多有100左右了,可是呢,我从来没有中过奖,连2块,5块的尾奖也没有中过。
layout: post
@@ -16,4 +17,4 @@ categories:
其实我还对那些研究彩票的人充满敬意,因为彩票这么多中算法,这么从这些根本没有多少关系,即使有关系也只是概率上大一点的关系孜孜不倦的研究。要是再凭着研究出的彩票买中的人那简直就是神人啊。我佩服得五体投地。因为每次我看到那个走势图,我就觉得没多少用。也许只是自我感觉比机选好一些吧。不过我很多次买机选的彩票,确实一个数字都没有中。而且应该从中将的人书来说,大多数都是不是买的机选吧。
-哎,我想多了。我只是需要吐槽罢了。
\ No newline at end of file
+哎,我想多了。我只是需要吐槽罢了。
diff --git a/source/_posts/2010-11-21-gae.md b/source/_posts/2010-11-21-gae.md
index ef70507..1c97c82 100644
--- a/source/_posts/2010-11-21-gae.md
+++ b/source/_posts/2010-11-21-gae.md
@@ -1,6 +1,7 @@
---
title: 使用GAE免费建网站
author: wahyd4
+comments: true
excerpt: >
GAE是google app engine
的缩写,google提供的这个服务,允许用户免费上传10个程序,也就是说你可以建10个网站。现在GAE支持使用java
@@ -42,4 +43,4 @@ GAE是google app engine 的缩写,google提供的这个服务,允许用户
[1]: /images/2010/11/c81cdb4bf1b22fa33c1730ce825cd695.png
[2]: /images/2010/11/11-21-7_conew1.jpg
- [3]: /images/2010/11/11-21-8_conew1.gif
\ No newline at end of file
+ [3]: /images/2010/11/11-21-8_conew1.gif
diff --git a/source/_posts/2010-11-21-php-asp.md b/source/_posts/2010-11-21-php-asp.md
index 2ac8b59..3b7ca0f 100644
--- a/source/_posts/2010-11-21-php-asp.md
+++ b/source/_posts/2010-11-21-php-asp.md
@@ -1,6 +1,7 @@
---
title: 很好的国内php,asp空间(免费)
author: wahyd4
+comments: true
excerpt: >
我这里之所以要将免费用括号框起来,是因为本身提供这个免费空间的主机商不是专门提供免费的,而是一家商业公司,而且免费空间也只是他们的很小一部分,更多的还是商业虚拟主机。
layout: post
@@ -41,4 +42,4 @@ tags:
[1]: /images/2010/11/11-21-5_conew1.jpg
[2]: /images/2010/11/11-21-1_conew1.jpg
[3]: /images/2010/11/11-21-2_conew1.jpg
- [4]: /images/2010/11/11-21-3_conew1.jpg
\ No newline at end of file
+ [4]: /images/2010/11/11-21-3_conew1.jpg
diff --git a/source/_posts/2010-11-22-micolog.md b/source/_posts/2010-11-22-micolog.md
index 31b54cb..4e7c2a5 100644
--- a/source/_posts/2010-11-22-micolog.md
+++ b/source/_posts/2010-11-22-micolog.md
@@ -1,6 +1,7 @@
---
title: GAE免费博客micolog
author: wahyd4
+comments: true
excerpt: ' 如果你一直想拥有一个免费的类似wordpress博客而烦恼,如果你还希望你的免费博客有很大空间,又很快的速度。那我觉得现在在我们面前有这样一个很好的选择——使用GAE,'
layout: post
permalink: /2010/11/micolog/
@@ -40,4 +41,4 @@ micolog有以下一些特性:
安装教程:
[1]: /images/2010/11/11-22-1_conew1.jpg
- [2]: http://micolog.appspot.com/
\ No newline at end of file
+ [2]: http://micolog.appspot.com/
diff --git a/source/_posts/2010-11-23-css3-good-parts.md b/source/_posts/2010-11-23-css3-good-parts.md
index d2503a9..7dad449 100644
--- a/source/_posts/2010-11-23-css3-good-parts.md
+++ b/source/_posts/2010-11-23-css3-good-parts.md
@@ -1,6 +1,7 @@
---
title: CSS精粹3免费下载
author: wahyd4
+comments: true
excerpt: >
这本书的英文原名叫CSS
anthology,翻译成中文叫CSS精粹,目前这本书已经出到了第三版了。但是中文翻译的只有第二版,第二版是08年出版的,里面几乎没有提及CSS
@@ -46,4 +47,4 @@ CSS定位和布局(这一章包含了很多非常好的网页实例,而且
免费下载:点我下载
- [1]: /images/2010/11/1255116593056.jpg
\ No newline at end of file
+ [1]: /images/2010/11/1255116593056.jpg
diff --git a/source/_posts/2010-11-24-shit-my-dad-says.md b/source/_posts/2010-11-24-shit-my-dad-says.md
index 111b25b..5f10288 100644
--- a/source/_posts/2010-11-24-shit-my-dad-says.md
+++ b/source/_posts/2010-11-24-shit-my-dad-says.md
@@ -1,6 +1,7 @@
---
title: 疯狂老爸箴言录Shit My Dad Says
author: wahyd4
+comments: true
excerpt: >
今天给大家推荐一部美剧疯狂老爸箴言录Shit My Dad
Says,这部美剧是根据一位在twitter上的老者说的话改编的,他说的话总是语出惊人。
@@ -27,4 +28,4 @@ tags:
附下载链接:点我进入
- [1]: /images/2010/11/11-24-1_conew1.jpg
\ No newline at end of file
+ [1]: /images/2010/11/11-24-1_conew1.jpg
diff --git a/source/_posts/2010-11-25-959.md b/source/_posts/2010-11-25-959.md
index 23ba032..e770a8d 100644
--- a/source/_posts/2010-11-25-959.md
+++ b/source/_posts/2010-11-25-959.md
@@ -1,6 +1,7 @@
---
title: 求20个数里面最大的数
author: wahyd4
+comments: true
excerpt: >
如题这个应该算是一个超级简单的题吧!以前大一上学期的时候老师就讲过了!
layout: post
@@ -37,4 +38,4 @@ categories:
**temp=a[i+1];**
**
-}**
\ No newline at end of file
+}**
diff --git a/source/_posts/2010-11-25-converstions.md b/source/_posts/2010-11-25-converstions.md
index 155cb77..5696b5f 100644
--- a/source/_posts/2010-11-25-converstions.md
+++ b/source/_posts/2010-11-25-converstions.md
@@ -1,6 +1,7 @@
---
title: 口语课上即兴编写的关于疾病与建议的对话
author: wahyd4
+comments: true
excerpt: |
下面就是当时在课上临场发挥写的一个对话!其实我觉得写得很简单哈。
@@ -28,4 +29,4 @@ A: I think you should eat more fruit and vegetables,and try to do some exercise.
B: Thanks for your advice , I’ll try it.
-A;You are welcome.
\ No newline at end of file
+A;You are welcome.
diff --git a/source/_posts/2010-11-25-ssd1-student-book.md b/source/_posts/2010-11-25-ssd1-student-book.md
index 40f9b53..6b316b2 100644
--- a/source/_posts/2010-11-25-ssd1-student-book.md
+++ b/source/_posts/2010-11-25-ssd1-student-book.md
@@ -1,6 +1,7 @@
---
title: SSD1教材下载
author: wahyd4
+comments: true
excerpt: >
SSD1 的全称叫Introduction to Information
Systems,翻译成中文叫信息系统导论,是美国卡内基梅隆大学的计算机系列教材的第一个。
@@ -15,4 +16,4 @@ SSD1 的全称叫Introduction to Information Systems,翻译成中文叫信息
我前面看到网上很多同学都在找这本书的电子文档,于是今天在这里提供下载版本给大家吧.
-下载地址: 点我下载
\ No newline at end of file
+下载地址: 点我下载
diff --git a/source/_posts/2010-11-25-ssd1.md b/source/_posts/2010-11-25-ssd1.md
index 5533e5d..868eb80 100644
--- a/source/_posts/2010-11-25-ssd1.md
+++ b/source/_posts/2010-11-25-ssd1.md
@@ -1,6 +1,7 @@
---
title: SSD1所有作业答案下载
author: wahyd4
+comments: true
excerpt: >
这份参考答案包括了Multiple-Choice Quiz,Practical
Quiz,Exercise以及EXAM
@@ -24,4 +25,4 @@ tags:
下载地址:点我下载
- [1]: /images/2010/11/11-25-1_conew1.jpg
\ No newline at end of file
+ [1]: /images/2010/11/11-25-1_conew1.jpg
diff --git a/source/_posts/2010-11-25-ssd3-student-book.md b/source/_posts/2010-11-25-ssd3-student-book.md
index 6656155..433d542 100644
--- a/source/_posts/2010-11-25-ssd3-student-book.md
+++ b/source/_posts/2010-11-25-ssd3-student-book.md
@@ -1,6 +1,7 @@
---
title: SSD3教材下载
author: wahyd4
+comments: true
excerpt: >
SSD系列教程是美国卡内基梅隆大学的计算机专业学生的系列教程,一共是从SSD1到SSD9。此教程一般在国内比较有名的大学有使用,据我所知,我们附近有四川大学,电子科技大学,西北工业大学在使用此系列教程。
layout: post
@@ -14,4 +15,4 @@ SSD系列教程是美国卡内基梅隆大学的计算机专业学生的系列
今天在这里提供SSD3的教材共大家下载,电子文档版本的CHM
-下载地址:点我下载
\ No newline at end of file
+下载地址:点我下载
diff --git a/source/_posts/2010-11-25-thanks-giving.md b/source/_posts/2010-11-25-thanks-giving.md
index bb1e9df..7edab2d 100644
--- a/source/_posts/2010-11-25-thanks-giving.md
+++ b/source/_posts/2010-11-25-thanks-giving.md
@@ -1,6 +1,7 @@
---
title: 感恩节话感恩
author: wahyd4
+comments: true
excerpt: >
今天是美国的感恩节,其实作为彻头彻尾的中国人,其实感恩节和我算是没有多少关系吧,但是呢也许我们还是应该用一种很开放的态度来对待一些事,
layout: post
@@ -12,4 +13,4 @@ categories:
其实我本不知道11月第四个星期四是感恩节,但是通过最近的手机QQ上的图片和昨天晚上和西西说,于是我也便知道了。当然需要感谢很多人,无论是是给予我棒子还是痛苦的人,都得感谢他们,是他们让我成长,让我变得strong,还有瓜西西,当然最最值得感谢还是父母吧,他们这么辛苦养育我20年了。谢谢你们。
-当然我也忘不了支持我网站的朋友们,是你们给网站带来了人气,是你们坚定了我继续走下去的信念,谢谢你们,我会一直努力下去的,也请你们继续支持我们的网站。我会带给你们更多更好的内容。
\ No newline at end of file
+当然我也忘不了支持我网站的朋友们,是你们给网站带来了人气,是你们坚定了我继续走下去的信念,谢谢你们,我会一直努力下去的,也请你们继续支持我们的网站。我会带给你们更多更好的内容。
diff --git a/source/_posts/2010-11-28-talk-about-these-two-days.md b/source/_posts/2010-11-28-talk-about-these-two-days.md
index 9886af3..2c68c2f 100644
--- a/source/_posts/2010-11-28-talk-about-these-two-days.md
+++ b/source/_posts/2010-11-28-talk-about-these-two-days.md
@@ -1,9 +1,10 @@
---
title: 说说这两天
author: wahyd4
+comments: true
excerpt: |
- 周末本以为可以和以前一样享受上网,更新我的网站,可是没有想到的是,昨天早上起来,很悲剧的是我们就没网了。
-
+ 周末本以为可以和以前一样享受上网,更新我的网站,可是没有想到的是,昨天早上起来,很悲剧的是我们就没网了。
+
不能上网,当然很多事也做不了,可是也算是一个学习的好机会吧。
layout: post
permalink: /2010/11/talk-about-these-two-days/
@@ -24,4 +25,4 @@ categories:
恩,当然安装了虚拟机,不能闲着啊,我利用昨天晚上的时间学习了一些lunux 知识和命令操作。感觉学到不少知识啊。
-下周是第14周啦,转眼就快考试啦,还在读书的童鞋大家加油吧》
\ No newline at end of file
+下周是第14周啦,转眼就快考试啦,还在读书的童鞋大家加油吧》
diff --git a/source/_posts/2010-11-28-virtual-box.md b/source/_posts/2010-11-28-virtual-box.md
index e3c9dbf..21bb415 100644
--- a/source/_posts/2010-11-28-virtual-box.md
+++ b/source/_posts/2010-11-28-virtual-box.md
@@ -1,6 +1,7 @@
---
title: Virtual Box 虚拟机
author: wahyd4
+comments: true
excerpt: >
今天要给大家介绍的是virtual box,如果你以前用过Vmware station
的话,那好说virtual box和Vmware 是一样的软件,只是virtual box
@@ -53,4 +54,4 @@ virtual box 下载地址:友情提示,点击复制链接,使用迅雷下载课获得更快速度。
- [1]: /images/2010/11/linux_tshirt.jpg
\ No newline at end of file
+ [1]: /images/2010/11/linux_tshirt.jpg
diff --git a/source/_posts/2010-11-30-jquery-basic-tutorial.md b/source/_posts/2010-11-30-jquery-basic-tutorial.md
index 5abe5ff..cf20bb4 100644
--- a/source/_posts/2010-11-30-jquery-basic-tutorial.md
+++ b/source/_posts/2010-11-30-jquery-basic-tutorial.md
@@ -1,6 +1,7 @@
---
title: jQuery基础教程
author: wahyd4
+comments: true
excerpt: >
jQuery是继prototype之后又一个优秀的Javascrīpt框架。其宗旨是——WRITE
LESS,DO
@@ -34,4 +35,4 @@ jQuery由美国人John Resig创建,至今已吸引了来自世界各地的众
如果有能力的同学,也希望可以支持正版事业,附正版购买链接:点我
- [1]: /images/2010/11/s3103223.jpg
\ No newline at end of file
+ [1]: /images/2010/11/s3103223.jpg
diff --git a/source/_posts/2010-11-30-you-are-beautiful.md b/source/_posts/2010-11-30-you-are-beautiful.md
index 8917b05..6b23614 100644
--- a/source/_posts/2010-11-30-you-are-beautiful.md
+++ b/source/_posts/2010-11-30-you-are-beautiful.md
@@ -1,6 +1,7 @@
---
title: you are beautiful.
author: wahyd4
+comments: true
layout: post
permalink: /2010/11/you-are-beautiful/
categories:
@@ -16,4 +17,4 @@ categories:
可我还是庸俗地想单纯把它视作一首情歌来听。他唱到: i saw you face in a crowded place..and I don’t know what to do..’Cause I’ll never be with you…..
- [1]: /images/2010/11/高清MV.James_.Blunt-You-Are-Beautiful.mkv.flv
\ No newline at end of file
+ [1]: /images/2010/11/高清MV.James_.Blunt-You-Are-Beautiful.mkv.flv
diff --git a/source/_posts/2010-12-04-javascript.md b/source/_posts/2010-12-04-javascript.md
index 38a64d6..ff3f6d6 100644
--- a/source/_posts/2010-12-04-javascript.md
+++ b/source/_posts/2010-12-04-javascript.md
@@ -1,9 +1,10 @@
---
title: javascript 语言精粹 下载
author: wahyd4
+comments: true
excerpt: |
- 众所周知要做一个很好,很酷炫的网页 html+css+javascript是必不可少的。前面我们已经分享了一本经典的css书籍css精粹3
-
+ 众所周知要做一个很好,很酷炫的网页 html+css+javascript是必不可少的。前面我们已经分享了一本经典的css书籍css精粹3
+
和一本jquery基本教程。今天分享的是javascript 精粹。
layout: post
permalink: /2010/12/javascript/
@@ -38,4 +39,4 @@ JavaScript曾是“世界上最被误解的语言”,因为它担负太多的
如果你有能力请支持正版,附正版购买链接:点我
- [1]: /images/2010/12/s3651235.jpg
\ No newline at end of file
+ [1]: /images/2010/12/s3651235.jpg
diff --git a/source/_posts/2010-12-05-wing.md b/source/_posts/2010-12-05-wing.md
index f2cb88f..17f03a9 100644
--- a/source/_posts/2010-12-05-wing.md
+++ b/source/_posts/2010-12-05-wing.md
@@ -1,6 +1,7 @@
---
title: 新浪微博客户端wing
author: wahyd4
+comments: true
excerpt: >
此软件是基于Adobe air 开发,意味着你可以在任何支持adobe
air的客户端运行软件,当然在windows
@@ -26,4 +27,4 @@ tags:
其实更让人惊讶的是这个程序是一个大二女生开发的,每每想到此,心中的敬意油然而生!此女生的博客大家可以进去看看。
- [1]: /images/2010/12/12-5-1_conew1.jpg
\ No newline at end of file
+ [1]: /images/2010/12/12-5-1_conew1.jpg
diff --git a/source/_posts/2010-12-06-3d-flash.md b/source/_posts/2010-12-06-3d-flash.md
index 54c9e0e..4475270 100644
--- a/source/_posts/2010-12-06-3d-flash.md
+++ b/source/_posts/2010-12-06-3d-flash.md
@@ -1,9 +1,10 @@
---
title: 3D flash抽签程序
author: wahyd4
+comments: true
excerpt: |
- 昨天在中国交互设计大赛上看到这个作品3D抽签程序,我试用了感觉很酷,所以就分享给大家,并提供下载吧。
-
+ 昨天在中国交互设计大赛上看到这个作品3D抽签程序,我试用了感觉很酷,所以就分享给大家,并提供下载吧。
+
下面就详细说说这个软件:
layout: post
permalink: /2010/12/3d-flash/
@@ -40,4 +41,4 @@ tags:
免费下载地址:点我下载
- [1]: /images/2010/12/s.jpg
\ No newline at end of file
+ [1]: /images/2010/12/s.jpg
diff --git a/source/_posts/2010-12-06-vired.md b/source/_posts/2010-12-06-vired.md
index 27ae932..97ee347 100644
--- a/source/_posts/2010-12-06-vired.md
+++ b/source/_posts/2010-12-06-vired.md
@@ -1,9 +1,10 @@
---
title: 邪乎,耶乎!
author: wahyd4
+comments: true
excerpt: |
- 话说我前面还写了一篇《谈谈彩票》,里面满是没有中奖的辛酸和无奈。
-
+ 话说我前面还写了一篇《谈谈彩票》,里面满是没有中奖的辛酸和无奈。
+
可是就在这之后,出乎意料的是在这后面连续四期我连续中奖,而且这四次都是蓝号,我感觉好神奇。
layout: post
permalink: /2010/12/vired/
@@ -20,4 +21,4 @@ categories:
如果中不到奖也好,这下可以打消我连续买彩票的念头了,但是我仍然会说到做到每周买一次彩票。算是给自己留下一个希望,也算是支持中国福利事业吧。
-微博祈祷吧,哈哈!
\ No newline at end of file
+微博祈祷吧,哈哈!
diff --git a/source/_posts/2010-12-07-android-2-3-come.md b/source/_posts/2010-12-07-android-2-3-come.md
index 1cc65eb..a2c9af2 100644
--- a/source/_posts/2010-12-07-android-2-3-come.md
+++ b/source/_posts/2010-12-07-android-2-3-come.md
@@ -1,6 +1,7 @@
---
title: Android 2.3 姜饼出炉啦
author: wahyd4
+comments: true
excerpt: >
看过一系列的Gingerbread姜饼和相关传言后,今日有答案了。
Google正式在网站公布第二部旗下品牌的手机Nexus
@@ -26,4 +27,4 @@ categories:
android Nexus s
[1]: /images/2010/12/12-7-1_conew1.jpg
- [2]: /images/2010/12/12-7-2_conew1.jpg
\ No newline at end of file
+ [2]: /images/2010/12/12-7-2_conew1.jpg
diff --git a/source/_posts/2010-12-08-android-2-3.md b/source/_posts/2010-12-08-android-2-3.md
index 84a4c92..0c2dcf0 100644
--- a/source/_posts/2010-12-08-android-2-3.md
+++ b/source/_posts/2010-12-08-android-2-3.md
@@ -1,6 +1,7 @@
---
title: Android 2.3一瞥
author: wahyd4
+comments: true
excerpt: >
在网上看得再多,如果自己不能真正体会,也没多少意思。所以我从昨天android
2.3
@@ -27,4 +28,4 @@ tags:
[1]: /images/2010/12/12-8-3_conew1.gif
[2]: /images/2010/12/12-8-1.jpg
- [3]: /images/2010/12/12-8-2.jpg
\ No newline at end of file
+ [3]: /images/2010/12/12-8-2.jpg
diff --git a/source/_posts/2010-12-11-linux-2010.md b/source/_posts/2010-12-11-linux-2010.md
index fffb0c2..a5ef436 100644
--- a/source/_posts/2010-12-11-linux-2010.md
+++ b/source/_posts/2010-12-11-linux-2010.md
@@ -1,6 +1,7 @@
---
title: linux宝典2010
author: wahyd4
+comments: true
excerpt: >
废话,这本书同样是我在图书馆找到的好书,其实我在图书馆找到的是第五版,是图书馆最新到的书,我大概翻看了一下,这本书真的很不错,首先讲得很详细,从linux的起源就讲起,而且适合各种层次的负责阅读,
layout: post
@@ -32,4 +33,4 @@ tags:
请有能力的同学支持正版,购买正版链接,linux宝典第五版:点我
- [1]: /images/2010/12/thumb.jpg
\ No newline at end of file
+ [1]: /images/2010/12/thumb.jpg
diff --git a/source/_posts/2010-12-11-program-good.md b/source/_posts/2010-12-11-program-good.md
index e248b7a..b4e9f3f 100644
--- a/source/_posts/2010-12-11-program-good.md
+++ b/source/_posts/2010-12-11-program-good.md
@@ -1,6 +1,7 @@
---
title: 编程珠玑第二版
author: wahyd4
+comments: true
excerpt: >
今天给大家介绍的是编程珠玑第二版,包括中文和英文版本已经源代码下载,其实缘由是我在图书馆的新书里面看到了这部经典的图书,但是苦于图书馆的是英文版的,我不喜欢看英文,
layout: post
@@ -29,4 +30,4 @@ tags:
有能力的同学,请支持正版,购买正版链接:点我
- [1]: /images/2010/12/12-11-1_conew1.jpg
\ No newline at end of file
+ [1]: /images/2010/12/12-11-1_conew1.jpg
diff --git a/source/_posts/2010-12-13-one-week-to-learn-flex4.md b/source/_posts/2010-12-13-one-week-to-learn-flex4.md
index 7ebf10c..a573133 100644
--- a/source/_posts/2010-12-13-one-week-to-learn-flex4.md
+++ b/source/_posts/2010-12-13-one-week-to-learn-flex4.md
@@ -1,6 +1,7 @@
---
title: 一周学Flex4视频中文版
author: wahyd4
+comments: true
excerpt: >
有了上面的那些东西,所以才有了这个视频教程,这个教程是Adobe
开发者中心官方推出的一周学习flex教程,从最基础的学起,应该说只要你是有些许编程经验的对这个教程都可以看懂,
@@ -44,4 +45,4 @@ tags:
注:其他不会的可以看下载视频文件包里面的的readerme.txt,观看视频请一定使用下载包里面的RIAplayer不要使用自己的什么QQ影音播放器,否则你的字幕是不能打开的。或者给我留言,我会尽快帮你解决的!
- [1]: /images/2010/12/12-13-2_conew1.jpg
\ No newline at end of file
+ [1]: /images/2010/12/12-13-2_conew1.jpg
diff --git a/source/_posts/2010-12-14-some-actions-about-keniu.md b/source/_posts/2010-12-14-some-actions-about-keniu.md
index 5be215f..d7169d2 100644
--- a/source/_posts/2010-12-14-some-actions-about-keniu.md
+++ b/source/_posts/2010-12-14-some-actions-about-keniu.md
@@ -1,6 +1,7 @@
---
title: 你可能不知道的可牛影像的几个小功能
author: wahyd4
+comments: true
excerpt: >
老实说,我平时处理图像用的最多的不是Photoshop,也不是picasa,而是可牛影像,因为绝大多数的日常图片处理都可以用它完成,而且还几乎是傻瓜式的操作,所以当然photoshop就被抛到一边了。
layout: post
@@ -36,4 +37,4 @@ tags:
[1]: /images/2010/12/12-14-3.jpg
[2]: /images/2010/12/12-14-1_conew1.jpg
- [3]: /images/2010/12/12-14-2_conew1.jpg
\ No newline at end of file
+ [3]: /images/2010/12/12-14-2_conew1.jpg
diff --git a/source/_posts/2010-12-17-some-websites.md b/source/_posts/2010-12-17-some-websites.md
index 6eff80d..bd402e2 100644
--- a/source/_posts/2010-12-17-some-websites.md
+++ b/source/_posts/2010-12-17-some-websites.md
@@ -1,6 +1,7 @@
---
title: 几个网络调查赚钱赚钱的网站
author: wahyd4
+comments: true
excerpt: >
话说
本童鞋两三年前就开始参加一些调查网站,做一些调查来赚钱,但是以前是时间不够,现在是不想再写调查了,感觉那个东西有点浪费时间,也许我是因为我自己做什么事都是三分钟热情吧,
@@ -48,4 +49,4 @@ tags:
[1]: /images/2010/12/12-17-1.jpg
[2]: /images/2010/12/12-17-2.jpg
[3]: /images/2010/12/12-17-11.jpg
- [4]: /images/2010/12/12-17-5.jpg
\ No newline at end of file
+ [4]: /images/2010/12/12-17-5.jpg
diff --git a/source/_posts/2010-12-18-dll-download.md b/source/_posts/2010-12-18-dll-download.md
index 4d3375b..bb278fe 100644
--- a/source/_posts/2010-12-18-dll-download.md
+++ b/source/_posts/2010-12-18-dll-download.md
@@ -1,6 +1,7 @@
---
title: 雨林木风dll库文件下载
author: wahyd4
+comments: true
excerpt: >
相信很多童鞋有和我一样的经历吧,当我们安装游戏或者软件的时候(绝大多数是游戏),电脑弹出一个框说我们的系统缺少某个.dll的类库文件,不能动态连接什么什么的信息,
layout: post
@@ -26,4 +27,4 @@ tags:
usp10.dll d3dx9_32.dll id3lib.dll comres.dll
shimgvw.dll scrrun.dll comres.dll shdocvw.dll shell32.dll storm.dll kailleraclient.dl lmfc42d.dll binkw32.dll d3dx9_25.dll
-dll下载网站地址:
\ No newline at end of file
+dll下载网站地址:
diff --git a/source/_posts/2010-12-18-survey.md b/source/_posts/2010-12-18-survey.md
index 9512bf3..2527209 100644
--- a/source/_posts/2010-12-18-survey.md
+++ b/source/_posts/2010-12-18-survey.md
@@ -1,6 +1,7 @@
---
title: 我做调查赚钱之“偷奸耍滑”
author: wahyd4
+comments: true
layout: post
permalink: /2010/12/survey/
categories:
@@ -34,4 +35,4 @@ tags:
-
\ No newline at end of file
+
diff --git a/source/_posts/2010-12-20-wordpress-christmas.md b/source/_posts/2010-12-20-wordpress-christmas.md
index 13d2d78..3528038 100644
--- a/source/_posts/2010-12-20-wordpress-christmas.md
+++ b/source/_posts/2010-12-20-wordpress-christmas.md
@@ -1,6 +1,7 @@
---
title: 让你的wordpress圣诞也飘雪吧
author: wahyd4
+comments: true
excerpt: |
|
虽然可能中国的童鞋不怎么过圣诞节吧,但是笔者还是看到很多网站,在圣诞到来之际,挂出了越来越多的和圣诞节相关的小挂件。
@@ -39,4 +40,4 @@ tags:
**Hide the “Powered by” message in the footer?(隐藏页底的插件相关信息) 这个默认是NO,请注意,这个需要改为YES,这样页底就没有插件的相关信息了。**
-更多的功能,大家就自己试着调试吧。
\ No newline at end of file
+更多的功能,大家就自己试着调试吧。
diff --git a/source/_posts/2010-12-23-youdao-dict.md b/source/_posts/2010-12-23-youdao-dict.md
index 525f890..c3d2b71 100644
--- a/source/_posts/2010-12-23-youdao-dict.md
+++ b/source/_posts/2010-12-23-youdao-dict.md
@@ -1,11 +1,12 @@
---
title: 有道词典4.0
author: wahyd4
+comments: true
excerpt: |
- 最近国外著名大学的开放课程很受很欢迎,谁都想和这些占一点边,这不网易前面做了一个视频公开课免费在线观看,很受大家的欢迎,最近有道词典推出4.0的beta版本,里面也增加了国外大学开放课程的视频的音视频原句例句功能。这些那些例句从此变得就不那么枯燥无味了。
-
- 有道官方说: 全新视频例句功能,收录国际名校公开课以及欧美经典影视作品的视频例句,体验纯正英语。
-
+ 最近国外著名大学的开放课程很受很欢迎,谁都想和这些占一点边,这不网易前面做了一个视频公开课免费在线观看,很受大家的欢迎,最近有道词典推出4.0的beta版本,里面也增加了国外大学开放课程的视频的音视频原句例句功能。这些那些例句从此变得就不那么枯燥无味了。
+
+ 有道官方说: 全新视频例句功能,收录国际名校公开课以及欧美经典影视作品的视频例句,体验纯正英语。
+
来自英语广播原音重现的音频例句,地道权威。
layout: post
permalink: /2010/12/youdao-dict/
@@ -35,4 +36,4 @@ tags:
下载地址:点我下载
-
\ No newline at end of file
+
diff --git a/source/_posts/2010-12-27-google-public-dns.md b/source/_posts/2010-12-27-google-public-dns.md
index 63040f1..b4d0e00 100644
--- a/source/_posts/2010-12-27-google-public-dns.md
+++ b/source/_posts/2010-12-27-google-public-dns.md
@@ -1,6 +1,7 @@
---
title: 使用Google public DNS加速网站访问
author: wahyd4
+comments: true
excerpt: >
如果你也出现了一下问题:本来一些网站的域名存在,可是你缺被莫名其妙的引导到电信的114页面或者联通的什么页面。或者你访问一些网站时
他告诉你 网站不能打开,或者显示的不是正常的网页。
@@ -65,4 +66,4 @@ tags:
**[ ][1] **
- [1]: /images/2010/12/12-27-1.jpg
\ No newline at end of file
+ [1]: /images/2010/12/12-27-1.jpg
diff --git a/source/_posts/2010-12-29-leave-me.md b/source/_posts/2010-12-29-leave-me.md
index 14e41d6..acc0c23 100644
--- a/source/_posts/2010-12-29-leave-me.md
+++ b/source/_posts/2010-12-29-leave-me.md
@@ -1,6 +1,7 @@
---
title: 超感人短片 :让我留下 Leave me
author: wahyd4
+comments: true
excerpt: |
>
一切都是爱的伟大,不管是父爱还是爱情。我们一直在体验着
@@ -24,4 +25,4 @@ tags:
**中文片名: 让我留下 英文片名: Leave Me 国家地区: 美国 影片类型: 剧情片 资源格式: HR-HDTV,RMVB 上影时间: 2009 导 演: Dustin Ballard 主 演: Ryan Dunlap Mark Gullickson Sarah Van Eman Christopher Akers ** **对白语言: 英语 字幕语种: [中英][1]介绍:** [
][2] 以下内容来自豆瓣网 ** ** 我相信它不是一个佳能的广告,它也没得过广告奖。 他在手心写下LEAVE ME。那是他自后一张照片。 他在相机的内存里狂奔大叫,告诉端着相机的父亲“请前进!往前!!”当他发觉自己可以选择呆在那一张相片的时间和地点里的时候,其实一切都确定了。他带着自己的身体踩着相片的时间一路向着她跑过去,向着已经和时间没有关系的他的爱人。 在她死去之后,他不知道可以用它拍什么。他端着相机好像揣着自己无所是从的心情。于是他让父亲拍了自己,他竟然神奇的到了相片的时间里。 起初只是风景,我可以感受到当这个镜头为一项对准聚焦的那个笑容被带走之后,镜头后的那双眼睛有多空旷绝望,连景色都跟着一起单色调。广场,树林,水坝。 因为父亲不小心的操作,他发现自己可以乘着相片的时间回去。于是就如开始所说,他大叫着向着时间深处跑去。在河边停了下来。那时候的她有健康的肤色和眼神。问他,亲爱的你在干什么?他害怕让现实打扰到这个世界,定格,却又那么真实的流淌着。他回过头去,透出钢笔飞快地写。他的父亲对着显示频开始流泪。 LEAVE ME。 他把两个世界的人都留下了。 Leave me 。留下我,离开我。 在小王子要离开飞行员而死去,或是“回去”的时候,他也是这么对飞行员表达,用超越孩子的安定。 对留下的人是离开,对离开的人是挽留。 介绍来自:
[1]: http://yyets.net/?mod=2&ac=search_result&op=normal&class=subtitle&keyword=Leave%20Me
- [2]: /images/2010/12/12-29-61.jpg
\ No newline at end of file
+ [2]: /images/2010/12/12-29-61.jpg
diff --git a/source/_posts/2011-01-06-generate-favicon-ico.md b/source/_posts/2011-01-06-generate-favicon-ico.md
index bd9fac5..d10533b 100644
--- a/source/_posts/2011-01-06-generate-favicon-ico.md
+++ b/source/_posts/2011-01-06-generate-favicon-ico.md
@@ -1,6 +1,7 @@
---
title: 在线生成favicon.ico网站图标
author: wahyd4
+comments: true
excerpt: |
所谓favicon.ico就是我们平时所说的网站图标,即是你在浏览器里面看到关于网站的样子即图片里面所示,其实这个图片一般是不好生成的,因为她不是传统的.jpg 或者.png/.gif格式的图片。
@@ -46,4 +47,4 @@ tags:
[1]: /images/2011/01/1-6-5.jpg
[2]: /images/2011/01/1-6-6_conew1.jpg
- [3]: /images/2011/01/1-6-4_conew1.jpg
\ No newline at end of file
+ [3]: /images/2011/01/1-6-4_conew1.jpg
diff --git a/source/_posts/2011-01-06-online-print-photos.md b/source/_posts/2011-01-06-online-print-photos.md
index 5aa4d5e..d634aaa 100644
--- a/source/_posts/2011-01-06-online-print-photos.md
+++ b/source/_posts/2011-01-06-online-print-photos.md
@@ -1,6 +1,7 @@
---
title: 在线冲印照片,相册,创意冲印
author: wahyd4
+comments: true
excerpt: |
笔者很早以前就看到有人推荐说网上冲印很便宜,而且效果还不错。可是我自己却没有亲身经历试过。
@@ -60,4 +61,4 @@ tags:
地址:网易印象派
- [1]: /images/2011/01/11-1-6-3.jpg
\ No newline at end of file
+ [1]: /images/2011/01/11-1-6-3.jpg
diff --git a/source/_posts/2011-01-07-the-city-in-the-future.md b/source/_posts/2011-01-07-the-city-in-the-future.md
index 07ff487..3254155 100644
--- a/source/_posts/2011-01-07-the-city-in-the-future.md
+++ b/source/_posts/2011-01-07-the-city-in-the-future.md
@@ -1,6 +1,7 @@
---
title: wordpress 主题:未来之城v4.0
author: wahyd4
+comments: true
layout: post
permalink: /2011/01/the-city-in-the-future/
categories:
@@ -38,4 +39,4 @@ thumbnail 插件
点我下载
-主题所有权利归未来之城所有,点击进入原主题发布页面
\ No newline at end of file
+主题所有权利归未来之城所有,点击进入原主题发布页面
diff --git a/source/_posts/2011-01-08-linux-tutorial.md b/source/_posts/2011-01-08-linux-tutorial.md
index 5f31b9d..c2fd21f 100644
--- a/source/_posts/2011-01-08-linux-tutorial.md
+++ b/source/_posts/2011-01-08-linux-tutorial.md
@@ -1,6 +1,7 @@
---
title: 马士兵Linux视频教程
author: wahyd4
+comments: true
layout: post
permalink: /2011/01/linux-tutorial/
categories:
@@ -36,4 +37,4 @@ linux软件安装 vsftp安装及配置 、tomcat、java jdk安装
**视频下载:点我下载(该链接为电驴下载地址,你可以使用电驴或者迅雷进行下载。文件为压缩包。)**
- [1]: /images/2011/01/1-8-2_conew1.jpg
\ No newline at end of file
+ [1]: /images/2011/01/1-8-2_conew1.jpg
diff --git a/source/_posts/2011-01-08-wang-zhen-fei.md b/source/_posts/2011-01-08-wang-zhen-fei.md
index 9a633b9..ff8288d 100644
--- a/source/_posts/2011-01-08-wang-zhen-fei.md
+++ b/source/_posts/2011-01-08-wang-zhen-fei.md
@@ -1,6 +1,7 @@
---
title: 王振飞:用程序写出来的建筑
author: wahyd4
+comments: true
layout: post
permalink: /2011/01/wang-zhen-fei/
categories:
@@ -20,4 +21,4 @@ categories:
工作也一样,就像视频里设计师讲的,将计算机学里面也许不起眼的知识运用到建筑学里面,也许就会产生质的飞跃。
[1]: /images/2011/01/1-8-3_conew1.jpg
- [2]: /images/2011/01/1-8-4.jpg
\ No newline at end of file
+ [2]: /images/2011/01/1-8-4.jpg
diff --git a/source/_posts/2011-01-09-cbox.md b/source/_posts/2011-01-09-cbox.md
index 591c0a0..9994fef 100644
--- a/source/_posts/2011-01-09-cbox.md
+++ b/source/_posts/2011-01-09-cbox.md
@@ -1,6 +1,7 @@
---
title: Cbox:2011亚洲杯在线观看
author: wahyd4
+comments: true
layout: post
permalink: /2011/01/cbox/
categories:
@@ -27,4 +28,4 @@ tags:
**软件下载:官方下载地址 (如果不能下载,请进入官方网站下载最新版本)**
[1]: /images/2011/01/1-9-1_conew1.jpg
- [2]: /images/2011/01/1-9-2.jpg
\ No newline at end of file
+ [2]: /images/2011/01/1-9-2.jpg
diff --git a/source/_posts/2011-01-10-filezilla.md b/source/_posts/2011-01-10-filezilla.md
index 26c4596..76ccf0d 100644
--- a/source/_posts/2011-01-10-filezilla.md
+++ b/source/_posts/2011-01-10-filezilla.md
@@ -1,6 +1,7 @@
---
title: Filezilla:全平台开源免费ftp客户端
author: wahyd4
+comments: true
layout: post
permalink: /2011/01/filezilla/
categories:
@@ -45,4 +46,4 @@ Filezilla使用著名开源软件基金会Mozilla提供的开源的ftp客户端
注:在Linux命令行下 还可以使用 apt-get install filezilla 进行自动下载。
- [1]: /images/2011/01/1-100H61202480-L_conew1.jpg
\ No newline at end of file
+ [1]: /images/2011/01/1-100H61202480-L_conew1.jpg
diff --git a/source/_posts/2011-01-10-use-your-eos-take-video.md b/source/_posts/2011-01-10-use-your-eos-take-video.md
index 48e5e56..345cc94 100644
--- a/source/_posts/2011-01-10-use-your-eos-take-video.md
+++ b/source/_posts/2011-01-10-use-your-eos-take-video.md
@@ -1,6 +1,7 @@
---
title: 用你的佳能EOS相机拍摄视频吧
author: wahyd4
+comments: true
layout: post
permalink: /2011/01/use-your-eos-take-video/
categories:
@@ -48,4 +49,4 @@ tags:
点击这里观看更多EOS MOVIE拍摄的高清视频
- [1]: /images/2011/01/1-10-2_conew1.jpg
\ No newline at end of file
+ [1]: /images/2011/01/1-10-2_conew1.jpg
diff --git a/source/_posts/2011-01-13-google-chrome-app-extensions.md b/source/_posts/2011-01-13-google-chrome-app-extensions.md
index 7a12b0d..8a35b6f 100644
--- a/source/_posts/2011-01-13-google-chrome-app-extensions.md
+++ b/source/_posts/2011-01-13-google-chrome-app-extensions.md
@@ -1,6 +1,7 @@
---
title: 又两个Google Chrome app浏览器扩展
author: wahyd4
+comments: true
layout: post
permalink: /2011/01/google-chrome-app-extensions/
categories:
@@ -66,4 +67,4 @@ tags:
[1]: /images/2011/01/1-13-6.jpeg
- [2]: /images/2011/01/1-13-1.jpg
\ No newline at end of file
+ [2]: /images/2011/01/1-13-1.jpg
diff --git a/source/_posts/2011-01-15-anngry-birds.md b/source/_posts/2011-01-15-anngry-birds.md
index 2f8be6d..5e40f04 100644
--- a/source/_posts/2011-01-15-anngry-birds.md
+++ b/source/_posts/2011-01-15-anngry-birds.md
@@ -1,6 +1,7 @@
---
title: 愤怒的小鸟PC版下载
author: wahyd4
+comments: true
layout: post
permalink: /2011/01/anngry-birds/
categories:
@@ -28,4 +29,4 @@ tags:
注意:你还可以进入360软件管家 ,在里面搜索愤怒的小鸟即可下载,笨软件只有50M。
- [1]: /images/2011/01/1-15-1.jpg
\ No newline at end of file
+ [1]: /images/2011/01/1-15-1.jpg
diff --git a/source/_posts/2011-01-15-chrome-support-xunlei.md b/source/_posts/2011-01-15-chrome-support-xunlei.md
index 88a1be5..2be086f 100644
--- a/source/_posts/2011-01-15-chrome-support-xunlei.md
+++ b/source/_posts/2011-01-15-chrome-support-xunlei.md
@@ -1,6 +1,7 @@
---
title: 让你的chrome也能支持迅雷、电驴、QQ旋风
author: wahyd4
+comments: true
layout: post
permalink: /2011/01/chrome-support-xunlei/
categories:
@@ -46,4 +47,4 @@ tags:
下载地址:点我进入官方下载 如果连接失效请告诉我们,下载时请使用chrome浏览器下载。
- [1]: /images/2011/01/1-15-3.jpg
\ No newline at end of file
+ [1]: /images/2011/01/1-15-3.jpg
diff --git a/source/_posts/2011-01-19-173vpn.md b/source/_posts/2011-01-19-173vpn.md
index d56050b..4db2db2 100644
--- a/source/_posts/2011-01-19-173vpn.md
+++ b/source/_posts/2011-01-19-173vpn.md
@@ -1,6 +1,7 @@
---
title: 免费VPN推荐:173VPN
author: wahyd4
+comments: true
layout: post
permalink: /2011/01/173vpn/
categories:
@@ -39,4 +40,4 @@ tags:
软件下载:官方下载
- [1]: /images/2011/01/1-19-2_conew1.jpg
\ No newline at end of file
+ [1]: /images/2011/01/1-19-2_conew1.jpg
diff --git a/source/_posts/2011-01-20-update-windows7-to-sp1.md b/source/_posts/2011-01-20-update-windows7-to-sp1.md
index 84ce579..62032d0 100644
--- a/source/_posts/2011-01-20-update-windows7-to-sp1.md
+++ b/source/_posts/2011-01-20-update-windows7-to-sp1.md
@@ -1,6 +1,7 @@
---
title: 快将你的windows 7升级到SP1吧
author: wahyd4
+comments: true
excerpt: ' 作为一个还是比较爱折腾的童鞋,笔者曾在windows 7 RTM版本刚在网上泄露的时候就下载了,系统进行安装,先尝试了一番。最近windows 7 sp1 的最终版本又在网上泄露了,笔者前天晚上已经等不及下载下来进行安装了,经过一天多的使用,确认没有任何和我的windows 7旗舰版 不兼容或者bug,现在和大家分享一下。'
layout: post
permalink: /2011/01/update-windows7-to-sp1/
@@ -42,4 +43,4 @@ tags:
[1]: /images/2011/01/1-20-1_conew1.jpg
[2]: /images/2011/01/1-18-1_conew1.jpg
- [3]: /images/2011/01/1-20-2_conew1.jpg
\ No newline at end of file
+ [3]: /images/2011/01/1-20-2_conew1.jpg
diff --git a/source/_posts/2011-01-21-oneiro.md b/source/_posts/2011-01-21-oneiro.md
index 242fd2b..99f9942 100644
--- a/source/_posts/2011-01-21-oneiro.md
+++ b/source/_posts/2011-01-21-oneiro.md
@@ -2,6 +2,7 @@
title: 华丽支持ajax评论、jquery特效、首页幻灯的wordpress主题:Oneiro
author: wahyd4
layout: post
+comments: true
permalink: /2011/01/oneiro/
categories:
- 我们爱分享
@@ -42,4 +43,4 @@ tags:
>
> 下载:官方 本站下载
- [1]: /images/2011/01/1-21-2_conew1.jpg
\ No newline at end of file
+ [1]: /images/2011/01/1-21-2_conew1.jpg
diff --git a/source/_posts/2011-01-22-photoshop-cs4.md b/source/_posts/2011-01-22-photoshop-cs4.md
index 452e69b..9b754bb 100644
--- a/source/_posts/2011-01-22-photoshop-cs4.md
+++ b/source/_posts/2011-01-22-photoshop-cs4.md
@@ -2,6 +2,7 @@
title: photoshop CS4入门到精通视频教程(完整版)
author: wahyd4
layout: post
+comments: true
permalink: /2011/01/photoshop-cs4/
categories:
- 各类教程
@@ -64,4 +65,4 @@ tags:
>
> Photoshop CS4_21.网页设计
- [1]: /images/2011/01/1-22-2_conew2.jpg
\ No newline at end of file
+ [1]: /images/2011/01/1-22-2_conew2.jpg
diff --git a/source/_posts/2011-01-22-sparkdaks.md b/source/_posts/2011-01-22-sparkdaks.md
index 6f1dcdc..d71c69a 100644
--- a/source/_posts/2011-01-22-sparkdaks.md
+++ b/source/_posts/2011-01-22-sparkdaks.md
@@ -3,6 +3,7 @@ title: >
《斯巴达克斯:诸神竞技场》美剧下载(独家提供中英字幕)更新
author: wahyd4
layout: post
+comments: true
permalink: /2011/01/sparkdaks/
categories:
- 视频/音乐分享
@@ -39,4 +40,4 @@ tags:
**这个寒假不在寒冷!大家快去看看吧。**
[1]: /images/2011/01/1-22-9_conew1.jpg
- [2]: /images/2011/01/1-22-10.jpg
\ No newline at end of file
+ [2]: /images/2011/01/1-22-10.jpg
diff --git a/source/_posts/2011-01-27-good-movie.md b/source/_posts/2011-01-27-good-movie.md
index 65130fb..de11eb8 100644
--- a/source/_posts/2011-01-27-good-movie.md
+++ b/source/_posts/2011-01-27-good-movie.md
@@ -1,6 +1,7 @@
---
title: 好电影推荐一
author: wahyd4
+comments: true
layout: post
permalink: /2011/01/good-movie/
categories:
@@ -55,4 +56,4 @@ tags:
-下载地址:CD1 CD2
\ No newline at end of file
+下载地址:CD1 CD2
diff --git a/source/_posts/2011-02-01-happy-new-year-2.md b/source/_posts/2011-02-01-happy-new-year-2.md
index 78b6c33..8b8680a 100644
--- a/source/_posts/2011-02-01-happy-new-year-2.md
+++ b/source/_posts/2011-02-01-happy-new-year-2.md
@@ -1,6 +1,7 @@
---
title: 新年快乐
author: wahyd4
+comments: true
layout: post
permalink: /2011/02/happy-new-year-2/
categories:
@@ -16,4 +17,4 @@ categories:
[
][1]下载地址:点我下载
- [1]: /images/2011/02/xuancai-2_conew2.jpg
\ No newline at end of file
+ [1]: /images/2011/02/xuancai-2_conew2.jpg
diff --git a/source/_posts/2011-02-01-php-mysql-pdf-download.md b/source/_posts/2011-02-01-php-mysql-pdf-download.md
index 5c2e7c1..e5b87f6 100644
--- a/source/_posts/2011-02-01-php-mysql-pdf-download.md
+++ b/source/_posts/2011-02-01-php-mysql-pdf-download.md
@@ -1,6 +1,7 @@
---
title: PHP与MySQL程序设计(第3版) PDF下载
author: wahyd4
+comments: true
layout: post
permalink: /2011/02/php-mysql-pdf-download/
categories:
@@ -38,4 +39,4 @@ tags:
下载地址:点我下载(请使用迅雷下载)
- [1]: /images/2011/02/22-1_conew1.jpg
\ No newline at end of file
+ [1]: /images/2011/02/22-1_conew1.jpg
diff --git a/source/_posts/2011-02-07-php2011-manual.md b/source/_posts/2011-02-07-php2011-manual.md
index 7fa7162..b950f58 100644
--- a/source/_posts/2011-02-07-php2011-manual.md
+++ b/source/_posts/2011-02-07-php2011-manual.md
@@ -1,6 +1,7 @@
---
title: php2011最新官方中文帮助手册
author: wahyd4
+comments: true
excerpt: |
学过java的同学应该对API帮助文档都不陌生吧,这个PHP手册也是差不多这个样子的,不过我感觉里面的所讲的东西比java API文档里面更加丰富。
@@ -37,4 +38,4 @@ tags:
> 下载地址:网盘下载 官方下载
- [1]: /images/2011/02/2-7-1_conew1.jpg
\ No newline at end of file
+ [1]: /images/2011/02/2-7-1_conew1.jpg
diff --git a/source/_posts/2011-02-08-free-to-read-newspaper.md b/source/_posts/2011-02-08-free-to-read-newspaper.md
index 4151726..bfdd672 100644
--- a/source/_posts/2011-02-08-free-to-read-newspaper.md
+++ b/source/_posts/2011-02-08-free-to-read-newspaper.md
@@ -1,6 +1,7 @@
---
title: AB报——全国报纸在线免费看
author: wahyd4
+comments: true
excerpt: >
给位喜欢看报纸的同学有福啦,我在网上找到这样一个好东西,可以免费看全国报纸的网站,里面包含的报纸真的很多哦,想我喜欢的南方周末,华西都市报、环球时报、南方都市报、篮球报等等。总之这里面包含的报纸很多,不需要下载,不需要插件直接打开网页就可以免费看了。
layout: post
@@ -26,4 +27,4 @@ tags:
> 点我进入免费在线看报纸!
>
- [1]: /images/2011/02/2-8-1_conew1.jpg
\ No newline at end of file
+ [1]: /images/2011/02/2-8-1_conew1.jpg
diff --git a/source/_posts/2011-02-10-five-chrome-theme.md b/source/_posts/2011-02-10-five-chrome-theme.md
index b7738bc..d4c3e42 100644
--- a/source/_posts/2011-02-10-five-chrome-theme.md
+++ b/source/_posts/2011-02-10-five-chrome-theme.md
@@ -1,6 +1,7 @@
---
title: 五款精选chrome谷歌浏览器主题
author: wahyd4
+comments: true
excerpt: >
现在全球的chrome浏览器占有率是节节攀升,有的调查显示chrome浏览器的全球占有率已经达到10%,各种谷歌浏览器扩展程序也很丰富,之前我们也曾经两次介绍过类似的文章。几款google
chrome浏览器扩展程序(app),又两个Google Chrome
@@ -50,4 +51,4 @@ Android机器人主题(Robot Theme)
[2]: /images/2011/02/2-10-2_conew1.jpg
[3]: /images/2011/02/2-10-3_conew1.jpg
[4]: /images/2011/02/2-10-4_conew1.jpg
- [5]: /images/2011/02/2-10-5_conew1.jpg
\ No newline at end of file
+ [5]: /images/2011/02/2-10-5_conew1.jpg
diff --git a/source/_posts/2011-02-15-good-photos.md b/source/_posts/2011-02-15-good-photos.md
index 0429177..0917d9e 100644
--- a/source/_posts/2011-02-15-good-photos.md
+++ b/source/_posts/2011-02-15-good-photos.md
@@ -1,6 +1,7 @@
---
title: 高清壁纸免费下
author: wahyd4
+comments: true
excerpt: |
不知道各位同学以前是在哪里找壁纸,反正我一般是在论坛里面找壁纸,或者在某个博客里面翻看博主分享的好看的壁纸。
@@ -36,4 +37,4 @@ tags:
> 壁纸下载:点我进入
>
- [1]: /images/2011/02/cloud_heart-960x600_conew1.jpg
\ No newline at end of file
+ [1]: /images/2011/02/cloud_heart-960x600_conew1.jpg
diff --git a/source/_posts/2011-02-17-make-your-own-theme.md b/source/_posts/2011-02-17-make-your-own-theme.md
index 7c46d5d..fbd02a1 100644
--- a/source/_posts/2011-02-17-make-your-own-theme.md
+++ b/source/_posts/2011-02-17-make-your-own-theme.md
@@ -1,6 +1,7 @@
---
title: 快速高效制作一款属于你的chrome主题(在线/本地)
author: wahyd4
+comments: true
excerpt: |
打开http://www.chrometheme.net/,在页面底部点击create chrome theme online 这个按钮即可进入制作主题。
@@ -79,4 +80,4 @@ pack:制作并生产主题crx文件,可以直接下载文件,也可以下载
[1]: /images/2011/02/1-13-6_conew1.jpg
- [2]: /images/2011/02/2-17-1.png
\ No newline at end of file
+ [2]: /images/2011/02/2-17-1.png
diff --git a/source/_posts/2011-02-23-tv-radios.md b/source/_posts/2011-02-23-tv-radios.md
index fe783ce..2c34467 100644
--- a/source/_posts/2011-02-23-tv-radios.md
+++ b/source/_posts/2011-02-23-tv-radios.md
@@ -1,6 +1,7 @@
---
title: 全球电视、广播电台免费在线收看、收听(免下载、安装)
author: wahyd4
+comments: true
layout: post
permalink: /2011/02/tv-radios/
categories:
@@ -29,4 +30,4 @@ tags:
>
[1]: /images/2011/02/2-23-3.jpg
- [2]: /images/2011/02/2-23-4_conew1.jpg
\ No newline at end of file
+ [2]: /images/2011/02/2-23-4_conew1.jpg
diff --git a/source/_posts/2011-02-28-background-image.md b/source/_posts/2011-02-28-background-image.md
index 27d0395..0ca3114 100644
--- a/source/_posts/2011-02-28-background-image.md
+++ b/source/_posts/2011-02-28-background-image.md
@@ -1,6 +1,7 @@
---
title: 送上自己拍的图片三张,高清壁纸
author: wahyd4
+comments: true
layout: post
permalink: /2011/02/background-image/
categories:
@@ -18,4 +19,4 @@ tags:
> 

高清壁纸下载:点我
>
-当然还希望各位多提意见啊。。。
\ No newline at end of file
+当然还希望各位多提意见啊。。。
diff --git a/source/_posts/2011-02-28-fixed-toolbar.md b/source/_posts/2011-02-28-fixed-toolbar.md
index 4e57dd8..8c1b776 100644
--- a/source/_posts/2011-02-28-fixed-toolbar.md
+++ b/source/_posts/2011-02-28-fixed-toolbar.md
@@ -1,6 +1,7 @@
---
title: 在页面底部添加固定信息栏,类似于本博客所示效果
author: wahyd4
+comments: true
excerpt: |
|
下面就稍微详细给大家说一下如何实现吧,其实原理很简单。将底部这个小长条固定在页面的底部涉及到的核心CSS代码就是
@@ -104,4 +105,4 @@ categories:
-
\ No newline at end of file
+
diff --git a/source/_posts/2011-03-04-360.md b/source/_posts/2011-03-04-360.md
index 61ec3ac..cfe50f2 100644
--- a/source/_posts/2011-03-04-360.md
+++ b/source/_posts/2011-03-04-360.md
@@ -1,6 +1,7 @@
---
title: 360抢占桌面又一力作——360安全桌面
author: wahyd4
+comments: true
excerpt: |
在其桌面上集成了大家可能是最感兴趣,最喜欢用的一些应用,当然也包括奇虎公司自己的应用比如说360浏览器、360安全卫士。
将互联网几个大家使用最多的类别的网站地址或者软件集成在了桌面上。这样大家就不用再一个一个得输入地址去进入网站,而是直接可以通过360桌面直接进入,而且可以很轻松同时进入几个不同的网站。而不用输入几个地址。
@@ -39,4 +40,4 @@ tags:
> 下载地址:官方下载 【离线安装包】 网盘下载
- [1]: /images/2011/03/20110304-截图-1_conew1.jpg
\ No newline at end of file
+ [1]: /images/2011/03/20110304-截图-1_conew1.jpg
diff --git a/source/_posts/2011-03-05-background-images.md b/source/_posts/2011-03-05-background-images.md
index 7a3a957..7598bb4 100644
--- a/source/_posts/2011-03-05-background-images.md
+++ b/source/_posts/2011-03-05-background-images.md
@@ -1,8 +1,9 @@
---
title: 一些适合做网站背景的五彩壁纸下载
author: wahyd4
+comments: true
excerpt: |
- 包内所含的图片的分辨率都是2000*2000的,应该是设计原稿吧,是jpg格式的,各位如果想要用作壁纸的需要自己再加工一下。毕竟文件太大了,每张图片几乎都是2M左右。
+ 包内所含的图片的分辨率都是2000*2000的,应该是设计原稿吧,是jpg格式的,各位如果想要用作壁纸的需要自己再加工一下。毕竟文件太大了,每张图片几乎都是2M左右。
包含如此多的颜色,应该够各位下载使用了吧。
layout: post
permalink: /2011/03/background-/images/
@@ -24,4 +25,4 @@ tags:
其他废话就 不多说了。
-> 下载地址:网盘下载
\ No newline at end of file
+> 下载地址:网盘下载
diff --git a/source/_posts/2011-03-06-wibiya.md b/source/_posts/2011-03-06-wibiya.md
index 6d84ce7..0347889 100644
--- a/source/_posts/2011-03-06-wibiya.md
+++ b/source/_posts/2011-03-06-wibiya.md
@@ -2,6 +2,7 @@
title: >
一款超级酷炫的页面底部工具栏插件——wibiya(完美支持wordpress)
author: wahyd4
+comments: true
excerpt: |
下面就来详细的给大家介绍一下如何得到这个工具栏:
打开http://www.wibiya.com/,点击get it now 开始获取插件。
@@ -46,4 +47,4 @@ tags:
[1]: /images/2011/03/212_conew1.jpg
[2]: /images/2011/03/3-143_conew1.jpg
[3]: /images/2011/03/3-14-5_conew1.jpg
- [4]: http://www.wibiya.com/
\ No newline at end of file
+ [4]: http://www.wibiya.com/
diff --git a/source/_posts/2011-03-09-css3html5google20-things-i-learned-about-browsers-and-the-web.md b/source/_posts/2011-03-09-css3html5google20-things-i-learned-about-browsers-and-the-web.md
index 4ea9796..dc81002 100644
--- a/source/_posts/2011-03-09-css3html5google20-things-i-learned-about-browsers-and-the-web.md
+++ b/source/_posts/2011-03-09-css3html5google20-things-i-learned-about-browsers-and-the-web.md
@@ -1,6 +1,7 @@
---
title: CSS3+HTML5+Google=20 things i learned about browsers and the web
author: wahyd4
+comments: true
excerpt: >
就是google chrome
浏览器团队用CSS3+HTML5开发出的一本在线图书叫做20 things i
@@ -29,4 +30,4 @@ tags:
* 这个网站还支持关灯模式,就是背景是灰色的,对眼睛保护很不错。
* 这个书应该是使用了HTML5的保存历史记录和书签的功能吧,可以自动保存书签,待你下次访问的时候就可以直接接上次的进度。
-> ## 点击进入阅读:20 things i learned about browsers and the web
\ No newline at end of file
+> ## 点击进入阅读:20 things i learned about browsers and the web
diff --git a/source/_posts/2011-03-13-chrome-reader.md b/source/_posts/2011-03-13-chrome-reader.md
index 055a287..f25f0e4 100644
--- a/source/_posts/2011-03-13-chrome-reader.md
+++ b/source/_posts/2011-03-13-chrome-reader.md
@@ -1,6 +1,7 @@
---
title: chrome 阅读文章app——ireader:给你更好的阅读体验
author: wahyd4
+comments: true
excerpt: >
又有几天笔者没有认真更新博客了,自己有些事需要处理吧,老实说看着自己博客的这个样子有时候性质很高,但是有时候又感觉没有动力。不过我还是会继续更新的。今天给大家分享的还是关于google
chrome浏览器的东西,一款阅读app ——ireader.
@@ -45,4 +46,4 @@ tags:
[1]: /images/2011/03/22_conew1.jpg
- [2]: /images/2011/03/3-14-2_conew1.jpg
\ No newline at end of file
+ [2]: /images/2011/03/3-14-2_conew1.jpg
diff --git a/source/_posts/2011-03-13-content-lost.md b/source/_posts/2011-03-13-content-lost.md
index d6e36ef..54a6f01 100644
--- a/source/_posts/2011-03-13-content-lost.md
+++ b/source/_posts/2011-03-13-content-lost.md
@@ -1,6 +1,7 @@
---
title: 不好意思!博客被黑了,内容丢失了。
author: wahyd4
+comments: true
layout: post
permalink: /2011/03/content-lost/
categories:
@@ -18,4 +19,4 @@ RT,也许今天下午太黑暗了,我的博客被黑了,而且数据全被
这几天都知道地球活动有点剧烈。
-希望各位同学都平平安安的,春天来了,一定要多去耍耍!
\ No newline at end of file
+希望各位同学都平平安安的,春天来了,一定要多去耍耍!
diff --git a/source/_posts/2011-03-15-css3-for-web-designers-pdf.md b/source/_posts/2011-03-15-css3-for-web-designers-pdf.md
index 3b68048..f26cc2c 100644
--- a/source/_posts/2011-03-15-css3-for-web-designers-pdf.md
+++ b/source/_posts/2011-03-15-css3-for-web-designers-pdf.md
@@ -1,6 +1,7 @@
---
title: 'CSS3 for web designers [PDF]下载'
author: wahyd4
+comments: true
excerpt: >
最近在看css和javascript方面的书籍,不过最新的CSS3几乎找不到什么参考书,只能在网上找到零星的资料。中文资料就更是少了,笔者最近在网上找到一本比较好的CSS书籍——CSS3
for web designers(不过是英文版本的,希望各位将就看吧!)
@@ -36,4 +37,4 @@ tags:
> ## 下载地址:网盘下载
- [1]: /images/2011/03/css3_conew1.jpg
\ No newline at end of file
+ [1]: /images/2011/03/css3_conew1.jpg
diff --git a/source/_posts/2011-03-21-1561.md b/source/_posts/2011-03-21-1561.md
index 055017b..ee565ae 100644
--- a/source/_posts/2011-03-21-1561.md
+++ b/source/_posts/2011-03-21-1561.md
@@ -1,6 +1,7 @@
---
title: web 开发者必备的几款google chrome app
author: wahyd4
+comments: true
excerpt: >
博客还是要继续的,只是鄙人有点懒惰,还有点懈怠,而且有时候也是真的不晓得该写些什么好。今天还是分享好东西,google
chrome 浏览器的app应用,不过这次是针对web
@@ -43,4 +44,4 @@ tags:

- [1]: /images/2011/03/chrome-new-logo_conew1.jpg
\ No newline at end of file
+ [1]: /images/2011/03/chrome-new-logo_conew1.jpg
diff --git a/source/_posts/2011-03-26-omegle-talk-to-strangers.md b/source/_posts/2011-03-26-omegle-talk-to-strangers.md
index 3876c94..f1dc76c 100644
--- a/source/_posts/2011-03-26-omegle-talk-to-strangers.md
+++ b/source/_posts/2011-03-26-omegle-talk-to-strangers.md
@@ -1,6 +1,7 @@
---
title: Omegle——Talk to strangers!和全世界的陌生人聊天
author: wahyd4
+comments: true
layout: post
permalink: /2011/03/omegle-talk-to-strangers/
categories:
@@ -33,4 +34,4 @@ tags:
> 点击进入:omegle
>
- [1]: /images/2011/03/stock-connect_conew1.jpg
\ No newline at end of file
+ [1]: /images/2011/03/stock-connect_conew1.jpg
diff --git a/source/_posts/2011-03-27-bbc-the-chinese-are-coming.md b/source/_posts/2011-03-27-bbc-the-chinese-are-coming.md
index 53b14f7..d550dcb 100644
--- a/source/_posts/2011-03-27-bbc-the-chinese-are-coming.md
+++ b/source/_posts/2011-03-27-bbc-the-chinese-are-coming.md
@@ -1,6 +1,7 @@
---
title: 《BBC 中国人要来了》(BBC The Chinese Are Coming)
author: wahyd4
+comments: true
layout: post
permalink: /2011/03/bbc-the-chinese-are-coming/
categories:
@@ -29,4 +30,4 @@ tags:
>
> 下载资源来自:
- [1]: /images/2011/03/11022510472e32b046e54ce959_conew1.jpg
\ No newline at end of file
+ [1]: /images/2011/03/11022510472e32b046e54ce959_conew1.jpg
diff --git a/source/_posts/2011-04-04-a-good-gift.md b/source/_posts/2011-04-04-a-good-gift.md
index caa43fe..03203a1 100644
--- a/source/_posts/2011-04-04-a-good-gift.md
+++ b/source/_posts/2011-04-04-a-good-gift.md
@@ -2,6 +2,7 @@
title: 一个好的礼物——希望对你有所触动
author: wahyd4
layout: post
+comments: true
permalink: /2011/04/a-good-gift/
categories:
- 视频/音乐分享
@@ -18,4 +19,4 @@ tags:
这个视频来自TED
-> 视频下载:点我下载(请使用电驴或者迅雷复制链接下载)
\ No newline at end of file
+> 视频下载:点我下载(请使用电驴或者迅雷复制链接下载)
diff --git a/source/_posts/2011-04-12-html5-css3-javascript-coverflow.md b/source/_posts/2011-04-12-html5-css3-javascript-coverflow.md
index be3d1a2..c0190c3 100644
--- a/source/_posts/2011-04-12-html5-css3-javascript-coverflow.md
+++ b/source/_posts/2011-04-12-html5-css3-javascript-coverflow.md
@@ -2,6 +2,7 @@
title: Html5+CSS 3实现Cover Flow 动画特效(支持chrome、safari浏览器)
author: wahyd4
layout: post
+comments: true
permalink: /2011/04/html5-css3-javascript-coverflow/
categories:
- 编程之美
@@ -209,4 +210,4 @@ tags:
- [1]: /images/2011/04/s_conew1.jpg
\ No newline at end of file
+ [1]: /images/2011/04/s_conew1.jpg
diff --git a/source/_posts/2011-04-12-javascript-dom-pdf.md b/source/_posts/2011-04-12-javascript-dom-pdf.md
index 798b445..8a3a294 100644
--- a/source/_posts/2011-04-12-javascript-dom-pdf.md
+++ b/source/_posts/2011-04-12-javascript-dom-pdf.md
@@ -1,6 +1,7 @@
---
title: Javascript DOM编程艺术 中文PDF下载
author: wahyd4
+comments: true
layout: post
permalink: /2011/04/javascript-dom-pdf/
categories:
@@ -64,4 +65,4 @@ tags:
>
- [1]: /images/2011/04/s1958902.jpg
\ No newline at end of file
+ [1]: /images/2011/04/s1958902.jpg
diff --git a/source/_posts/2011-05-27-announce.md b/source/_posts/2011-05-27-announce.md
index f23e46a..6a80739 100644
--- a/source/_posts/2011-05-27-announce.md
+++ b/source/_posts/2011-05-27-announce.md
@@ -1,6 +1,7 @@
---
title: 算是声明吧
author: wahyd4
+comments: true
excerpt: >
反反复复,总是觉得没有激情再把日志写下去了。但是想到自己付出快一年的心血又觉得不忍心啊!原本打算利用写博客指望赚到每一年域名和空间的费用,可是这一年下来我证明我错了,大多数人喜欢来了看一眼博客然后就走掉。
layout: post
@@ -20,4 +21,4 @@ categories:
> 希望大家支持吧:[http://wxmedia.cdu.edu.cn][1]
- [1]: http://wxmedia.cdu.edu.cn/
\ No newline at end of file
+ [1]: http://wxmedia.cdu.edu.cn/
diff --git a/source/_posts/2011-06-02-balsamiq-mockups.md b/source/_posts/2011-06-02-balsamiq-mockups.md
index bba6cd6..7542012 100644
--- a/source/_posts/2011-06-02-balsamiq-mockups.md
+++ b/source/_posts/2011-06-02-balsamiq-mockups.md
@@ -1,6 +1,7 @@
---
title: 专业的项目UI原型设计软件——Balsamiq Mockups
author: wahyd4
+comments: true
excerpt: >
前面我介绍了一款项目UI原型设计软件pencil,之前我以为那个工具已经足够使用,足够方便了,足够强大了。不过上午时候在网上偶然发现原来设计界还有这样一款更加棒的UI原型设计软件——Balsamiq
Mockups。
@@ -47,4 +48,4 @@ tags:
[1]: http://balsamiq.com
[2]: /images/2011/06/newMockup.png
- [3]: http://balsamiq.com/buy
\ No newline at end of file
+ [3]: http://balsamiq.com/buy
diff --git a/source/_posts/2011-06-02-pencil.md b/source/_posts/2011-06-02-pencil.md
index b544b31..d59a012 100644
--- a/source/_posts/2011-06-02-pencil.md
+++ b/source/_posts/2011-06-02-pencil.md
@@ -1,6 +1,7 @@
---
title: 快速设计界面原型软件pencil
author: wahyd4
+comments: true
excerpt: ' 也许你以前还用photoshop设计软件或者网站的UI界面吧,当然photoshop 的华丽和真实性其他软件所无法比拟的,但是photoshop 也有一个很大的缺点,那就是使用photoshop设计一个很完善的UI很费时间,很多时候,也许我们只想快速把脑袋里面的创意和想法初步地画出来。不需要太精确,而只需要一个大概的东西,亦或是想很快速的做出一个效果,和大家讨论。这个时候我们就可以使用这个软件了PENCIL'
layout: post
permalink: /2011/06/pencil/
@@ -25,4 +26,4 @@ tags:
[1]: /images/2011/06/xcsd.jpg
[2]: http://pencil.evolus.vn/en-US/Downloads/Application.aspx
- [3]: http://u.115.com/file/aqptf45o
\ No newline at end of file
+ [3]: http://u.115.com/file/aqptf45o
diff --git a/source/_posts/2011-06-03-tortoise-svn-checkout-google-code.md b/source/_posts/2011-06-03-tortoise-svn-checkout-google-code.md
index 7bc019e..8cdec09 100644
--- a/source/_posts/2011-06-03-tortoise-svn-checkout-google-code.md
+++ b/source/_posts/2011-06-03-tortoise-svn-checkout-google-code.md
@@ -1,6 +1,7 @@
---
title: 解决tortoise svn不能checkout Google code
author: wahyd4
+comments: true
excerpt: >
不知道各位同学使用svn吗?简单说SVN是一个代码版本管理软件,可以让不同的人更新和同步代码,并对代码进行版本管理。现在google
code 里面这么多开源项目,都是可以去用SVN checkout
@@ -34,4 +35,4 @@ tags:
[1]: http://code.google.com/p/20thingsilearned/
[2]: http://superuser.com/questions/44409/cant-checkout-source-from-google-code
- [3]: /images/2011/06/xxx.jpg
\ No newline at end of file
+ [3]: /images/2011/06/xxx.jpg
diff --git a/source/_posts/2011-06-16-android-take-photo-and-upload.md b/source/_posts/2011-06-16-android-take-photo-and-upload.md
index 965081a..ca42342 100644
--- a/source/_posts/2011-06-16-android-take-photo-and-upload.md
+++ b/source/_posts/2011-06-16-android-take-photo-and-upload.md
@@ -1,6 +1,7 @@
---
title: Android 拍照并上传图片到服务器源码
author: wahyd4
+comments: true
layout: post
permalink: /2011/06/android-take-photo-and-upload/
categories:
@@ -16,111 +17,111 @@ tags:
下面是我写的源码给大家分享一下,说明一下,这些代码是调试完成可以运行的,当然这里没有提出全部的完整代码。如果各位需要的话,给我留言吧,我会通过邮箱发给大家的。 补充servlet端源代码:Android上传图片到服务器Server端servlet源码。这里的程序没有涉及服务器端使用的Servlet代码。稍后在贴出来给大家把。
-// 选择拍照上传,获取bitmap 对象,并保存到sdcard中。
-(takePhoto = (Button) findViewById(R.id.take_photo)) .setOnClickListener(new OnClickListener() {
-@Override public void onClick(View v) {
-//启动相机
-Intent myIntent = new Intent( android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
-startActivityForResult(myIntent, ACTIVITY_IMAGE_CAPTURE);
-} });
-// 因为调用了startActivityForResult,调用相机后回执行这个方法
-@Override protected void onActivityResult(int requestCode, int resultCode, Intent data) {
-if (resultCode == RESULT_OK) {
-//获取bitmap对象
-Bundle dataBundle = data.getExtras();
-Bitmap btp = (Bitmap) dataBundle.get("data");
-data.putExtra(MediaStore.EXTRA_OUTPUT, btp);
-/ 如果Junv文件夹不存在则创建文件夹,并将bitmap图像文件保存
-dir = new File(ptoDir);
-if (!dir.exists()) { dir.mkdirs(); Log.d("创建文件夹", "。。。。。。。。。。。成功"); }
- // 为文件随机产生文件名
-File tmpFile = new File(ptoDir, picName = System.currentTimeMillis() + ".jpg");
-uploadFile = ptoDir + picName;
-try {
-// 将bitmap转为jpg文件保存
-FileOutputStream fileOut = new FileOutputStream(tmpFile);
-btp.compress(CompressFormat.JPEG, 100, fileOut);
-} catch (FileNotFoundException e) {
-//捕获异常
-Log.d("File Saving", "fail.....");
-}
-// 将照片显示到程序中
-ImageView myImage = (ImageView) findViewById(R.id.show_img);
-//设置图片大小
-btp = Bitmap.createScaledBitmap(btp, myImage.getWidth() - 10, myImage.getHeight() - 10, true);
-//将图片加载到imageView中
-myImage.setImageBitmap(btp);
-myImage.setPadding(2, 2, 2, 2); } else { return; }
-}
+// 选择拍照上传,获取bitmap 对象,并保存到sdcard中。
+(takePhoto = (Button) findViewById(R.id.take_photo)) .setOnClickListener(new OnClickListener() {
+@Override public void onClick(View v) {
+//启动相机
+Intent myIntent = new Intent( android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
+startActivityForResult(myIntent, ACTIVITY_IMAGE_CAPTURE);
+} });
+// 因为调用了startActivityForResult,调用相机后回执行这个方法
+@Override protected void onActivityResult(int requestCode, int resultCode, Intent data) {
+if (resultCode == RESULT_OK) {
+//获取bitmap对象
+Bundle dataBundle = data.getExtras();
+Bitmap btp = (Bitmap) dataBundle.get("data");
+data.putExtra(MediaStore.EXTRA_OUTPUT, btp);
+/ 如果Junv文件夹不存在则创建文件夹,并将bitmap图像文件保存
+dir = new File(ptoDir);
+if (!dir.exists()) { dir.mkdirs(); Log.d("创建文件夹", "。。。。。。。。。。。成功"); }
+ // 为文件随机产生文件名
+File tmpFile = new File(ptoDir, picName = System.currentTimeMillis() + ".jpg");
+uploadFile = ptoDir + picName;
+try {
+// 将bitmap转为jpg文件保存
+FileOutputStream fileOut = new FileOutputStream(tmpFile);
+btp.compress(CompressFormat.JPEG, 100, fileOut);
+} catch (FileNotFoundException e) {
+//捕获异常
+Log.d("File Saving", "fail.....");
+}
+// 将照片显示到程序中
+ImageView myImage = (ImageView) findViewById(R.id.show_img);
+//设置图片大小
+btp = Bitmap.createScaledBitmap(btp, myImage.getWidth() - 10, myImage.getHeight() - 10, true);
+//将图片加载到imageView中
+myImage.setImageBitmap(btp);
+myImage.setPadding(2, 2, 2, 2); } else { return; }
+}
执行完这个方法,我们通过bitmap对象将拍照所得已经显示在程序里面了,然后之所以将其保存为文件,是为了上传的方便。
然后下面是一个上传的图片的方法,大概就是将图片构建成流发送到是、服务器端,这个代码是使用的网上一个前辈的代码,这里不知道他的地址了,但是还是说明一下吧,并表示感谢。
-//上传文件至Server的方法
-private void uploadFile(Bitmap btp) {
- String end = "rn";
- String twoHyphens = "--";
-String boundary = "*****";
-try {
-URL url = new URL(actionUrl);
-HttpURLConnection con = (HttpURLConnection)
-url.openConnection();
-//允许Input、Output,不使用Cache
-con.setDoInput(true);
-con.setDoOutput(true);
-con.setUseCaches(false);
-//设置传送的method=POST
-con.setRequestMethod("POST");
-//setRequestProperty
-con.setRequestProperty("Connection", "Keep-Alive");
-con.setRequestProperty("Charset", "UTF-8");
-con.setRequestProperty("Content-Type", "multipart/form-data;boundary=" + boundary);
-// 设置DataOutputStream
-DataOutputStream ds = new DataOutputStream(con.getOutputStream());
-ds.writeBytes(twoHyphens + boundary + end);
-ds.writeBytes("Content-Disposition: form-data; " + "name="file1";
-filename="" + picName + """ + end);
-ds.writeBytes(end);
-//取得文件的FileInputStream
-FileInputStream fStream = new FileInputStream(uploadFile);
-// 设置每次写入1024bytes
-int bufferSize = 1024;
- byte[] buffer = new byte[bufferSize];
-int length = -1;
-// 从文件读取数据至缓冲区
-while ((length = fStream.read(buffer)) != -1)
-{
- // 将资料写入DataOutputStream中
-ds.write(buffer, 0, length);
- }
-ds.writeBytes(end);
-ds.writeBytes(twoHyphens + boundary + twoHyphens + end);
-//close streams
-fStream.close();
-ds.flush();
-// 取得Response内容
-InputStream is = con.getInputStream();
-int ch;
-StringBuffer b = new StringBuffer();
- while ((ch = is.read()) != -1) {
- b.append((char) ch); }
-// 将Response显示于Dialog
-showDialog("上传成功" + b.toString().trim());
-// 关闭DataOutputStream
-ds.close();
- } catch (Exception e) {
-showDialog("上传失败" + e);
- } }
-// 显示Dialog的method
-private void showDialog(String mess)
-{
-new AlertDialog.Builder(this).setTitle("Message").setMessage(mess) .setNegativeButton("确定", new DialogInterface.OnClickListener() {
- public void onClick(DialogInterface dialog, int which) { } }).show();
- }
+//上传文件至Server的方法
+private void uploadFile(Bitmap btp) {
+ String end = "rn";
+ String twoHyphens = "--";
+String boundary = "*****";
+try {
+URL url = new URL(actionUrl);
+HttpURLConnection con = (HttpURLConnection)
+url.openConnection();
+//允许Input、Output,不使用Cache
+con.setDoInput(true);
+con.setDoOutput(true);
+con.setUseCaches(false);
+//设置传送的method=POST
+con.setRequestMethod("POST");
+//setRequestProperty
+con.setRequestProperty("Connection", "Keep-Alive");
+con.setRequestProperty("Charset", "UTF-8");
+con.setRequestProperty("Content-Type", "multipart/form-data;boundary=" + boundary);
+// 设置DataOutputStream
+DataOutputStream ds = new DataOutputStream(con.getOutputStream());
+ds.writeBytes(twoHyphens + boundary + end);
+ds.writeBytes("Content-Disposition: form-data; " + "name="file1";
+filename="" + picName + """ + end);
+ds.writeBytes(end);
+//取得文件的FileInputStream
+FileInputStream fStream = new FileInputStream(uploadFile);
+// 设置每次写入1024bytes
+int bufferSize = 1024;
+ byte[] buffer = new byte[bufferSize];
+int length = -1;
+// 从文件读取数据至缓冲区
+while ((length = fStream.read(buffer)) != -1)
+{
+ // 将资料写入DataOutputStream中
+ds.write(buffer, 0, length);
+ }
+ds.writeBytes(end);
+ds.writeBytes(twoHyphens + boundary + twoHyphens + end);
+//close streams
+fStream.close();
+ds.flush();
+// 取得Response内容
+InputStream is = con.getInputStream();
+int ch;
+StringBuffer b = new StringBuffer();
+ while ((ch = is.read()) != -1) {
+ b.append((char) ch); }
+// 将Response显示于Dialog
+showDialog("上传成功" + b.toString().trim());
+// 关闭DataOutputStream
+ds.close();
+ } catch (Exception e) {
+showDialog("上传失败" + e);
+ } }
+// 显示Dialog的method
+private void showDialog(String mess)
+{
+new AlertDialog.Builder(this).setTitle("Message").setMessage(mess) .setNegativeButton("确定", new DialogInterface.OnClickListener() {
+ public void onClick(DialogInterface dialog, int which) { } }).show();
+ }
请看我们的第一篇文章:Android上传图片到服务器Server端servlet源码。
-> android端和web 端源码下载:http://115.com/file/bevc7e16#uploadsome.rar
\ No newline at end of file
+> android端和web 端源码下载:http://115.com/file/bevc7e16#uploadsome.rar
diff --git a/source/_posts/2011-06-24-android-upload-image-to-server.md b/source/_posts/2011-06-24-android-upload-image-to-server.md
index 15360d2..5a9ce65 100644
--- a/source/_posts/2011-06-24-android-upload-image-to-server.md
+++ b/source/_posts/2011-06-24-android-upload-image-to-server.md
@@ -1,6 +1,7 @@
---
title: Android上传图片到服务器Server端servlet源码
author: wahyd4
+comments: true
layout: post
permalink: /2011/06/android-upload-image-to-server/
categories:
@@ -31,93 +32,93 @@ tags:
>
>
-
-package info.junv;
-import java.io.File;
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.util.Date;
-import java.util.Iterator;
-import java.util.List;
-
-import javax.servlet.ServletException;
-import javax.servlet.annotation.WebServlet;
-import javax.servlet.http.HttpServlet;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-
-import org.apache.commons.fileupload.FileItem;
-import org.apache.commons.fileupload.FileItemFactory;
-import org.apache.commons.fileupload.disk.DiskFileItemFactory;
-import org.apache.commons.fileupload.servlet.ServletFileUpload;
-
-@WebServlet("/HandleUpload")
-public class HandleUpload extends HttpServlet {
- private static final long serialVersionUID = 1L;
-
- public void doPost(HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
-
- File temp = new File(request.getSession().getServletContext().getRealPath("/")
- + "temp");// 临时目录
- System.out.println("临时目录为=" + temp);
- String loadpath = request.getSession().getServletContext()
- .getRealPath("/")
- + "image"; // 上传文件存放目录
-
- System.out.println("文件保存目录为=" + loadpath);
-
- DiskFileItemFactory factory = new DiskFileItemFactory();
-
- factory.setSizeThreshold(1024*1024); //设置最大可以存到内存值
- factory.setRepository(temp); //设置缓存文件夹
-
- ServletFileUpload fu = new ServletFileUpload(factory);
-
- fu.setSizeMax(1024 * 1024 * 1024); // 设置允许用户上传文件大小,单位:字节
-
- System.out.println("开始上传。。。。。。。。。。。。");
- // 开始读取上传信息
- int index = 0;
- List fileItems = null;
-
- try {
- fileItems = fu.parseRequest(request);
-
- } catch (Exception e) {
- System.out.println("获取相关信息。。。。。。。。。。。。失败");
- }
-
- Iterator iter = fileItems.iterator(); // 依次处理每个上传的文件
- while (iter.hasNext()) {
-
- FileItem item = (FileItem) iter.next();// 忽略其他不是文件域的所有表单信息
- if (!item.isFormField()) {
-
- String name = item.getName();
- System.out.println("FileName===="+name);
-
- File fNew = new File(loadpath, name);
-
- try {
-
- item.write(fNew);
- System.out.println("..........Uploaded Successed");
- } catch (Exception e) {
- System.out.println("An Error occured!");
- e.printStackTrace();
- }
-
- } else // 取出不是文件域的所有表单信息
- {
- String fieldvalue = item.getString();
-
- }
- }
-
- }
-
-}
+
+package info.junv;
+import java.io.File;
+import java.io.IOException;
+import java.io.PrintWriter;
+import java.util.Date;
+import java.util.Iterator;
+import java.util.List;
+
+import javax.servlet.ServletException;
+import javax.servlet.annotation.WebServlet;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.apache.commons.fileupload.FileItem;
+import org.apache.commons.fileupload.FileItemFactory;
+import org.apache.commons.fileupload.disk.DiskFileItemFactory;
+import org.apache.commons.fileupload.servlet.ServletFileUpload;
+
+@WebServlet("/HandleUpload")
+public class HandleUpload extends HttpServlet {
+ private static final long serialVersionUID = 1L;
+
+ public void doPost(HttpServletRequest request, HttpServletResponse response)
+ throws ServletException, IOException {
+
+ File temp = new File(request.getSession().getServletContext().getRealPath("/")
+ + "temp");// 临时目录
+ System.out.println("临时目录为=" + temp);
+ String loadpath = request.getSession().getServletContext()
+ .getRealPath("/")
+ + "image"; // 上传文件存放目录
+
+ System.out.println("文件保存目录为=" + loadpath);
+
+ DiskFileItemFactory factory = new DiskFileItemFactory();
+
+ factory.setSizeThreshold(1024*1024); //设置最大可以存到内存值
+ factory.setRepository(temp); //设置缓存文件夹
+
+ ServletFileUpload fu = new ServletFileUpload(factory);
+
+ fu.setSizeMax(1024 * 1024 * 1024); // 设置允许用户上传文件大小,单位:字节
+
+ System.out.println("开始上传。。。。。。。。。。。。");
+ // 开始读取上传信息
+ int index = 0;
+ List fileItems = null;
+
+ try {
+ fileItems = fu.parseRequest(request);
+
+ } catch (Exception e) {
+ System.out.println("获取相关信息。。。。。。。。。。。。失败");
+ }
+
+ Iterator iter = fileItems.iterator(); // 依次处理每个上传的文件
+ while (iter.hasNext()) {
+
+ FileItem item = (FileItem) iter.next();// 忽略其他不是文件域的所有表单信息
+ if (!item.isFormField()) {
+
+ String name = item.getName();
+ System.out.println("FileName===="+name);
+
+ File fNew = new File(loadpath, name);
+
+ try {
+
+ item.write(fNew);
+ System.out.println("..........Uploaded Successed");
+ } catch (Exception e) {
+ System.out.println("An Error occured!");
+ e.printStackTrace();
+ }
+
+ } else // 取出不是文件域的所有表单信息
+ {
+ String fieldvalue = item.getString();
+
+ }
+ }
+
+ }
+
+}
>
@@ -132,4 +133,4 @@ public class HandleUpload extends HttpServlet {
>
> android端源码和web 端源码:http://115.com/file/bevc7e16#uploadsome.rar
>
->
\ No newline at end of file
+>
diff --git a/source/_posts/2011-07-06-tomcat-db-connection-pool-sql-server.md b/source/_posts/2011-07-06-tomcat-db-connection-pool-sql-server.md
index 33fde0a..59689e8 100644
--- a/source/_posts/2011-07-06-tomcat-db-connection-pool-sql-server.md
+++ b/source/_posts/2011-07-06-tomcat-db-connection-pool-sql-server.md
@@ -1,6 +1,7 @@
---
title: tomcat 7配置数据库连接池,使用SQL Server2005实现
author: wahyd4
+comments: true
excerpt: >
昨天看了一些网上的tomcat数据库连接池配置的东西,但是一直没配好,主要原因是网上的文章几乎没有争对tomcat
7进行配置的,而且针对SQL
@@ -106,4 +107,4 @@ public class TestPool extends HttpServlet {
“jdbc/SYSDEMO” 的sysdemo改为你前面使用的数据库的名称即可。
-好了。大功告成。
\ No newline at end of file
+好了。大功告成。
diff --git a/source/_posts/2011-09-26-move-to-sina.md b/source/_posts/2011-09-26-move-to-sina.md
index da24297..1fd18bd 100644
--- a/source/_posts/2011-09-26-move-to-sina.md
+++ b/source/_posts/2011-09-26-move-to-sina.md
@@ -1,6 +1,7 @@
---
title: 搬到新浪,初衷很无耐
author: wahyd4
+comments: true
layout: post
permalink: /2011/09/move-to-sina/
categories:
@@ -24,4 +25,4 @@ tags:
争取今天或者明天写一篇新的博客吧!
- [1]: http://junv-wordpress.stor.sinaapp.com/uploads/2011/09/69BBKQGI39GD0005_conew1.jpg
\ No newline at end of file
+ [1]: http://junv-wordpress.stor.sinaapp.com/uploads/2011/09/69BBKQGI39GD0005_conew1.jpg
diff --git a/source/_posts/2011-09-27-i-think-of-passion.md b/source/_posts/2011-09-27-i-think-of-passion.md
index 4fd7eea..27b8459 100644
--- a/source/_posts/2011-09-27-i-think-of-passion.md
+++ b/source/_posts/2011-09-27-i-think-of-passion.md
@@ -1,6 +1,7 @@
---
title: 积极性之我见
author: wahyd4
+comments: true
layout: post
permalink: /2011/09/i-think-of-passion/
categories:
@@ -12,4 +13,4 @@ categories:
我希望他们对每一项新的任务都已积极的心态来对待,其实每一种技能都是你的本钱,我现在体会得越来越深了。开发一个软件,不仅仅是代码、代码虽然重要,但是如果没有软件工程、没有市场营销、没有良好的用户体验设计,其实这个软件根本不能用,即使你的代码写的再好、即使你的算法再优良。以积极的心态去面对每一项任务,把他们当做一个个新的挑战去完成,虽然过程中你可能会很累、很迷茫、很沮丧,但是坚持到最后,你才发现你学到了很多东西,不仅仅是编写代码。
-积极、乐观的态度,还可以给你的老师、你的上司留下好的印象。最重要的是积极这种生活态度很好!说不出的好。
\ No newline at end of file
+积极、乐观的态度,还可以给你的老师、你的上司留下好的印象。最重要的是积极这种生活态度很好!说不出的好。
diff --git a/source/_posts/2011-09-28-finally-give-upandroid-choose-java-web.md b/source/_posts/2011-09-28-finally-give-upandroid-choose-java-web.md
index 772b4fd..0b15454 100644
--- a/source/_posts/2011-09-28-finally-give-upandroid-choose-java-web.md
+++ b/source/_posts/2011-09-28-finally-give-upandroid-choose-java-web.md
@@ -1,6 +1,7 @@
---
title: 我最终还是放弃了android选择了Java web
author: wahyd4
+comments: true
layout: post
permalink: /2011/09/finally-give-upandroid-choose-java-web/
categories:
@@ -14,4 +15,4 @@ categories:
从现在开始,我就搞Java EE了!
-加油!
\ No newline at end of file
+加油!
diff --git a/source/_posts/2011-10-08-got-17-50mm-f2-8.md b/source/_posts/2011-10-08-got-17-50mm-f2-8.md
index a187ccc..343b634 100644
--- a/source/_posts/2011-10-08-got-17-50mm-f2-8.md
+++ b/source/_posts/2011-10-08-got-17-50mm-f2-8.md
@@ -1,6 +1,7 @@
---
title: 入手腾龙17-50mm,F2.8
author: wahyd4
+comments: true
layout: post
permalink: /2011/10/got-17-50mm-f2-8/
categories:
@@ -18,4 +19,4 @@ tags:
[
][1]
- [1]: http://junv-wordpress.stor.sinaapp.com/uploads/2011/10/psu.jpg
\ No newline at end of file
+ [1]: http://junv-wordpress.stor.sinaapp.com/uploads/2011/10/psu.jpg
diff --git a/source/_posts/2011-10-09-eclipse-auto-complited.md b/source/_posts/2011-10-09-eclipse-auto-complited.md
index b413de1..4709f96 100644
--- a/source/_posts/2011-10-09-eclipse-auto-complited.md
+++ b/source/_posts/2011-10-09-eclipse-auto-complited.md
@@ -1,6 +1,7 @@
---
title: Eclipse 自动补全、联想设置
author: wahyd4
+comments: true
layout: post
permalink: /2011/10/eclipse-auto-complited/
categories:
@@ -19,4 +20,4 @@ tags:
[
][1]
- [1]: http://junv-wordpress.stor.sinaapp.com/uploads/2011/10/Eclipse_content_assist.png
\ No newline at end of file
+ [1]: http://junv-wordpress.stor.sinaapp.com/uploads/2011/10/Eclipse_content_assist.png
diff --git a/source/_posts/2011-10-12-money-is-dirty.md b/source/_posts/2011-10-12-money-is-dirty.md
index 95258f5..1af368a 100644
--- a/source/_posts/2011-10-12-money-is-dirty.md
+++ b/source/_posts/2011-10-12-money-is-dirty.md
@@ -1,6 +1,7 @@
---
title: 钱让很多小人原形毕露
author: wahyd4
+comments: true
layout: post
permalink: /2011/10/money-is-dirty/
categories:
@@ -18,4 +19,4 @@ categories:
一个奖学金也是,得奖的人都是妈的一群水货,什么都不会,就是会考试、会讨好老师、会拍马屁、会装疯卖傻!
-你们就潇洒吧!我又一次明白了,千里之堤,溃于蚁穴!
\ No newline at end of file
+你们就潇洒吧!我又一次明白了,千里之堤,溃于蚁穴!
diff --git a/source/_posts/2011-10-15-struts2-i18n.md b/source/_posts/2011-10-15-struts2-i18n.md
index d153da6..3f43e0d 100644
--- a/source/_posts/2011-10-15-struts2-i18n.md
+++ b/source/_posts/2011-10-15-struts2-i18n.md
@@ -1,6 +1,7 @@
---
title: Struts2 国际化使用、实现
author: wahyd4
+comments: true
layout: post
permalink: /2011/10/struts2-i18n/
categories:
@@ -68,4 +69,4 @@ struts2的命名规则是 “自定义名\_语言\_国别(英文字母为大写)
-
\ No newline at end of file
+
diff --git a/source/_posts/2011-10-19-notepad-settings.md b/source/_posts/2011-10-19-notepad-settings.md
index cb24613..eff3b9b 100644
--- a/source/_posts/2011-10-19-notepad-settings.md
+++ b/source/_posts/2011-10-19-notepad-settings.md
@@ -1,6 +1,7 @@
---
title: Notepad++ 设置、插件配置
author: wahyd4
+comments: true
layout: post
permalink: /2011/10/notepad-settings/
categories:
@@ -70,4 +71,4 @@ tags:
我也是今天才发现notepad的这些功能,希望可以和大家一起交流、讨论。
-
\ No newline at end of file
+
diff --git a/source/_posts/2011-10-23-solve-npm-js-cant-install-node-js.md b/source/_posts/2011-10-23-solve-npm-js-cant-install-node-js.md
index e3ec477..5dd44d3 100644
--- a/source/_posts/2011-10-23-solve-npm-js-cant-install-node-js.md
+++ b/source/_posts/2011-10-23-solve-npm-js-cant-install-node-js.md
@@ -1,6 +1,7 @@
---
title: 解决npm.js不能成功安装Node.js包
author: wahyd4
+comments: true
layout: post
permalink: /2011/10/solve-npm-js-cant-install-node-js/
categories:
@@ -59,4 +60,4 @@ tags:
总结:造成npmjs.org的速度很慢的原因我始终不太清楚。我想npmjs.org的网络应该比npmfjs.org好很多才对。怎么会反过来了。以前我在有人抱怨过说内地使用 npm安装包很难。但是我不知道这是个别现象还是大家都是这个样子。难道G\*F\*W故意把 registry.npmjs.org和谐了?哎,不管了,大家使用我这个方法来吧。欢迎各位留言
- [1]: /images/2011/10/3.jpg
\ No newline at end of file
+ [1]: /images/2011/10/3.jpg
diff --git a/source/_posts/2011-10-25-node-js-connect-mysql.md b/source/_posts/2011-10-25-node-js-connect-mysql.md
index d6d4d49..a8d3952 100644
--- a/source/_posts/2011-10-25-node-js-connect-mysql.md
+++ b/source/_posts/2011-10-25-node-js-connect-mysql.md
@@ -1,6 +1,7 @@
---
title: 使用node.js连接mysql数据库
author: wahyd4
+comments: true
layout: post
permalink: /2011/10/node-js-connect-mysql/
categories:
@@ -57,4 +58,4 @@ client.database = 'node';
将系统默认的host=localhost改成127.0.0.1即可。具体原因不明。
-是不是很简单呢?接下来我会写关于express 和jade的博客了。一边学习一边写博客。哈哈。
\ No newline at end of file
+是不是很简单呢?接下来我会写关于express 和jade的博客了。一边学习一边写博客。哈哈。
diff --git a/source/_posts/2011-10-26-node-js-send-e-mail.md b/source/_posts/2011-10-26-node-js-send-e-mail.md
index 5e7890a..6745e13 100644
--- a/source/_posts/2011-10-26-node-js-send-e-mail.md
+++ b/source/_posts/2011-10-26-node-js-send-e-mail.md
@@ -1,6 +1,7 @@
---
title: 使用Node.js发送电子邮件(E-mail)
author: wahyd4
+comments: true
layout: post
permalink: /2011/10/node-js-send-e-mail/
categories:
@@ -24,30 +25,30 @@ tags:
接下来我们就开始写代码,其实很简单,官方网站也都已经说得很清楚了。
-var mail = require('nodemailer'); //包含发送邮件所需module
-mail.SMTP = {
- use_authentication: true, //如果我们使用QQ等邮箱,这个必须写且为true
- host: 'smtp.qq.com', //定义用来发送邮件的邮箱服务器,一般是QQ这些的
- port:25, //定义服务器端口,一般是25 ,如果是使用SSL端口一般为465,或者587
- ssl:false, //默认不适用SSL,可以省略不写
- user: 'wahyd4@qq.com', //邮箱用户名
- pass:'*****' //输入邮箱密码
-}
-mail.send_mail(
-{
- sender:'wahyd4@qq.com', //发送邮件的地址
- to:'wahyd4@gmail.com', //发给谁
- subject:'随便把', //主题
- body:'Hello,这个邮件来自node.js'
-},
-//回调函数,用户判断发送是否成功,如果失败,输出失败原因。
-function(error,success){
- if(!error){
- console.log('message success');
- }else{
- console.log('failed'+error);
- }
-}
+var mail = require('nodemailer'); //包含发送邮件所需module
+mail.SMTP = {
+ use_authentication: true, //如果我们使用QQ等邮箱,这个必须写且为true
+ host: 'smtp.qq.com', //定义用来发送邮件的邮箱服务器,一般是QQ这些的
+ port:25, //定义服务器端口,一般是25 ,如果是使用SSL端口一般为465,或者587
+ ssl:false, //默认不适用SSL,可以省略不写
+ user: 'wahyd4@qq.com', //邮箱用户名
+ pass:'*****' //输入邮箱密码
+}
+mail.send_mail(
+{
+ sender:'wahyd4@qq.com', //发送邮件的地址
+ to:'wahyd4@gmail.com', //发给谁
+ subject:'随便把', //主题
+ body:'Hello,这个邮件来自node.js'
+},
+//回调函数,用户判断发送是否成功,如果失败,输出失败原因。
+function(error,success){
+ if(!error){
+ console.log('message success');
+ }else{
+ console.log('failed'+error);
+ }
+}
);
这里我没有使用SSL进行发送,而且发送的是纯文本,也可以发送html,如果发送html则在send_mail函数里面加上:
@@ -56,14 +57,14 @@ function(error,success){
如果使用SSL进行发送我们则需要将mail.SMTP改为:
-mail.SMTP = {
- use_authentication: true, //如果我们使用QQ等邮箱,这个必须写且为true
- host: 'smtp.qq.com', //定义用来发送邮件的邮箱服务器,一般是QQ这些的
- port:465, //定义服务器端口,一般是25 ,如果是使用SSL端口一般为465
- ssl:true, //默认不适用SSL,可以省略不写
- user: 'wahyd4@qq.com', //邮箱用户名
- pass:'*****' //输入邮箱密码
-}
+mail.SMTP = {
+ use_authentication: true, //如果我们使用QQ等邮箱,这个必须写且为true
+ host: 'smtp.qq.com', //定义用来发送邮件的邮箱服务器,一般是QQ这些的
+ port:465, //定义服务器端口,一般是25 ,如果是使用SSL端口一般为465
+ ssl:true, //默认不适用SSL,可以省略不写
+ user: 'wahyd4@qq.com', //邮箱用户名
+ pass:'*****' //输入邮箱密码
+}
好了。现在你运行程序试试,是不是成功了。
@@ -78,26 +79,26 @@ function(error,success){
饭后我们将文件读入内存,并将其发送。
-//读入文件
-var img = fs.readFileSync(__dirname+"/cat.jpg");
-
-var attachment = [{
- 'filename': "cat.jpg", //这里只是给附件取名称,而不是导入文件内容
- 'contents': img //导入文件
-}] //定义我们需要发送的附件
+//读入文件
+var img = fs.readFileSync(__dirname+"/cat.jpg");
+
+var attachment = [{
+ 'filename': "cat.jpg", //这里只是给附件取名称,而不是导入文件内容
+ 'contents': img //导入文件
+}] //定义我们需要发送的附件
接下来我们需要在send_mail函数中加入发送附件即可
-mail.send_mail(
-{
- sender:'wahyd4@qq.com', //发送邮件的地址
- to:'wahyd4@gmail.com', //发给谁
- subject:'测试发送文件', //主题
- attachments: attachment, //添加附件
- body:'Hello,这个邮件来自node.js,包含附件哦,亲!'
-
-},
+mail.send_mail(
+{
+ sender:'wahyd4@qq.com', //发送邮件的地址
+ to:'wahyd4@gmail.com', //发给谁
+ subject:'测试发送文件', //主题
+ attachments: attachment, //添加附件
+ body:'Hello,这个邮件来自node.js,包含附件哦,亲!'
+
+},
附上Nodemailer的网址:http://www.nodemailer.org/
@@ -106,4 +107,4 @@ enjoy it!
最后还是感谢 [andris9][1] 大叔很快帮我解决了问题!
- [1]: https://github.com/andris9
\ No newline at end of file
+ [1]: https://github.com/andris9
diff --git a/source/_posts/2011-10-29-node-js-web-express.md b/source/_posts/2011-10-29-node-js-web-express.md
index 53ee25a..53dcd80 100644
--- a/source/_posts/2011-10-29-node-js-web-express.md
+++ b/source/_posts/2011-10-29-node-js-web-express.md
@@ -1,6 +1,7 @@
---
title: Node.js web框架express入门(1)
author: wahyd4
+comments: true
layout: post
permalink: /2011/10/node-js-web-express/
categories:
@@ -48,4 +49,4 @@ tags:
试试看看吧。成功了吧!
-对不起,写着写着觉得很别扭。今天就写到这里吧。下次在继续吧。
\ No newline at end of file
+对不起,写着写着觉得很别扭。今天就写到这里吧。下次在继续吧。
diff --git a/source/_posts/2011-11-01-node-jade-express-mysql-simplelogin.md b/source/_posts/2011-11-01-node-jade-express-mysql-simplelogin.md
index df35885..e7cf449 100644
--- a/source/_posts/2011-11-01-node-jade-express-mysql-simplelogin.md
+++ b/source/_posts/2011-11-01-node-jade-express-mysql-simplelogin.md
@@ -1,6 +1,7 @@
---
title: node、express、mysql、jade实现用户登录数据获取及验证
author: wahyd4
+comments: true
layout: post
permalink: /2011/11/node-jade-express-mysql-simplelogin/
categories:
@@ -27,41 +28,41 @@ tags:
接下来,我们将建立数据库:
-create database receipts; #创建数据库
-
-#创建名为user的表
-<pre style="padding-left: 30px;">use receipts;
-create table user (
- userid bigint auto_increment not null primary key,
- username varchar(20) not null,
- pass varchar(30) not null
-);
+create database receipts; #创建数据库
+
+#创建名为user的表
+<pre style="padding-left: 30px;">use receipts;
+create table user (
+ userid bigint auto_increment not null primary key,
+ username varchar(20) not null,
+ pass varchar(30) not null
+);
然后我们来书写我们所需要的login.jade。这里使用jade,我们需要创建一个简单的layout.jade(模板),在layout模板中我们将定义最基本的网页框架。设定大多数网页相同的部分。这里关于jade的语法我就不多讲了,jade的官网上很详细,直接给出layout的代码:
-!!! 5
-html
- head
- <span style="color: #ff0000;"> title=title</span>
- <span style="color: #ff0000;"> link(rel='stylesheet',type='text/css',href='/css/style.css')</span>
- body!=body
+!!! 5
+html
+ head
+ <span style="color: #ff0000;"> title=title</span>
+ <span style="color: #ff0000;"> link(rel='stylesheet',type='text/css',href='/css/style.css')</span>
+ body!=body
注意,由于jade会对我们所写的代码进行重新编码,编码成linux的相关格式,这里建议大家使用类似notepad++、ultra editor等软件时将其编码为UTF-8 无DOM格式,并且请不要在文件中同时使用空格和Tab对文件分隔,会导致报错。这里强调一下比如上述 title=title,这里是把网页的标题赋值给一个变量叫做title,之后我们声明并赋值title。link后面不能添加空格。类似的也一样。
下面是我们的登录界面login.jade,代码如下:
-form(id='login',method='post',action='/login')
- h1 Log In
- p(style='margin-top:20px;') #{error}
- fieldset(id='inputs')
- input(id='username',name='username',type='text',placeholder='Username',autofocus='',required='')
- input(id='password',name='password',type='password',placeholder='Passowrd',required='')
- fieldset(id='actions')
- input(type='submit',id='submit',value='Log in')
- a(href='') Forgot your password
- a(href='http://google.com') Register
+form(id='login',method='post',action='/login')
+ h1 Log In
+ p(style='margin-top:20px;') #{error}
+ fieldset(id='inputs')
+ input(id='username',name='username',type='text',placeholder='Username',autofocus='',required='')
+ input(id='password',name='password',type='password',placeholder='Passowrd',required='')
+ fieldset(id='actions')
+ input(type='submit',id='submit',value='Log in')
+ a(href='') Forgot your password
+ a(href='http://google.com') Register
大致是定义一个完整的表单。并且定义一个显示提示错误信息的地方。当然还有最重要的css代码。我将在后面提供源码给大家下载。
@@ -71,16 +72,16 @@ home.jade和index.jade这个程序里面我们用不到,因此内容可以不
//首先添加配置信息
-app.set('view engine','jade'); //设置模板引擎
-app.set('views',__dirname+'/views'); //配置jade文件夹
-app.use(express.static(__dirname+'/public')); //设置静态文件文件夹,比如css,js,/images
-<span style="color: #ff0000;">app.use(express.bodyParser()); //用户获取form表单数据</span>
-app.use(express.methodOverride());
-
-//设置首页。
-app.get('/',function(req,res){
- res.render('index',{title:'欢迎使用收据管理系统',error:''});
-});
+app.set('view engine','jade'); //设置模板引擎
+app.set('views',__dirname+'/views'); //配置jade文件夹
+app.use(express.static(__dirname+'/public')); //设置静态文件文件夹,比如css,js,/images
+<span style="color: #ff0000;">app.use(express.bodyParser()); //用户获取form表单数据</span>
+app.use(express.methodOverride());
+
+//设置首页。
+app.get('/',function(req,res){
+ res.render('index',{title:'欢迎使用收据管理系统',error:''});
+});
在编写登录验证登录路由之前,我们需要明确这里我们需要处理那些事:
@@ -95,37 +96,37 @@ var user = req.body.username; //这样便可以获取到form表单中 name=”
创建mysql数据库连接。这里我们将做一个小小的封装。将封装的函数写入 user.js
-//连接mysql服务器
-function connectServer(){
- //创建mysql连接,设置用户名,密码
- var client = mysql.createClient({
- user:'root',
- password :'root'
- });
- client.host= '127.0.0.1';
- client.port=3306;
- <span style="color: #ff0000;">client.database='receipts'; //选择需要使用的数据库,创建数据库时不必须,其他时候必须</span>
- return client; //返回创建好的数据库连接对象
-}
+//连接mysql服务器
+function connectServer(){
+ //创建mysql连接,设置用户名,密码
+ var client = mysql.createClient({
+ user:'root',
+ password :'root'
+ });
+ client.host= '127.0.0.1';
+ client.port=3306;
+ <span style="color: #ff0000;">client.database='receipts'; //选择需要使用的数据库,创建数据库时不必须,其他时候必须</span>
+ return client; //返回创建好的数据库连接对象
+}
//接下来我们将从数据库获取数据,同样我们也做一个封装。因为要执行数据库操作。因此我们需要传入一个数据库连接对象client,并且传入用户名,以便查出该用户对应的密码。再则我们需要创建一个回调函数以便于,在获取到数据库中的值后,做出相关判断。按照常规长发很难获取值。应该闭包可以。(这个回调函数得感谢一个群里的大牛。),代码如下。
-//执行mysql查询操作。返回查询获取到的对象
- function selectFun(client,username,callback){
- //client为一个mysql连接对象
- client.query('select pass from user where username="'+username+'"',function(err,results,fields){
- if(err) throw err;
-
- callback(results); //在获取结果之后由回调函数进行相关操作
- });
-}
+//执行mysql查询操作。返回查询获取到的对象
+ function selectFun(client,username,callback){
+ //client为一个mysql连接对象
+ client.query('select pass from user where username="'+username+'"',function(err,results,fields){
+ if(err) throw err;
+
+ callback(results); //在获取结果之后由回调函数进行相关操作
+ });
+}
-我们将关于数据库的两个函数,写在user.js里面。因此这里我们需要导出这两个函数,使用exports关键字,以便在其他地方可以使用。
-
-exports.connect = connectServer;
-exports.selectFun = selectFun; //注意没有函数的()哦。</pre>
+我们将关于数据库的两个函数,写在user.js里面。因此这里我们需要导出这两个函数,使用exports关键字,以便在其他地方可以使用。
+
+exports.connect = connectServer;
+exports.selectFun = selectFun; //注意没有函数的()哦。</pre>
@@ -141,29 +142,29 @@ exports.selectFun = selectFun; //注意没有函数的()哦。</pre&g
var usr = require('./dao/user');
-然后就可以使用了。
-
-app.post('/login',function(req,res){
- var user = req.body.username,
- pass = req.body.password,
- client = usr.connect(), //创建数据库连接
- result = null;
- //这里在回调函数里面进行mysql返回值的验证。很重要
- <span style="color: #ff0000;">usr.selectFun(client,req.body.username,function(result){</span>
- console.log('查询结果为'+result);
-
- if(result[0]===undefined){ //这里需要说明的是,mysql返回结果存在一个数组对象中。
- res.send('没有该用户!');
- }else{
- <span style="color: #ff0000;">if(result[0].pass==req.body.password){</span>
- res.send('登录成功');
- }else{
- res.send('你输入的密码有误');</pre>
- });
- }
- }
- }); //执行查询
-});
+然后就可以使用了。
+
+app.post('/login',function(req,res){
+ var user = req.body.username,
+ pass = req.body.password,
+ client = usr.connect(), //创建数据库连接
+ result = null;
+ //这里在回调函数里面进行mysql返回值的验证。很重要
+ <span style="color: #ff0000;">usr.selectFun(client,req.body.username,function(result){</span>
+ console.log('查询结果为'+result);
+
+ if(result[0]===undefined){ //这里需要说明的是,mysql返回结果存在一个数组对象中。
+ res.send('没有该用户!');
+ }else{
+ <span style="color: #ff0000;">if(result[0].pass==req.body.password){</span>
+ res.send('登录成功');
+ }else{
+ res.send('你输入的密码有误');</pre>
+ });
+ }
+ }
+ }); //执行查询
+});
@@ -179,4 +180,4 @@ app.post('/login',function(req,res){
有什么问题,我们一起交流一起学习吧。
[1]: /images/2011/11/1.jpg
- [2]: /images/2011/11/2.jpg
\ No newline at end of file
+ [2]: /images/2011/11/2.jpg
diff --git a/source/_posts/2011-11-26-solve-hibernate-8-actions.md b/source/_posts/2011-11-26-solve-hibernate-8-actions.md
index 4515b3c..42c66ee 100644
--- a/source/_posts/2011-11-26-solve-hibernate-8-actions.md
+++ b/source/_posts/2011-11-26-solve-hibernate-8-actions.md
@@ -1,6 +1,7 @@
---
title: 解决Hibernate只执行8次数据库操作
author: wahyd4
+comments: true
layout: post
permalink: /2011/11/solve-hibernate-8-actions/
categories:
@@ -18,4 +19,4 @@ tags:
session.close();
-好了,再试试,已经搞定了!
\ No newline at end of file
+好了,再试试,已经搞定了!
diff --git a/source/_posts/2011-11-28-solve-ie-addeventlistener.md b/source/_posts/2011-11-28-solve-ie-addeventlistener.md
index 3ac39df..21d22cd 100644
--- a/source/_posts/2011-11-28-solve-ie-addeventlistener.md
+++ b/source/_posts/2011-11-28-solve-ie-addeventlistener.md
@@ -1,6 +1,7 @@
---
title: 解决IE不兼容addEventListener
author: wahyd4
+comments: true
layout: post
permalink: /2011/11/solve-ie-addeventlistener/
categories:
@@ -30,4 +31,4 @@ addEventListener('click',myfunction,false); //前两个参数与attachEvent一
} //tr为对象节点。
-好了,试试吧,看看是不是已经可以了!
\ No newline at end of file
+好了,试试吧,看看是不是已经可以了!
diff --git a/source/_posts/2011-11-29-spring-hibernate-db-too-many-connection.md b/source/_posts/2011-11-29-spring-hibernate-db-too-many-connection.md
index e102537..b5a6a36 100644
--- a/source/_posts/2011-11-29-spring-hibernate-db-too-many-connection.md
+++ b/source/_posts/2011-11-29-spring-hibernate-db-too-many-connection.md
@@ -1,6 +1,7 @@
---
title: '解决Spring 管理Hibernate执行数据库操作出现“too many connection”的错误'
author: wahyd4
+comments: true
layout: post
permalink: /2011/11/spring-hibernate-db-too-many-connection/
categories:
@@ -39,4 +40,4 @@ mysql数据库报出了can’t open connection , …….. too many connection
这样就彻底关闭该Session了。
好了,现在程序性能提升不少了,我在自己电脑上至少是已经不能刷爆程序了。
-如果说得哪里不对,请指正,因为本人也在学习之中!
\ No newline at end of file
+如果说得哪里不对,请指正,因为本人也在学习之中!
diff --git a/source/_posts/2011-12-21-java-single-sign-on.md b/source/_posts/2011-12-21-java-single-sign-on.md
index f25be12..9901383 100644
--- a/source/_posts/2011-12-21-java-single-sign-on.md
+++ b/source/_posts/2011-12-21-java-single-sign-on.md
@@ -2,6 +2,7 @@
title: Java实现单一账号某时刻单一登录
author: wahyd4
layout: post
+comments: true
permalink: /2011/12/java-single-sign-on/
categories:
- java
@@ -81,4 +82,4 @@ tags:
}
-好了,现在差不多实现这个功能的主要代码都有了。原谅我的表达能力不够好,如果各位有什么问题,留言吧。我们可以讨论一下。
\ No newline at end of file
+好了,现在差不多实现这个功能的主要代码都有了。原谅我的表达能力不够好,如果各位有什么问题,留言吧。我们可以讨论一下。
diff --git a/source/_posts/2011-12-30-nexus-cant-run-under-jdk-1-7.md b/source/_posts/2011-12-30-nexus-cant-run-under-jdk-1-7.md
index d9f5893..de98690 100644
--- a/source/_posts/2011-12-30-nexus-cant-run-under-jdk-1-7.md
+++ b/source/_posts/2011-12-30-nexus-cant-run-under-jdk-1-7.md
@@ -2,6 +2,7 @@
title: Nexus 1.9 在JDK 1.7下不能安装运行
author: wahyd4
layout: post
+comments: true
permalink: /2011/12/nexus-cant-run-under-jdk-1-7/
categories:
- java
@@ -39,4 +40,4 @@ Nexus 是一个Maven仓库管理软件,或者叫做Maven包管理软件。一
[
][2]期待下一篇文章将OSGI或者MAVEN!!!!加油
[1]: http://junv-wordpress.stor.sinaapp.com/uploads/2011/12/psb.png
- [2]: http://junv-wordpress.stor.sinaapp.com/uploads/2011/12/sasd.png
\ No newline at end of file
+ [2]: http://junv-wordpress.stor.sinaapp.com/uploads/2011/12/sasd.png
diff --git a/source/_posts/2012-01-09-spring-osgi-hello-world1.md b/source/_posts/2012-01-09-spring-osgi-hello-world1.md
index 351ac04..64ca885 100644
--- a/source/_posts/2012-01-09-spring-osgi-hello-world1.md
+++ b/source/_posts/2012-01-09-spring-osgi-hello-world1.md
@@ -2,6 +2,7 @@
title: Spring OSGI入门(1) Hello World
author: wahyd4
layout: post
+comments: true
permalink: /2012/01/spring-osgi-hello-world1/
categories:
- java
@@ -81,4 +82,4 @@ log4j:WARN Please initialize the log4j system properly.
[8]: http://junv-wordpress.stor.sinaapp.com/uploads/2012/01/7.png
[9]: http://junv-wordpress.stor.sinaapp.com/uploads/2012/01/8.png
[10]: http://junv-wordpress.stor.sinaapp.com/uploads/2012/01/9.png
- [11]: http://junv-wordpress.stor.sinaapp.com/uploads/2012/01/10.png
\ No newline at end of file
+ [11]: http://junv-wordpress.stor.sinaapp.com/uploads/2012/01/10.png
diff --git a/source/_posts/2012-01-09-spring-osgi-hello-world2-log4j-warn-no-appenders-could-be-found-for-logger.md b/source/_posts/2012-01-09-spring-osgi-hello-world2-log4j-warn-no-appenders-could-be-found-for-logger.md
index a9b8e3b..90a1f27 100644
--- a/source/_posts/2012-01-09-spring-osgi-hello-world2-log4j-warn-no-appenders-could-be-found-for-logger.md
+++ b/source/_posts/2012-01-09-spring-osgi-hello-world2-log4j-warn-no-appenders-could-be-found-for-logger.md
@@ -1,6 +1,7 @@
---
title: 'Spring OSGI入门(2) 处理Log4j “WARN No appenders could be found for logger”'
author: wahyd4
+comments: true
layout: post
permalink: >
/2012/01/spring-osgi-hello-world2-log4j-warn-no-appenders-could-be-found-for-logger/
@@ -56,4 +57,4 @@ No Catalina Service found, bailing out[org.springframework.osgi.web.deployer.tom
[1]: http://junv-wordpress.stor.sinaapp.com/uploads/2012/01/11.png
[2]: http://junv-wordpress.stor.sinaapp.com/uploads/2012/01/13.png
[3]: http://junv-wordpress.stor.sinaapp.com/uploads/2012/01/15.png
- [4]: http://junv-wordpress.stor.sinaapp.com/uploads/2012/01/14.png
\ No newline at end of file
+ [4]: http://junv-wordpress.stor.sinaapp.com/uploads/2012/01/14.png
diff --git a/source/_posts/2012-01-12-maven-study-case-one.md b/source/_posts/2012-01-12-maven-study-case-one.md
index d577129..d8bd315 100644
--- a/source/_posts/2012-01-12-maven-study-case-one.md
+++ b/source/_posts/2012-01-12-maven-study-case-one.md
@@ -1,6 +1,7 @@
---
title: Maven 学习入门 1
author: wahyd4
+comments: true
layout: post
permalink: /2012/01/maven-study-case-one/
categories:
@@ -25,10 +26,10 @@ Maven是一个项目构建工具,它不止可以用于Java,可能大家对An
添加环境变量 **M2**,其值为%M2_HOME%bin目录。(注:所有配置均在windows下完成)
-M2_HOME=D:maven;
-
-M2=%M2_HOME%bin;
-PATH=$M2:$PATH;
+M2_HOME=D:maven;
+
+M2=%M2_HOME%bin;
+PATH=$M2:$PATH;
保存并退出。然后打开命令行,输入以下命令:**mvn –version**
@@ -71,8 +72,8 @@ PATH=$M2:$PATH;
下面执行有管项目的其他一些操作:(需要在命令行下进入该项目,例:cd fitst-app)
-mvn package #执行项目打包操作,生成target文件夹,jar文件,以及其他相关文件夹
-
+mvn package #执行项目打包操作,生成target文件夹,jar文件,以及其他相关文件夹
+
下面是maven官方的一些其他命令,以及解释:
@@ -110,4 +111,4 @@ m2e下载地址:
好了,这就是maven的简单应用,希望下一次写pom.xml。
- [1]: /images/2012/01/111.png
\ No newline at end of file
+ [1]: /images/2012/01/111.png
diff --git a/source/_posts/2012-01-19-use-maven-deploy-totomcat-7.md b/source/_posts/2012-01-19-use-maven-deploy-totomcat-7.md
index 57612f4..db8ee04 100644
--- a/source/_posts/2012-01-19-use-maven-deploy-totomcat-7.md
+++ b/source/_posts/2012-01-19-use-maven-deploy-totomcat-7.md
@@ -1,6 +1,7 @@
---
title: 使用maven部署项目到tomcat 7
author: wahyd4
+comments: true
layout: post
permalink: /2012/01/use-maven-deploy-totomcat-7/
categories:
@@ -23,24 +24,24 @@ tags:
tomcat maven plugin 插件已经从codehaus 转到Tomcat官网了,以前的codehaus只支持tomcat 6.这里我们需要使用最新的tomcat maven plugin. 该插件的pom为,即是在pom.xml加入:
-<pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.tomcat.maven</groupId>
- <artifactId>tomcat6-maven-plugin</artifactId>
- <version>2.0-SNAPSHOT</version>
- </plugin>
- <plugin>
- <groupId>org.apache.tomcat.maven</groupId>
- <artifactId>tomcat7-maven-plugin</artifactId>
- <version>2.0-SNAPSHOT</version>
- <configuration>
- <url>http://localhost:8080/manager/html</url>
- <server>tomcat</server>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
+<pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.tomcat.maven</groupId>
+ <artifactId>tomcat6-maven-plugin</artifactId>
+ <version>2.0-SNAPSHOT</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.tomcat.maven</groupId>
+ <artifactId>tomcat7-maven-plugin</artifactId>
+ <version>2.0-SNAPSHOT</version>
+ <configuration>
+ <url>http://localhost:8080/manager/html</url>
+ <server>tomcat</server>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
这样写的目的是既支持tomcat 6 也支持tomcat 7.虽说这个插件是2.0-snapshot版本,不太稳定,不过我试的时候没有遇到任何问题,可以放心使用。(红色部分我们将在下面解释)
@@ -49,31 +50,31 @@ tomcat maven plugin 插件已经从codehaus 转到Tomcat官网了,以前的cod
**repository:**
-<repository>
- <id>people.apache.snapshots</id>
- <url>http://repository.apache.org/content/groups/snapshots-group/</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
+<repository>
+ <id>people.apache.snapshots</id>
+ <url>http://repository.apache.org/content/groups/snapshots-group/</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
**plugin repository:**
-<pluginRepository>
- <id>apache.snapshots</id>
- <name>Apache Snapshots</name>
- <url>http://repository.apache.org/content/groups/snapshots-group/</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
+<pluginRepository>
+ <id>apache.snapshots</id>
+ <name>Apache Snapshots</name>
+ <url>http://repository.apache.org/content/groups/snapshots-group/</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </pluginRepository>
这样做的目的是为了保证maven能够下载到maven tomcat plugin。而且是从上述的仓库。
@@ -88,21 +89,21 @@ manager-gui:是让tomcat支持图形化的管理界面。
添加以下内容:
-<role rolename="admin-script"/>
-<role rolename="manager-gui"/>
-<user username="admin" password="admin" roles="manager-gui,admin-script"/>
+<role rolename="admin-script"/>
+<role rolename="manager-gui"/>
+<user username="admin" password="admin" roles="manager-gui,admin-script"/>
这里请自行改变用户名和密码。
接下来我们还需要配置一下maven,给他添加一个服务器和相关配置,在maven安装目录下的conf/settings.xml添加如下内容。
-<!--Tomcat 7 server -->
- <server>
- <id>tomcat</id>
- <username>admin</username>
- <password>admin</password>
- </server>
+<!--Tomcat 7 server -->
+ <server>
+ <id>tomcat</id>
+ <username>admin</username>
+ <password>admin</password>
+ </server>
注意:这里的id需要和上面用醒目绿色标记的ID一致,用户名和密码需要和tomcat里面设置的用户名和密码相同。
@@ -113,7 +114,7 @@ manager-gui:是让tomcat支持图形化的管理界面。
好了,配置我们就做好了,在部署之前,当然我们需要打开tomcat服务器。tomcat 7部署请使用命令:
-mvn tomcat7:deploy
+mvn tomcat7:deploy
在eclipse只需要在goal中填入 **tomcat7:deploy** 即可。
@@ -124,4 +125,4 @@ manager-gui:是让tomcat支持图形化的管理界面。
> Failed to execute goal org.codehaus.mojo:tomcat-maven-plugin:1.0:deploy (default-cli) on project my-webapp: Cannot invoke Tomcat manager: Server returned HTTP response code: 403 for URL:
- [1]: /images/2012/01/tomcat.gif
\ No newline at end of file
+ [1]: /images/2012/01/tomcat.gif
diff --git a/source/_posts/2012-01-23-happy-new-year.md b/source/_posts/2012-01-23-happy-new-year.md
index a077642..7ca87a2 100644
--- a/source/_posts/2012-01-23-happy-new-year.md
+++ b/source/_posts/2012-01-23-happy-new-year.md
@@ -1,6 +1,7 @@
---
title: 嘿,有人在吗?新年快乐
author: wahyd4
+comments: true
layout: post
permalink: /2012/01/happy-new-year/
categories:
@@ -15,14 +16,14 @@ tags:
然后推荐使用putty 通过ssh对linux进行控制。这个在windows下面真的很好用。当然请记得在你的虚拟机上安装
-sudo apt-get install openssh-server
-
-sudo apt-get install ssh
-
+sudo apt-get install openssh-server
+
+sudo apt-get install ssh
+
在这里这大家新年快乐,龙年大吉,当然也祝自己今年又好的发展,马上实习了,希望找到好的工作。
-
\ No newline at end of file
+
diff --git a/source/_posts/2012-01-28-create-github-page.md b/source/_posts/2012-01-28-create-github-page.md
index 6f76dfc..cf4dcf3 100644
--- a/source/_posts/2012-01-28-create-github-page.md
+++ b/source/_posts/2012-01-28-create-github-page.md
@@ -1,6 +1,7 @@
---
title: 创建自己的github page
author: wahyd4
+comments: true
layout: post
permalink: /2012/01/create-github-page/
categories:
@@ -43,4 +44,4 @@ jekyll: https://github.com/mojombo/**jekyll**
jekyll-bootstrap:
-
\ No newline at end of file
+
diff --git a/source/_posts/2012-02-02-solve-hudsonjenkins-git-can-not-fetch-from-any-repository.md b/source/_posts/2012-02-02-solve-hudsonjenkins-git-can-not-fetch-from-any-repository.md
index 352cf12..87e2166 100644
--- a/source/_posts/2012-02-02-solve-hudsonjenkins-git-can-not-fetch-from-any-repository.md
+++ b/source/_posts/2012-02-02-solve-hudsonjenkins-git-can-not-fetch-from-any-repository.md
@@ -1,6 +1,7 @@
---
title: 解决 hudson/Jenkins git can not fetch from any repository错误
author: wahyd4
+comments: true
layout: post
permalink: /2012/02/solve-hudsonjenkins-git-can-not-fetch-from-any-repository/
categories:
@@ -17,10 +18,10 @@ hudson是一个很强大的持续集成服务器,支持maven、git等强大工
今天在执行Hudson编译git仓库中代码的时候发现如下错误:
-ERROR: Problem fetching from origin / origin - could be unavailable. Continuing anyway
-ERROR: Could not fetch from any repository
-FATAL: Could not fetch from any repository
-hudson.plugins.git.GitException: Could not fetch from any repository
+ERROR: Problem fetching from origin / origin - could be unavailable. Continuing anyway
+ERROR: Could not fetch from any repository
+FATAL: Could not fetch from any repository
+hudson.plugins.git.GitException: Could not fetch from any repository
在网上看到一些资料,这里有一篇Jenkins对git plugin 的描述比较详细: 。
@@ -31,4 +32,4 @@ hudson.plugins.git.GitException: Could not fetch from any repository
这样git就可以成功工作了。当然也就可以fetch repository 了。
-现在应该就可以正常工作了吧。
\ No newline at end of file
+现在应该就可以正常工作了吧。
diff --git a/source/_posts/2012-02-11-maven-remote-deploy-to-jboss-as-7.md b/source/_posts/2012-02-11-maven-remote-deploy-to-jboss-as-7.md
index 3b9012f..a8187e3 100644
--- a/source/_posts/2012-02-11-maven-remote-deploy-to-jboss-as-7.md
+++ b/source/_posts/2012-02-11-maven-remote-deploy-to-jboss-as-7.md
@@ -1,6 +1,7 @@
---
title: maven 远程部署项目到jboss as 7(maven remote deploy to jboss as 7)
author: wahyd4
+comments: true
layout: post
permalink: /2012/02/maven-remote-deploy-to-jboss-as-7/
categories:
@@ -117,4 +118,4 @@ tags:
这个东西,一直在网上都没有找到答案。。
-格式 没有缩减,请谅解。。有问题,请留言一起讨论。
\ No newline at end of file
+格式 没有缩减,请谅解。。有问题,请留言一起讨论。
diff --git a/source/_posts/2012-03-09-maven-deploy-external-jar.md b/source/_posts/2012-03-09-maven-deploy-external-jar.md
index c2460c2..4a16b2e 100644
--- a/source/_posts/2012-03-09-maven-deploy-external-jar.md
+++ b/source/_posts/2012-03-09-maven-deploy-external-jar.md
@@ -1,6 +1,7 @@
---
title: Maven 直接部署第三方jar,bundle,war包到仓库
author: wahyd4
+comments: true
layout: post
permalink: /2012/03/maven-deploy-external-jar/
categories:
@@ -30,4 +31,4 @@ categories:
回车即可执行了,需要注意的是,版本里面定义的snapshots 和release 要和后面部署的仓库地址对应哦,即是:snaposhot版本只能部署到snapshot仓库。这个很重要。
-如果你确保所有信息都输入正确,仍然不能部署成功,请尝试 mvn -e deploy:deploy-file
\ No newline at end of file
+如果你确保所有信息都输入正确,仍然不能部署成功,请尝试 mvn -e deploy:deploy-file
diff --git a/source/_posts/2012-03-22-against-sae.md b/source/_posts/2012-03-22-against-sae.md
index e7102d8..0bf63cd 100644
--- a/source/_posts/2012-03-22-against-sae.md
+++ b/source/_posts/2012-03-22-against-sae.md
@@ -1,6 +1,7 @@
---
title: 抗议SAE !!
author: wahyd4
+comments: true
layout: post
permalink: /2012/03/against-sae/
categories:
@@ -12,4 +13,4 @@ categories:
我想我可能会在近期又再一次迁徙吧。
-哎,当初真的不应该支持新浪??
\ No newline at end of file
+哎,当初真的不应该支持新浪??
diff --git a/source/_posts/2012-07-01-come-back.md b/source/_posts/2012-07-01-come-back.md
index dd078c6..db99de2 100644
--- a/source/_posts/2012-07-01-come-back.md
+++ b/source/_posts/2012-07-01-come-back.md
@@ -1,6 +1,7 @@
---
title: 复活??
author: wahyd4
+comments: true
layout: post
permalink: /2012/07/come-back/
categories:
@@ -10,4 +11,4 @@ categories:
以前的主题也用不了了。造孽。
-后面再慢慢选主题吧。
\ No newline at end of file
+后面再慢慢选主题吧。
diff --git a/source/_posts/2012-07-01-good-open-source.md b/source/_posts/2012-07-01-good-open-source.md
index d8b3b05..c25569b 100644
--- a/source/_posts/2012-07-01-good-open-source.md
+++ b/source/_posts/2012-07-01-good-open-source.md
@@ -1,6 +1,7 @@
---
title: 那些年我用过的开源软件、框架
author: wahyd4
+comments: true
layout: post
permalink: /2012/07/good-open-source/
categories:
@@ -217,4 +218,4 @@ tags:
不要重复造轮子。
-
\ No newline at end of file
+
diff --git a/source/_posts/2012-07-03-maven-compile-nexus.md b/source/_posts/2012-07-03-maven-compile-nexus.md
index a02e21f..9f0c1bc 100644
--- a/source/_posts/2012-07-03-maven-compile-nexus.md
+++ b/source/_posts/2012-07-03-maven-compile-nexus.md
@@ -1,6 +1,7 @@
---
title: 使用maven编译Sonatype Nexus源码
author: wahyd4
+comments: true
layout: post
permalink: /2012/07/maven-compile-nexus/
categories:
@@ -18,42 +19,42 @@ tags:
原因是我们需要把nexus官方的一个仓库加入到maven的settings文件中。代码为:
-<settings>
- <profiles>
- <profile>
- <id>sonatype-forge</id>
- <repositories>
- <repository>
- <id>sonatype-forge</id>
- <url>http://repository.sonatype.org/content/groups/forge/</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
- <pluginRepositories>
- <pluginRepository>
- <id>sonatype-forge</id>
- <url>http://repository.sonatype.org/content/groups/forge/</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
- </profile>
- </profiles>
- <activeProfiles>
- <activeProfile>sonatype-forge</activeProfile>
- </activeProfiles>
-</settings>
+<settings>
+ <profiles>
+ <profile>
+ <id>sonatype-forge</id>
+ <repositories>
+ <repository>
+ <id>sonatype-forge</id>
+ <url>http://repository.sonatype.org/content/groups/forge/</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>sonatype-forge</id>
+ <url>http://repository.sonatype.org/content/groups/forge/</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+ </profile>
+ </profiles>
+ <activeProfiles>
+ <activeProfile>sonatype-forge</activeProfile>
+ </activeProfiles>
+</settings>
然后再次编译,就应该可以构建成功了。由于nexus的仓库在国外,个人感觉速度比maven中央仓库要慢一个等级。在编译过程中,maven会自动执行一些插件和完成相关的单元测试。大概等待1-2个小时左右(由电脑性能和网络决定),就可以编译完成了。
- [1]: /images/2012/07/dsf.png
\ No newline at end of file
+ [1]: /images/2012/07/dsf.png
diff --git a/source/_posts/2012-07-04-java-create-git-repository.md b/source/_posts/2012-07-04-java-create-git-repository.md
index 0261532..aba9772 100644
--- a/source/_posts/2012-07-04-java-create-git-repository.md
+++ b/source/_posts/2012-07-04-java-create-git-repository.md
@@ -1,6 +1,7 @@
---
title: JAVA创建git仓库
author: wahyd4
+comments: true
layout: post
permalink: /2012/07/java-create-git-repository/
categories:
@@ -17,96 +18,96 @@ tags:
下面我将简单些一个例子来说明,使用java来创建一个git仓库,并且为仓库添加一个远端仓库地址。如果通过git脚本来执行,那么语句就是:
-git init
-
-git remote add git://XXXXXX
-
+git init
+
+git remote add git://XXXXXX
+
首先我们需要下载[org.eclipse.jgit.jar][2] 包,并将其加入eclipse 的classpath中(当然这里使用eclipse来完成操作)。示例代码为:
-package com.toozhao.git;
-
-import java.io.File;
-import java.io.IOException;
-import java.net.URISyntaxException;
-
-import org.eclipse.jgit.api.Git;
-import org.eclipse.jgit.api.InitCommand;
-import org.eclipse.jgit.api.errors.GitAPIException;
-import org.eclipse.jgit.lib.Repository;
-import org.eclipse.jgit.lib.StoredConfig;
-import org.eclipse.jgit.transport.RefSpec;
-import org.eclipse.jgit.transport.RemoteConfig;
-import org.eclipse.jgit.transport.URIish;
-
-public class TestJGit {
- public static void main(String[] args) {
- Repository repo = null;
-
-String path = "d:/testjgit"; // 设置git仓库的路径
- InitCommand init = new InitCommand();
- // 设置路径
- init.setBare(false).setDirectory(new File(path));
- // 执行git init ,创建仓库
- Git git;
- try {
- git = init.call(); // 创建仓库
- repo = git.getRepository();
- System.out.println("create repo success");
- } catch (GitAPIException e) {
-
-e.printStackTrace();
- }
- // 执行 git remote add 命令
- // 实例化一个RemoteConfig 对象,用户配置远端仓库
- StoredConfig config = repo.getConfig();
- try {
- RemoteConfig remoteConfig = new RemoteConfig(config, "origin");
- // 设置你的远端地址
- URIish uri = new URIish("git://github.com/wahyd4/testjgit");
- // 设置哪个分支
- RefSpec refSpec = new RefSpec("+refs/head/*:refs/remotes/origin/*");
- // 更新配置
- remoteConfig.addFetchRefSpec(refSpec);
- remoteConfig.addPushRefSpec(refSpec);
- remoteConfig.addURI(uri);
- remoteConfig.addPushURI(uri);
- // 更新配置
- remoteConfig.update(config);
- // 保存到本地文件中
- config.save();
- System.out.println("git remote add success.");
- } catch (URISyntaxException e) {
-
-e.printStackTrace();
- } catch (IOException e) {
- e.printStackTrace();
- }
-
-}
-
-}
-
+package com.toozhao.git;
+
+import java.io.File;
+import java.io.IOException;
+import java.net.URISyntaxException;
+
+import org.eclipse.jgit.api.Git;
+import org.eclipse.jgit.api.InitCommand;
+import org.eclipse.jgit.api.errors.GitAPIException;
+import org.eclipse.jgit.lib.Repository;
+import org.eclipse.jgit.lib.StoredConfig;
+import org.eclipse.jgit.transport.RefSpec;
+import org.eclipse.jgit.transport.RemoteConfig;
+import org.eclipse.jgit.transport.URIish;
+
+public class TestJGit {
+ public static void main(String[] args) {
+ Repository repo = null;
+
+String path = "d:/testjgit"; // 设置git仓库的路径
+ InitCommand init = new InitCommand();
+ // 设置路径
+ init.setBare(false).setDirectory(new File(path));
+ // 执行git init ,创建仓库
+ Git git;
+ try {
+ git = init.call(); // 创建仓库
+ repo = git.getRepository();
+ System.out.println("create repo success");
+ } catch (GitAPIException e) {
+
+e.printStackTrace();
+ }
+ // 执行 git remote add 命令
+ // 实例化一个RemoteConfig 对象,用户配置远端仓库
+ StoredConfig config = repo.getConfig();
+ try {
+ RemoteConfig remoteConfig = new RemoteConfig(config, "origin");
+ // 设置你的远端地址
+ URIish uri = new URIish("git://github.com/wahyd4/testjgit");
+ // 设置哪个分支
+ RefSpec refSpec = new RefSpec("+refs/head/*:refs/remotes/origin/*");
+ // 更新配置
+ remoteConfig.addFetchRefSpec(refSpec);
+ remoteConfig.addPushRefSpec(refSpec);
+ remoteConfig.addURI(uri);
+ remoteConfig.addPushURI(uri);
+ // 更新配置
+ remoteConfig.update(config);
+ // 保存到本地文件中
+ config.save();
+ System.out.println("git remote add success.");
+ } catch (URISyntaxException e) {
+
+e.printStackTrace();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+
+}
+
+}
+
执行完本代码后,打开d:/testjgit/可以看到一个.git的隐藏文件夹(如果看不到,请设置去除隐藏文件夹)。表明它已经是一个git仓库了。如果你的eclipse安装有aptana 插件,将仓库导入eclipse,eclipse还可以自动识别出git仓库。而在Egit 1.x插件中版本中都不能识别出。
如果你打开.git/CONFIG文件。你还可以看到:
-[core]
- repositoryformatversion = 0
- filemode = false
- logallrefupdates = true
-[remote "origin"]
- url = git://github.com/wahyd4/testjgit
- pushurl = git://github.com/wahyd4/testjgit
- fetch = +refs/head/*:refs/remotes/origin/*
- push = +refs/head/*:refs/remotes/origin/*
-
+[core]
+ repositoryformatversion = 0
+ filemode = false
+ logallrefupdates = true
+[remote "origin"]
+ url = git://github.com/wahyd4/testjgit
+ pushurl = git://github.com/wahyd4/testjgit
+ fetch = +refs/head/*:refs/remotes/origin/*
+ push = +refs/head/*:refs/remotes/origin/*
+
这些既是我们对仓库进行的配置,全都由这个文件定义。使用aptana,你可以直接将仓库push 到你设置的远端地址。
[1]: /images/2012/07/logo.png
- [2]: http://download.eclipse.org/jgit/maven/org/eclipse/jgit/org.eclipse.jgit/2.0.0.201206130900-r/org.eclipse.jgit-2.0.0.201206130900-r.jar
\ No newline at end of file
+ [2]: http://download.eclipse.org/jgit/maven/org/eclipse/jgit/org.eclipse.jgit/2.0.0.201206130900-r/org.eclipse.jgit-2.0.0.201206130900-r.jar
diff --git a/source/_posts/2012-07-05-access-google-reader.md b/source/_posts/2012-07-05-access-google-reader.md
index 42c31fc..2ce52f4 100644
--- a/source/_posts/2012-07-05-access-google-reader.md
+++ b/source/_posts/2012-07-05-access-google-reader.md
@@ -1,6 +1,7 @@
---
title: 解决不能访问google reader
author: wahyd4
+comments: true
layout: post
permalink: /2012/07/access-google-reader/
categories:
@@ -24,4 +25,4 @@ tags:
是不是瞬间从屌丝变成高富帅了?哈哈
[1]: /images/2012/07/2-110H12040500-L.png
- [2]: http://www.google.cn/
\ No newline at end of file
+ [2]: http://www.google.cn/
diff --git a/source/_posts/2012-07-11-a-simple-nodejs-program.md b/source/_posts/2012-07-11-a-simple-nodejs-program.md
index 32d581c..8ab9be4 100644
--- a/source/_posts/2012-07-11-a-simple-nodejs-program.md
+++ b/source/_posts/2012-07-11-a-simple-nodejs-program.md
@@ -1,6 +1,7 @@
---
title: 一个Nodejs写的简易订饭程序
author: wahyd4
+comments: true
layout: post
permalink: /2012/07/a-simple-nodejs-program/
categories:
@@ -14,71 +15,71 @@ tags:
使用下面的命令即可安装:
-npm install express
-
-npm install mysql
-
+npm install express
+
+npm install mysql
+
下面就附上代码吧,只有50多行,当然功能也很简单,只有订饭和查询所有已订饭的功能:
-<p style="padding-left: 30px;">var express = require('express'),
- mysql = require('mysql');
-var app = express.createServer();</p>
-<p style="padding-left: 30px;">//create mysql client
-var client = mysql.createClient({
- user:'root',
- password :'root'
-});
-//设置mysql属性
-client.host ='127.0.0.1';
-client.port = 3306;
-client.database = 'orderfood';</p>
-<p style="padding-left: 30px;">//拦截地址
-app.get('/add/:name',function(req,res){
- var name = req.params.name;
-
- res.charset = 'utf-8';
- //查询数据库中是否已经有该用户的记录
- client.query('select * from orders where name= ?',[name],function(err,results,fields){
- if(err) throw err;
- //阻止用户多次提交
- if(results[0]!==undefined){
- res.send('哈哈,'+results[0].name+'小子!你想重复提交吗?没门!!\n');
- return ;
- }else{
- //将数据存入数据库中
- client.query('insert into orders(name) values(?)',[name],function(err,results,fileds){
- if(err) throw err;
- console.log("你的名字为"+name);
- res.write("恭喜你订餐成功!你的名字为"+name +"\n");
- });
- client.query('select * from orders',function(err,results,fileds){
- if(err) throw err;
- if(results[0]!==undefined){
- var count=0;
- res.write("=================已定名单====================\n");
- for(var i=0;i<results.length;i++){
- res.write("姓名:"+results[i].name+"————————————订饭时间:"+results[i].time+"\n");
- res.write('\n');
- count++;
- }
- res.write("*****************已订饭人数为:"+count+"********************");
- res.end();
- return ;
- }
- res.send("已订名单为空!\n");
- });
- }
- });
- });
-//设置404页面
-app.get('*', function(req, res){
- res.send('小样 ,出错了!!我来自node.js哦', 404);
-});
-//监听3000端口
-app.listen(80);
-console.log("server listen on port 80");</p>
+<p style="padding-left: 30px;">var express = require('express'),
+ mysql = require('mysql');
+var app = express.createServer();</p>
+<p style="padding-left: 30px;">//create mysql client
+var client = mysql.createClient({
+ user:'root',
+ password :'root'
+});
+//设置mysql属性
+client.host ='127.0.0.1';
+client.port = 3306;
+client.database = 'orderfood';</p>
+<p style="padding-left: 30px;">//拦截地址
+app.get('/add/:name',function(req,res){
+ var name = req.params.name;
+
+ res.charset = 'utf-8';
+ //查询数据库中是否已经有该用户的记录
+ client.query('select * from orders where name= ?',[name],function(err,results,fields){
+ if(err) throw err;
+ //阻止用户多次提交
+ if(results[0]!==undefined){
+ res.send('哈哈,'+results[0].name+'小子!你想重复提交吗?没门!!\n');
+ return ;
+ }else{
+ //将数据存入数据库中
+ client.query('insert into orders(name) values(?)',[name],function(err,results,fileds){
+ if(err) throw err;
+ console.log("你的名字为"+name);
+ res.write("恭喜你订餐成功!你的名字为"+name +"\n");
+ });
+ client.query('select * from orders',function(err,results,fileds){
+ if(err) throw err;
+ if(results[0]!==undefined){
+ var count=0;
+ res.write("=================已定名单====================\n");
+ for(var i=0;i<results.length;i++){
+ res.write("姓名:"+results[i].name+"————————————订饭时间:"+results[i].time+"\n");
+ res.write('\n');
+ count++;
+ }
+ res.write("*****************已订饭人数为:"+count+"********************");
+ res.end();
+ return ;
+ }
+ res.send("已订名单为空!\n");
+ });
+ }
+ });
+ });
+//设置404页面
+app.get('*', function(req, res){
+ res.send('小样 ,出错了!!我来自node.js哦', 404);
+});
+//监听3000端口
+app.listen(80);
+console.log("server listen on port 80");</p>
-格式可能有点问题哈。
\ No newline at end of file
+格式可能有点问题哈。
diff --git a/source/_posts/2012-07-13-compare-priority-of-maven-repository.md b/source/_posts/2012-07-13-compare-priority-of-maven-repository.md
index 62a211a..3d1da5b 100644
--- a/source/_posts/2012-07-13-compare-priority-of-maven-repository.md
+++ b/source/_posts/2012-07-13-compare-priority-of-maven-repository.md
@@ -1,6 +1,7 @@
---
title: 深入比较几种maven仓库的优先级
author: wahyd4
+comments: true
layout: post
permalink: /2012/07/compare-priority-of-maven-repository/
categories:
@@ -44,12 +45,12 @@ tags:
注意:我也验证过这样的情况,将mirror这样设置:
-<mirror>
-<id>huacloud-central</id>
-<mirrorOf>*</mirrorOf>
-<name>name-of-this</name>
-<url>http://222.197.XXXXXX/nexus/content/groups/public/</url>
- </mirror>
+<mirror>
+<id>huacloud-central</id>
+<mirrorOf>*</mirrorOf>
+<name>name-of-this</name>
+<url>http://222.197.XXXXXX/nexus/content/groups/public/</url>
+ </mirror>
即是表示该仓库地址为所有仓库的镜像,那么这个时候,maven会忽略掉其他设置的各种类型仓库仓库,只在mirror里面找。所以建议不要这样设置,他将导致pom文件中、pforile里面的仓库设置都失效。
@@ -58,57 +59,57 @@ tags:
pom中的repository:
-<repositories>
-<repository>
-<id>dsdf</id>
-<releases>
-<enabled>true</enabled>
-</releases>
-<url>http://222.197.XXXXXX/nexus/content/groups/public/</url>
-</repository>
- </repositories>
+<repositories>
+<repository>
+<id>dsdf</id>
+<releases>
+<enabled>true</enabled>
+</releases>
+<url>http://222.197.XXXXXX/nexus/content/groups/public/</url>
+</repository>
+ </repositories>
profile中的仓库是在maven的设置文件(maven安装目录/conf/settings.xml)
-<profile>
- <id>nexus</id>
- <repositories>
- <repository>
- <id>sonatype-forge</id>
- <url>http://repository.sonatype.org/content/groups/forge/</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
- <pluginRepositories>
- <pluginRepository>
- <id>sonatype-forge</id>
- <url>http://repository.sonatype.org/content/groups/forge/</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
- </profile>
- </profiles>
-
-<!-- 使用下面代码来激活profile-->
-
-<activeProfiles>
-<activeProfile>nexus</activeProfile>
- </activeProfiles>
+<profile>
+ <id>nexus</id>
+ <repositories>
+ <repository>
+ <id>sonatype-forge</id>
+ <url>http://repository.sonatype.org/content/groups/forge/</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>sonatype-forge</id>
+ <url>http://repository.sonatype.org/content/groups/forge/</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+ </profile>
+ </profiles>
+
+<!-- 使用下面代码来激活profile-->
+
+<activeProfiles>
+<activeProfile>nexus</activeProfile>
+ </activeProfiles>
mirror设置上文有,这里不再赘述。欢迎留言讨论。
[1]: /images/2012/07/1.png
[2]: /images/2012/07/2.png
- [3]: /images/2012/07/3.png
\ No newline at end of file
+ [3]: /images/2012/07/3.png
diff --git a/source/_posts/2012-07-17-mongodb-getstart.md b/source/_posts/2012-07-17-mongodb-getstart.md
index 539ddf5..1aea8cc 100644
--- a/source/_posts/2012-07-17-mongodb-getstart.md
+++ b/source/_posts/2012-07-17-mongodb-getstart.md
@@ -1,6 +1,7 @@
---
title: Mongodb 入门
author: wahyd4
+comments: true
layout: post
permalink: /2012/07/mongodb-getstart/
categories:
@@ -50,68 +51,68 @@ Mongodb是一个非关系型数据库软件(NoSql),以类似json的形式bson存
比如我们想插入一条数据:
-db.mycollection.save({"name":"junv"});
-
+db.mycollection.save({"name":"junv"});
+
系统便会自动生成名为mycollection的collection,并将数据存入其中.
我们也可以使用下面的话来达到同样的效果:
-var tom = {"name": "junv"};
-
-db.mycollection.save(tom);
-
+var tom = {"name": "junv"};
+
+db.mycollection.save(tom);
+
我们可以使用 show collections 在查看当前数据库中所拥有的所有collection列表.
我们需要使用db.mycollection.find() 来查询其中的数据,如果我想查询”name” 为mary 的数据,就需要使用:
-db.mycollection.find({"name":"mary"});
-
+db.mycollection.find({"name":"mary"});
+
在一个collection 中,我们可以插入不同的数据,比如在mycollection中,我们还可以插入:
-db.mycollection.insert({"city":"chegndu","nation":"china"});
-
+db.mycollection.insert({"city":"chegndu","nation":"china"});
+
这正是mongodb带来的优势.
如果我们查查询若干条数据,或者查询从n到m条数据,就需要使用:
-db.mycollection.find().limit(n);
-
-db.mycollection.find().limit(n,m)
-
+db.mycollection.find().limit(n);
+
+db.mycollection.find().limit(n,m)
+
当查询的数据过多而显示不完是,我们就需要使用 it 命令,来显示剩余部分.
更新数据,比如我们将“name”为mary的改为lily
-var temp = db.mycollection.find({"name":"mary"});
-
-temp.name = "lily"; //改变名字
-
-db.mycollection.update({"name":"mary"},temp); //保存
-
+var temp = db.mycollection.find({"name":"mary"});
+
+temp.name = "lily"; //改变名字
+
+db.mycollection.update({"name":"mary"},temp); //保存
+
删除数据,将lily这条数据删除:
-db.mycollection.remove({"name":"lily"});
-
+db.mycollection.remove({"name":"lily"});
+
删除所有数据:
-db.mycollection.remove({})
-
+db.mycollection.remove({})
+
[1]: /images/2012/07/logo-mongoDB.png
[2]: http://www.mongodb.org/downloads
- [3]: /images/2012/07/1_conew1.jpg
\ No newline at end of file
+ [3]: /images/2012/07/1_conew1.jpg
diff --git a/source/_posts/2012-07-22-html5-full-screen-api.md b/source/_posts/2012-07-22-html5-full-screen-api.md
index 4f388d1..6c5a000 100644
--- a/source/_posts/2012-07-22-html5-full-screen-api.md
+++ b/source/_posts/2012-07-22-html5-full-screen-api.md
@@ -1,6 +1,7 @@
---
title: HTML5 全屏(full screen)API
author: wahyd4
+comments: true
layout: post
permalink: /2012/07/html5-full-screen-api/
categories:
@@ -15,81 +16,81 @@ full screen API主要有两个方法:一是执行全屏,另外一个则是
**执行全屏**
-var element = XXX //这里你需要得到你的一个网页中的对象,可以是整个网页,或者其中一个节点
-
-element.requestFullscreen(); //W3C的方法
-
-element.mozRequestFullScreen(); //firefox实现的方法
-
-element.webkitRequestFullScreen(); //chrome 和safari实现的方法
-
+var element = XXX //这里你需要得到你的一个网页中的对象,可以是整个网页,或者其中一个节点
+
+element.requestFullscreen(); //W3C的方法
+
+element.mozRequestFullScreen(); //firefox实现的方法
+
+element.webkitRequestFullScreen(); //chrome 和safari实现的方法
+
**退出全屏**
-element.exitFullScreen(); //W3C
-
-element.mozCancelFullScreen(); //firefox
-
-element.webkitCancelFullScreen(); //chrome和safari
-
+element.exitFullScreen(); //W3C
+
+element.mozCancelFullScreen(); //firefox
+
+element.webkitCancelFullScreen(); //chrome和safari
+
例如,我想全屏整个页面,那个就应该使用:
-var documentEle = document.documentElement;
-
-documentEle.webkitRequestFullScreen(); //chrome
-
+var documentEle = document.documentElement;
+
+documentEle.webkitRequestFullScreen(); //chrome
+
此外我们还可以监听,full screen 事件,在其状态改变时执行相关操作。
-document.addEventListener("fullscreenchange", function () {}, false); //w3c
-
-document.addEventListener("mozfullscreenchange",function(){},false); //firefox
-
-document.addEventListener("webkitfullscreenchange", function () {}, false); //chrome 和safari
-
+document.addEventListener("fullscreenchange", function () {}, false); //w3c
+
+document.addEventListener("mozfullscreenchange",function(){},false); //firefox
+
+document.addEventListener("webkitfullscreenchange", function () {}, false); //chrome 和safari
+
如果我们想获取当前某个对象数否处于全屏状态,就可以使用下面这个属性:
-document.fullScreen //w3c
-
-document.mozFullScreen //firefox
-
-document.webkitIsFullScreen // chrome 和safari
-
+document.fullScreen //w3c
+
+document.mozFullScreen //firefox
+
+document.webkitIsFullScreen // chrome 和safari
+
经过我的测试(chrome 22),应该是HTML 里面所有对象都是可以被全屏的,如: