diff --git a/.themes/phase b/.themes/phase new file mode 160000 index 00000000..a9c2ebfb --- /dev/null +++ b/.themes/phase @@ -0,0 +1 @@ +Subproject commit a9c2ebfbb304b7e4bd9ac5eb0242a1170a3f7ae1 diff --git a/.themes/slath b/.themes/slath new file mode 160000 index 00000000..2cc927dd --- /dev/null +++ b/.themes/slath @@ -0,0 +1 @@ +Subproject commit 2cc927dd8c198e7fa0de977e9143c317be16b08b diff --git a/Gemfile~ b/Gemfile~ deleted file mode 100644 index 9d1c38a0..00000000 --- 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 ef9af471..57dbc5ec 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 47cfbed1..705fcf9f 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: 6 # 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 15372ae3..00000000 --- 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/sass/_base.scss b/sass/_base.scss index 05fdd005..a8fcb864 100644 --- a/sass/_base.scss +++ b/sass/_base.scss @@ -1,5 +1,4 @@ +@import "base/color"; +@import "base/font"; @import "base/utilities"; -@import "base/solarized"; -@import "base/theme"; -@import "base/typography"; -@import "base/layout"; +@import "base/layout"; \ No newline at end of file diff --git a/sass/_parts.scss b/sass/_parts.scss new file mode 100644 index 00000000..ffa92a32 --- /dev/null +++ b/sass/_parts.scss @@ -0,0 +1,8 @@ +@import "parts/header"; +@import "parts/pagination"; +@import "parts/article"; +@import "parts/archive"; +@import "parts/comment"; +@import "parts/footer"; +@import "parts/syntax"; +@import "parts/phasebeam"; \ No newline at end of file diff --git a/sass/_plugins.scss b/sass/_plugins.scss new file mode 100644 index 00000000..cf82d1cb --- /dev/null +++ b/sass/_plugins.scss @@ -0,0 +1 @@ +@import "plugins/fancybox"; \ No newline at end of file diff --git a/sass/base/_color.scss b/sass/base/_color.scss new file mode 100644 index 00000000..a9c7654b --- /dev/null +++ b/sass/base/_color.scss @@ -0,0 +1,8 @@ +$color-background: #000; +$color-font: #333; +$color-meta: #999; +$color-border: #ccc; +$color-main01: rgb(157, 97, 207); +$color-main02: rgb(40, 20, 105); +$color-main03: rgb(0, 150, 240); +$color-main04: rgb(0, 26, 77); \ No newline at end of file diff --git a/sass/base/_font.scss b/sass/base/_font.scss new file mode 100644 index 00000000..a7f76bd3 --- /dev/null +++ b/sass/base/_font.scss @@ -0,0 +1,21 @@ +$font-main: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, sans-serif; +$font-title: "Pontano Sans", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, sans-serif; +$font-mono: Menlo, Monaco, Andale Mono, Lucida console, Courier New, monospace; +$font-serif: "Georgia", serif; + +@import url(http://fonts.googleapis.com/css?family=Pontano+Sans); + +$font-icon: FontAwesome; +$font-icon-path: "/font/fontawesome-webfont"; + +@font-face { + font-family: 'FontAwesome'; + src: url('#{$font-icon-path}.eot'); + src: url('#{$font-icon-path}.eot?#iefix') format('embedded-opentype'), + url('#{$font-icon-path}.woff') format('woff'), + url('#{$font-icon-path}.ttf') format('truetype'), + url('#{$font-icon-path}.svgz#FontAwesomeRegular') format('svg'), + url('#{$font-icon-path}.svg#FontAwesomeRegular') format('svg'); + font-weight: normal; + font-style: normal; +} \ No newline at end of file diff --git a/sass/base/_layout.scss b/sass/base/_layout.scss index 81903428..a6784a21 100644 --- a/sass/base/_layout.scss +++ b/sass/base/_layout.scss @@ -1,192 +1,40 @@ -$max-width: 1200px !default; - -// Padding used for layout margins -$pad-min: 18px !default; -$pad-narrow: 25px !default; -$pad-medium: 35px !default; -$pad-wide: 55px !default; - -// Sidebar widths used in media queries -$sidebar-width-medium: 240px !default; -$sidebar-pad-medium: 15px !default; -$sidebar-pad-wide: 20px !default; -$sidebar-width-wide: 300px !default; - -$indented-lists: false !default; - -$header-font-size: 1em !default; -$header-padding-top: 1.5em !default; -$header-padding-bottom: 1.5em !default; - -.group { @include pie-clearfix; } - -@mixin collapse-sidebar { - float: none; - width: auto; - clear: left; +*{ margin: 0; - padding: 0 $pad-medium 1px; - background-color: lighten($sidebar-bg, 2); - border-top: 1px solid lighten($sidebar-border, 4); - section { - &.odd, &.even { float: left; width: 48%; } - &.odd { margin-left: 0; } - &.even { margin-left: 4%; } - } - &.thirds section { - width: 30%; - margin-left: 5%; - &.first { - margin-left: 0; - clear: both; - } - } + padding: 0; } - -body { - -webkit-text-size-adjust: none; - max-width: $max-width; - position: relative; +body{ + background: $color-background; + font: 300 14px $font-main; + text-shadow: 0 0 1px transparent; +} +h1{ + font-size: 2em; +} +h2{ + font-size: 1.6em; +} +h3{ + font-size: 1.3em; +} +a{ + color: $color-main01; + text-decoration: none; +} +strong{ + font-weight: bold; +} +.alignleft{ + float: left; +} +.alignright{ + float: right; +} +.clearfix{ + @include pie-clearfix; +} +.inner{ margin: 0 auto; - > header, > nav, > footer, #content > article, #content > div > article, #content > div > section { - @extend .group; - padding-left: $pad-min; - padding-right: $pad-min; - @media only screen and (min-width: 480px) { - padding-left: $pad-narrow; - padding-right: $pad-narrow; - } - @media only screen and (min-width: 768px) { - padding-left: $pad-medium; - padding-right: $pad-medium; - } - @media only screen and (min-width: 992px) { - padding-left: $pad-wide; - padding-right: $pad-wide; - } - } - div.pagination { - @extend .group; - margin-left: $pad-min; - margin-right: $pad-min; - @media only screen and (min-width: 480px) { - margin-left: $pad-narrow; - margin-right: $pad-narrow; - } - @media only screen and (min-width: 768px) { - margin-left: $pad-medium; - margin-right: $pad-medium; - } - @media only screen and (min-width: 992px) { - margin-left: $pad-wide; - margin-right: $pad-wide; - } - } - > header { - font-size: $header-font-size; - padding-top: $header-padding-top; - padding-bottom: $header-padding-bottom; - } -} - -#content { - overflow: hidden; - > div, > article { width: 100%; } -} - -aside.sidebar { - float: none; - padding: 0 $pad-min 1px; - background-color: lighten($sidebar-bg, 2); - border-top: 1px solid $sidebar-border; - @extend .group; -} - -.flex-content { max-width: 100%; height: auto; } - -.basic-alignment { - &.left { float: left; margin-right: 1.5em; } - &.right { float: right; margin-left: 1.5em; } - &.center { display:block; margin: 0 auto 1.5em; } - &.left, &.right { margin-bottom: .8em; } -} - -.toggle-sidebar { &, .no-sidebar & { display: none; }} - -body.sidebar-footer { - @media only screen and (min-width: 750px) { - aside.sidebar{ @include collapse-sidebar; } - } - #content { margin-right: 0px; } - .toggle-sidebar { display: none; } -} - -@media only screen and (min-width: 550px) { - body > header { font-size: $header-font-size; } -} -@media only screen and (min-width: 750px) { - aside.sidebar { @include collapse-sidebar; } -} -#main, #content, .sidebar { - @extend .group; -} -@media only screen and (min-width: 768px) { - body { -webkit-text-size-adjust: auto; } - body > header { font-size: $header-font-size * 1.2; } - #main { - padding: 0; - margin: 0 auto; - } - #content { - overflow: visible; - margin-right: $sidebar-width-medium; - position: relative; - .no-sidebar & { margin-right: 0; border-right: 0; } - .collapse-sidebar & { margin-right: 20px; } - > div, > article { - padding-top: $pad-medium/2; - padding-bottom: $pad-medium/2; - float: left; - } - } - aside.sidebar { - width: $sidebar-width-medium - $sidebar-pad-medium*2; - padding: 0 $sidebar-pad-medium $sidebar-pad-medium; - background: none; - clear: none; - float: left; - margin: 0 -100% 0 0; - section { - width: auto; margin-left: 0; - &.odd, &.even { float: none; width: auto; margin-left: 0; } - } - .collapse-sidebar & { - @include collapse-sidebar; - } - } -} - -@media only screen and (min-width: 992px) { - body > header { font-size: $header-font-size * 1.3; } - #content { margin-right: $sidebar-width-wide; } - #content { - > div, > article { - padding-top: $pad-wide/2; - padding-bottom: $pad-wide/2; - } - } - aside.sidebar { - width: $sidebar-width-wide - $sidebar-pad-wide*2; - padding: 1.2em $sidebar-pad-wide $sidebar-pad-wide; - .collapse-sidebar & { - padding: { left: $pad-wide; right: $pad-wide; } - } - } -} - -@if $indented-lists == false { - @media only screen and (min-width: 768px) { - ul, ol { margin-left: 0; } - } -} - + position: relative; + width: 1000px; + z-index: 0; +} \ No newline at end of file diff --git a/sass/base/_utilities.scss b/sass/base/_utilities.scss index 2d49e659..24b6af0f 100644 --- a/sass/base/_utilities.scss +++ b/sass/base/_utilities.scss @@ -1,28 +1,23 @@ -@mixin mask-image($img, $repeat: no-repeat){ - @include experimental(mask-image, image-url($img), -webkit, -moz, -o, -ms); - @include experimental(mask-repeat, $repeat, -webkit, -moz, -o, -ms); - width: image-width($img); - height: image-height($img); +@mixin square($size){ + width: $size; + height: $size; } - -@mixin shadow-box($border: #fff .5em solid, $shadow: rgba(#000, .15) 0 1px 4px, $border-radius: .3em) { - @include border-radius($border-radius); - @include box-shadow($shadow); - @include box-sizing(border-box); - border: $border; +@mixin center($width, $height){ + position: absolute; + top: 50%; + left: 50%; + margin-left: -1/2 * $width; + margin-top: -1/2 * $height; } - -@mixin selection($bg, $color: inherit, $text-shadow: none){ - * { - &::-moz-selection { background: $bg; color: $color; text-shadow: $text-shadow; } - &::-webkit-selection { background: $bg; color: $color; text-shadow: $text-shadow; } - &::selection { background: $bg; color: $color; text-shadow: $text-shadow; } - } +@mixin hide-text{ + text-indent: 100%; + white-space: nowrap; + overflow: hidden; } - -@function text-color($color, $dark: dark, $light: light){ - $text-color: ( (red($color)*299) + (green($color)*587) + (blue($color)*114) ) / 1000; - $text-color: if($text-color >= 150, $dark, $light); - @return $text-color; -} - +@mixin user-select($prop){ + -moz-user-select: $prop; + -khtml-user-select: $prop; + -webkit-user-select: $prop; + -o-user-select: $prop; + user-select: $prop; +} \ No newline at end of file diff --git a/sass/parts/_archive.scss b/sass/parts/_archive.scss new file mode 100644 index 00000000..b5116de3 --- /dev/null +++ b/sass/parts/_archive.scss @@ -0,0 +1,110 @@ +#archive-header{ + height: 2em; + margin-bottom: 50px; + h1{ + color: rgba(255,255,255,0.7); + font-family: $font-title; + font-weight: normal; + line-height: 1; + } + .search{ + input[type="text"]{ + background: rgba(0,0,0,0.3); + border: none; + color: rgba(255,255,255,0.7); + font: 0.9em $font-title; + padding: 7px 12px; + width: 150px; + } + } +} +.archives{ + background: #fff; + border: 1px solid #ddd; + color: $color-font; + margin-bottom: 50px; + box-shadow: 0 0 16px rgba(0,0,0,0.3); + text-align: justify; + position: relative; + @include border-radius(3px); + &:before{ + content: ""; + position: absolute; + top: 0; + left: 0; + width: $meta-width; + height: 100%; + @include background(linear-gradient(left, #ddd, #fff)); + } + .year{ + color: $color-meta; + font: 2em $font-title; + position: absolute; + top: 15px; + left: 20px; + } + article{ + border-left: 1px solid $color-border; + margin-left: $meta-width + 20*2px; + padding: 15px 20px; + position: relative; + &:before{ + content: ""; + position: absolute; + bottom: -6px; + left: -5px; + width: 7px; + height: 7px; + border: 1px solid $color-border; + background: #fff; + z-index: 1; + @include transform(rotate(45deg)); + } + &:last-of-type{ + &:before{ + display: none; + } + } + .title{ + font-family: $font-title; + font-weight: normal; + line-height: 1.1; + a{ + color: $color-font; + } + } + footer{ + color: $color-meta; + font-size: 0.9em; + line-height: 1.6em; + margin-top: 5px; + a{ + color: $color-meta; + &:hover{ + color: darken($color-meta, 20%); + } + } + time{ + &:before{ + content: "\f073"; + font-family: $font-icon; + padding-right: 10px; + } + } + .tags{ + display: inline-block; + margin-left: 25px; + &:before{ + content: "\f02c"; + font-family: $font-icon; + padding-right: 10px; + } + } + } + } +} +.archive{ + box-shadow: none; + border: none; + margin-bottom: 0; +} \ No newline at end of file diff --git a/sass/parts/_article.scss b/sass/parts/_article.scss new file mode 100644 index 00000000..43b0bfdd --- /dev/null +++ b/sass/parts/_article.scss @@ -0,0 +1,274 @@ +$meta-width: 120px; + +article{ + background: #fff; + border: 1px solid #ddd; + color: $color-font; + margin-bottom: 50px; + box-shadow: 0 0 16px rgba(0,0,0,0.3); + text-align: justify; + position: relative; + @include border-radius(3px); + header{ + font-family: $font-title; + padding: 15px 20px; + position: relative; + .title{ + font-weight: normal; + line-height: 1.1; + a{ + color: $color-font; + } + } + time{ + color: $color-meta; + position: absolute; + top: 15px; + left: -$meta-width - 20px; + z-index: 1; + @include user-select(none); + .day{ + font-size: 2em; + } + .month{ + &:before{ + content: " / " + } + } + } + } + .entry-content{ + line-height: 1.6; + padding: 15px 20px 15px; + margin-top: -15px; + p, blockquote, ul, ol, dl, table, iframe, h1, h2, .video-container, .sharing{ + margin-top: 15px; + } + ul, ol, dl{ + margin-left: 20px; + ul, ol, dl{ + margin-top: 0; + } + } + strong{ + font-weight: bold; + } + em{ + font-style: italic; + } + a{ + &:hover{ + text-decoration: underline; + } + } + h1, h2, h3, h4, h5, h6{ + font-family: $font-title; + font-weight: normal; + line-height: 1.1; + } + h1, h2{ + border-top: 1px solid lighten($color-border, 10%); + padding-top: 15px; + } + h3, h4, h5, h6{ + margin-top: 25px; + } + img, video{ + max-width: 100%; + height: auto; + } + blockquote{ + border-top: 1px solid lighten($color-border, 10%); + border-bottom: 1px solid lighten($color-border, 10%); + color: #666; + font-style: italic; + font-size: 1.2em; + font-family: $font-serif; + padding: 10px 25px 25px; + position: relative; + text-align: center; + &:before, &:after{ + position: absolute; + color: $color-border; + line-height: 1; + font-size: 50px; + } + &:before{ + content: "“"; + top: 3px; + left: 0; + } + &:after{ + content: "„"; + bottom: 8px; + right: 0; + } + footer{ + font-size: 0.8em; + color: $color-meta; + line-height: 1.1; + margin-top: 20px; + cite{ + &:before{ + content: "—"; + color: #ccc; + padding: 0 0.5em; + } + } + a{ + color: $color-meta; + text-decoration: underline; + &:hover{ + color: $color-font; + } + } + } + } + iframe{ + border: none; + } + .caption{ + color: $color-meta; + display: block; + font-size: 0.9em; + margin-top: 5px; + &:before{ + font-family: $font-icon; + content: "\f040"; + padding-right: 10px; + } + } + .video-container{ + position: relative; + padding-bottom: 56.25%; + padding-top: 30px; + height: 0; + overflow: hidden; + iframe{ + margin-top: 0; + } + iframe, object, embed{ + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + } + } + .sharing{ + border-top: 1px solid lighten($color-border, 10%); + padding-top: 15px; + iframe{ + margin-top: 0; + } + } + [class^="pullquote"]{ + float: right; + width: 45%; + display: block; + margin: 0.5em 0 1em 1.5em; + color: #666; + font-size: 1.2em; + font-style: italic; + font-family: $font-serif; + position: relative; + padding-left: 35px; + &:before{ + position: absolute; + color: $color-border; + line-height: 1; + font-size: 50px; + top: 0; + content: "“"; + left: 0; + } + } + .pullquote-left{ + float: left; + margin: 0.5em 1.5em 1em 0; + } + } +} + +.post{ + &:before{ + content: ""; + position: absolute; + top: 0; + left: 0; + width: $meta-width; + height: 100%; + @include background(linear-gradient(left, #ddd, #fff)); + } + header, .entry-content{ + border-left: 1px solid $color-border; + margin-left: $meta-width + 20*2px; + } + .entry-content{ + min-height: 130px; + position: relative; + &:before{ + content: ""; + position: absolute; + top: 15px; + left: -5px; + width: 7px; + height: 7px; + border: 1px solid $color-border; + background: #fff; + @include transform(rotate(45deg)); + } + .meta{ + color: $color-meta; + font-size: 0.9em; + position: absolute; + top: 30px; + left: -$meta-width - 20px; + width: $meta-width; + z-index: 1; + a{ + color: $color-meta; + display: block; + &:hover{ + color: darken($color-meta, 20%); + } + } + .tags{ + line-height: 1.6em; + a{ + &:before{ + content: "\f02b"; + font-family: $font-icon; + padding-right: 10px; + } + &:hover{ + text-decoration: none; + } + } + } + .comment{ + margin-top: 20px; + &:before{ + content: "\f075"; + font-family: $font-icon; + padding-right: 8px; + } + &:hover{ + text-decoration: none; + } + } + } + } +} + +.page{ + &:before{ + content: ""; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 60px; + @include background(linear-gradient(top, #ddd, #fff)); + } +} \ No newline at end of file diff --git a/sass/parts/_comment.scss b/sass/parts/_comment.scss new file mode 100644 index 00000000..3458ff04 --- /dev/null +++ b/sass/parts/_comment.scss @@ -0,0 +1,4 @@ +#comment{ + position: relative; + margin: 30px 20px 0; +} \ No newline at end of file diff --git a/sass/parts/_footer.scss b/sass/parts/_footer.scss new file mode 100644 index 00000000..0c0d19ae --- /dev/null +++ b/sass/parts/_footer.scss @@ -0,0 +1,46 @@ +@import "social/*.png"; +#footer{ + color: rgba(255, 255, 255, 0.7); + font-size: 0.9em; + line-height: 1.6; + margin-bottom: 50px; + a{ + color: #fff; + &:hover{ + text-decoration: underline; + } + } + .social{ + a{ + display: inline-block; + opacity: 0.7; + width: 16px; + height: 16px; + margin-left: 10px; + float: left; + @include hide-text; + @include transition(0.3s); + &:hover{ + opacity: 1; + } + &.facebook{ + @include social-sprite(facebook); + } + &.google{ + @include social-sprite(google); + } + &.github{ + @include social-sprite(github); + } + &.twitter{ + @include social-sprite(twitter); + } + &.rss{ + @include social-sprite(rss); + } + &.pinterest{ + @include social-sprite(pinterest); + } + } + } +} \ No newline at end of file diff --git a/sass/parts/_header.scss b/sass/parts/_header.scss new file mode 100644 index 00000000..bcb60b5c --- /dev/null +++ b/sass/parts/_header.scss @@ -0,0 +1,26 @@ +$nav-height: 64 + 3*2px; + +#header{ + height: $nav-height; + padding: 50px 0; + nav{ + font: 1.5em $font-title; + line-height: $nav-height; + ul{ + list-style: none; + text-align: center; + li{ + margin: 0 50px; + display: inline-block; + } + a{ + color: #fff; + opacity: 0.7; + @include transition(0.3s); + &:hover{ + opacity: 1; + } + } + } + } +} \ No newline at end of file diff --git a/sass/parts/_pagination.scss b/sass/parts/_pagination.scss new file mode 100644 index 00000000..d6763ddb --- /dev/null +++ b/sass/parts/_pagination.scss @@ -0,0 +1,34 @@ +#pagenavi{ + font-family: $font-title; + height: 15 + 10px; + position: relative; + margin-bottom: 50px; + a{ + background: $color-main01; + color: #fff; + display: block; + line-height: 15px; + opacity: 0.7; + padding: 5px 15px; + @include border-radius(15px); + @include transition(0.3s); + &:hover{ + opacity: 1; + } + &:before, &:after{ + font-family: $font-icon; + } + } + .prev{ + &:before{ + content: "\f053"; + padding-right: 15px; + } + } + .next{ + &:after{ + content: "\f054"; + padding-left: 15px; + } + } +} \ No newline at end of file diff --git a/sass/parts/_phasebeam.scss b/sass/parts/_phasebeam.scss new file mode 100644 index 00000000..072b6a60 --- /dev/null +++ b/sass/parts/_phasebeam.scss @@ -0,0 +1,15 @@ +#phasebeam{ + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: -1; + canvas{ + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + } +} \ No newline at end of file diff --git a/sass/parts/_syntax.scss b/sass/parts/_syntax.scss new file mode 100644 index 00000000..7a1f8466 --- /dev/null +++ b/sass/parts/_syntax.scss @@ -0,0 +1,387 @@ +$base03: #002b36 !default; //darkest blue +$base02: #073642 !default; //dark blue +$base01: #586e75 !default; //darkest gray +$base00: #657b83 !default; //dark gray +$base0: #839496 !default; //medium gray +$base1: #93a1a1 !default; //medium light gray +$base2: #eee8d5 !default; //cream +$base3: #fdf6e3 !default; //white +$solar-yellow: #b58900 !default; +$solar-orange: #cb4b16 !default; +$solar-red: #dc322f !default; +$solar-magenta: #d33682 !default; +$solar-violet: #6c71c4 !default; +$solar-blue: #268bd2 !default; +$solar-cyan: #2aa198 !default; +$solar-green: #859900 !default; + +$solarized: light !default; + +@if $solarized == light { + + $_base03: $base03; + $_base02: $base02; + $_base01: $base01; + $_base00: $base00; + $_base0: $base0; + $_base1: $base1; + $_base2: $base2; + $_base3: $base3; + + $base03: $_base3; + $base02: $_base2; + $base01: $_base1; + $base00: $_base0; + $base0: $_base00; + $base1: $_base01; + $base2: $_base02; + $base3: $_base03; +} + +$pre-bg: #eee; +$pre-border: lighten($color-border, 10%); + +article{ + code, pre{ + background: $pre-bg; + border: 1px solid $pre-border; + font-family: $font-mono; + } + code{ + font-size: 0.9em; + padding: 1px 3px; + margin: 0 3px; + @include border-radius(5px); + } + pre{ + font-size: 1 / 0.9em; + line-height: 1.5; + margin-top: 15px; + padding: 5px 15px; + overflow-x: auto; + @include border-radius(5px); + code{ + background: none; + border: none; + padding: 0; + margin: 0; + @include border-radius(0); + } + } +} + +figure.code{ + background: $pre-bg; + border: 1px solid $pre-border; + margin-top: 15px; + padding: 5px 15px; + @include border-radius(5px); + figcaption{ + font-size: 0.9em; + position: relative; + span{ + margin: -5px -15px 0; + padding: 5px 15px; + display: block; + @include background(linear-gradient(top, $pre-border, $pre-bg)); + &:empty{ + display: none; + } + } + a{ + position: absolute; + top: 5px; + right: 0; + } + } + code, pre{ + background: none; + border: none; + padding: 0; + margin: 0; + @include border-radius(0); + } + .highlight{ + overflow-x: auto; + } + .line-numbers{ + border-right: 1px solid $pre-border; + font-family: $font-mono; + padding-right: 15px; + text-align: right; + } + table{ + border: none; + text-align: left; + margin-top: 0 !important; + td{ + text-align: left; + } + } + td.code{ + width: 100%; + padding-left: 15px; + overflow-x: auto; + } +} +.entry-content .gist{ + background: $pre-bg; + color: $color-meta; + padding: 30px 15px 5px; + margin-top: 15px; + border: 1px solid $pre-border; + position: relative; + overflow: hidden; + @include border-radius(5px); + .gist-file{ + margin: 0; + .gist-data{ + background: none; + border: none; + pre{ + font: 0.9em $font-mono; + line-height: 1.5; + } + } + .gist-meta{ + font: 300 0.9em $color-font; + line-height: 1.5; + margin: 0 -16px -6px; + padding: 5px 15px; + @include background(linear-gradient(top, $pre-bg, $pre-border)); + a{ + color: $color-main01; + &:first-of-type{ + position: absolute; + top: 5px; + right: 15px; + z-index: 1; + } + &:nth-of-type(2){ + position: absolute; + top: 0; + left: 0; + padding: 5px 15px; + width: 100%; + @include background(linear-gradient(top, $pre-border, $pre-bg)); + } + } + } + } +} +figure.code, .gist-highlight{ + .c { + color:$base01 !important; + font-style: italic !important; + } + /* Comment */ + .cm { + color:$base01 !important; + font-style: italic !important; + } + /* Comment.Multiline */ + .cp { + color:$base01 !important; + font-style: italic !important; + } + /* Comment.Preproc */ + .c1 { + color:$base01 !important; + font-style: italic !important; + } + /* Comment.Single */ + .cs { + color:$base01 !important; + font-weight:bold !important; + font-style: italic !important; + } + /* Comment.Special */ + .err { + color:$solar-red !important; + background: none !important; + } + /* Error */ + .k { + color: $solar-orange !important; + } + /* Keyword */ + .o { + color:$base1 !important; + font-weight: bold !important; + } + /* Operator */ + .p { + color: $base1 !important; + } + /* Operator */ + .ow { + color:$solar-cyan !important; + font-weight: bold !important; + } + /* Operator.Word */ + .gd { + color:$base1 !important; + background-color:mix($solar-red,$base03,25%) !important; + display: inline-block; + } + /* Generic.Deleted */ + .gd .x { + color:$base1 !important; + background-color:mix($solar-red,$base03,35%) !important; + display: inline-block; + } + /* Generic.Deleted.Specific */ + .ge { + color:$base1 !important; + font-style: italic !important; + } + /* Generic.Emph */ + .gh { + color: $base01 !important; + } + /* Generic.Heading */ + .gi { + color:$base1 !important; + background-color:mix($solar-green,$base03,20%) !important; + display: inline-block; + } + /* Generic.Inserted */ + .gi .x { + color:$base1 !important; + background-color:mix($solar-green,$base03,40%) !important; + display: inline-block; + } + /* Generic.Inserted.Specific */ + .gs { + color:$base1 !important; + font-weight: bold !important; + } + /* Generic.Strong */ + .gu { + color: $solar-violet !important; + } + /* Generic.Subheading */ + .kc { + color:$solar-green !important; + font-weight: bold !important; + } + /* Keyword.Constant */ + .kd { + color: $solar-blue !important; + } + /* Keyword.Declaration */ + .kp { + color:$solar-orange !important; + font-weight: bold !important; + } + /* Keyword.Pseudo */ + .kr { + color:$solar-magenta !important; + font-weight: bold !important; + } + /* Keyword.Reserved */ + .kt { + color: $solar-cyan !important; + } + /* Keyword.Type */ + .n { + color:$solar-blue !important; + } + .na { + color: $solar-blue !important; + } + /* Name.Attribute */ + .nb { + color: $solar-green !important; + } + /* Name.Builtin */ + .nc { + color: $solar-magenta !important; + } + /* Name.Class */ + .no { + color: $solar-yellow !important; + } + /* Name.Constant */ + .nl { + color:$solar-green !important; + } + .ne { + color:$solar-blue !important; + font-weight: bold !important; + } + /* Name.Exception */ + .nf { + color:$solar-blue !important; + font-weight: bold !important; + } + /* Name.Function */ + .nn { + color: $solar-yellow !important; + } + /* Name.Namespace */ + .nt { + color:$solar-blue !important; + font-weight: bold !important; + } + /* Name.Tag */ + .nx { + color:$solar-yellow !Important; + } + .vg { + color: $solar-blue !important; + } + /* Name.Variable.Global */ + .vi { + color: $solar-blue !important; + } + /* Name.Variable.Instance */ + .nv { + color: $solar-blue !important; + } + /* Name.Variable */ + .mf { + color: $solar-cyan !important; + } + /* Literal.Number.Float */ + .m { + color: $solar-cyan !important; + } + /* Literal.Number */ + .mh { + color: $solar-cyan !important; + } + /* Literal.Number.Hex */ + .mi { + color: $solar-cyan !important; + } + /* Literal.Number.Integer */ + .s { + color: $solar-cyan !important; + } + /* Literal.String */ + .sd { + color: $solar-cyan !important; + } + /* Literal.String.Doc */ + .s2 { + color: $solar-cyan !important; + } + /* Literal.String.Double */ + .se { + color: $solar-red !important; + } + /* Literal.String.Escape */ + .si { + color: $solar-blue !important; + } + /* Literal.String.Interpol */ + .sr { + color: $solar-cyan !important; + } + /* Literal.String.Regex */ + .s1 { + color: $solar-cyan !important; + } + /* Literal.String.Single */ +} diff --git a/sass/plugins/_fancybox.scss b/sass/plugins/_fancybox.scss new file mode 100644 index 00000000..9dfb6f92 --- /dev/null +++ b/sass/plugins/_fancybox.scss @@ -0,0 +1,234 @@ +/*! fancyBox v2.0.6 fancyapps.com | fancyapps.com/fancybox/#license */ +.fancybox-tmp iframe, .fancybox-tmp object { + vertical-align: top; + padding: 0; + margin: 0; +} + +.fancybox-wrap { + position: absolute; + top: 0; + left: 0; + z-index: 8020; +} + +.fancybox-skin { + position: relative; + padding: 0; + margin: 0; + background: #f9f9f9; + color: #444; + text-shadow: none; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +.fancybox-opened { + z-index: 8030; +} + +.fancybox-opened .fancybox-skin { + -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); + -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); + box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); +} + +.fancybox-outer, .fancybox-inner { + padding: 0; + margin: 0; + position: relative; + outline: none; +} + +.fancybox-inner { + overflow: hidden; +} + +.fancybox-type-iframe .fancybox-inner { + -webkit-overflow-scrolling: touch; +} + +.fancybox-error { + color: #444; + font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; + margin: 0; + padding: 10px; +} + +.fancybox-image, .fancybox-iframe { + display: block; + width: 100%; + height: 100%; + border: 0; + padding: 0; + margin: 0; + vertical-align: top; +} + +.fancybox-image { + max-width: 100%; + max-height: 100%; +} + +#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span { + background-image: image-url('fancybox/fancybox_sprite.png'); +} + +#fancybox-loading { + position: fixed; + top: 50%; + left: 50%; + margin-top: -22px; + margin-left: -22px; + background-position: 0 -108px; + opacity: 0.8; + cursor: pointer; + z-index: 8020; +} + +#fancybox-loading div { + width: 44px; + height: 44px; + background: image-url('fancybox/fancybox_loading.gif') center center no-repeat; +} + +.fancybox-close { + position: absolute; + top: -18px; + right: -18px; + width: 36px; + height: 36px; + cursor: pointer; + z-index: 8040; +} + +.fancybox-nav { + position: absolute; + top: 0; + width: 40%; + height: 100%; + cursor: pointer; + background: transparent image-url('fancybox/blank.gif'); /* helps IE */ + -webkit-tap-highlight-color: rgba(0,0,0,0); + z-index: 8040; +} + +.fancybox-prev { + left: 0; +} + +.fancybox-next { + right: 0; +} + +.fancybox-nav span { + position: absolute; + top: 50%; + width: 36px; + height: 34px; + margin-top: -18px; + cursor: pointer; + z-index: 8040; + visibility: hidden; +} + +.fancybox-prev span { + left: 20px; + background-position: 0 -36px; +} + +.fancybox-next span { + right: 20px; + background-position: 0 -72px; +} + +.fancybox-nav:hover span { + visibility: visible; +} + +.fancybox-tmp { + position: absolute; + top: -9999px; + left: -9999px; + padding: 0; + overflow: visible; + visibility: hidden; +} + +/* Overlay helper */ + +#fancybox-overlay { + position: absolute; + top: 0; + left: 0; + overflow: hidden; + display: none; + z-index: 8010; + background: #000; +} + +#fancybox-overlay.overlay-fixed { + position: fixed; + bottom: 0; + right: 0; +} + +/* Title helper */ + +.fancybox-title { + visibility: hidden; + font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; + position: relative; + text-shadow: none; + z-index: 8050; +} + +.fancybox-opened .fancybox-title { + visibility: visible; +} + +.fancybox-title-float-wrap { + position: absolute; + bottom: 0; + right: 50%; + margin-bottom: -35px; + z-index: 8030; + text-align: center; +} + +.fancybox-title-float-wrap .child { + display: inline-block; + margin-right: -100%; + padding: 2px 20px; + background: transparent; /* Fallback for web browsers that doesn't support RGBa */ + background: rgba(0, 0, 0, 0.8); + -webkit-border-radius: 15px; + -moz-border-radius: 15px; + border-radius: 15px; + text-shadow: 0 1px 2px #222; + color: #FFF; + font-weight: bold; + line-height: 24px; + white-space: nowrap; +} + +.fancybox-title-outside-wrap { + position: relative; + margin-top: 10px; + color: #fff; +} + +.fancybox-title-inside-wrap { + margin-top: 10px; +} + +.fancybox-title-over-wrap { + position: absolute; + bottom: 0; + left: 0; + color: #fff; + padding: 10px; + background: #000; + background: rgba(0, 0, 0, .8); +} \ No newline at end of file diff --git a/sass/screen.scss b/sass/screen.scss index 1899f608..96025e39 100644 --- a/sass/screen.scss +++ b/sass/screen.scss @@ -1,10 +1,5 @@ @import "compass"; -@include global-reset; -@include reset-html5; -@import "custom/colors"; -@import "custom/fonts"; -@import "custom/layout"; @import "base"; -@import "partials"; -@import "custom/styles"; +@import "parts"; +@import "plugins"; \ No newline at end of file diff --git a/source/_posts/2010-09-18-a-new-begins.markdown b/source/_posts/2010-09-18-a-new-begins.markdown index 6c4495e7..7950ea14 100644 --- a/source/_posts/2010-09-18-a-new-begins.markdown +++ b/source/_posts/2010-09-18-a-new-begins.markdown @@ -1,6 +1,7 @@ --- title: 一个全新的开始 author: wahyd4 +comments: true excerpt: | | 我们想大声的宣布大染志今天上线啦!!! @@ -40,4 +41,4 @@ tags:

-

\ No newline at end of file +

diff --git a/source/_posts/2010-09-19-blue-tooth-one.markdown b/source/_posts/2010-09-19-blue-tooth-one.markdown index 39683979..9ba7e537 100644 --- a/source/_posts/2010-09-19-blue-tooth-one.markdown +++ b/source/_posts/2010-09-19-blue-tooth-one.markdown @@ -1,6 +1,7 @@ --- title: 蓝牙手机控制电脑——不是梦!(1) author: wahyd4 +comments: true layout: post permalink: /2010/09/blue-tooth-one/ categories: @@ -77,4 +78,4 @@ Disconnect idle 里面则表示多少时间手机不操作则断开手机与电 ## [蓝牙手机控制电脑——不是梦!(2)][1] - [1]: http://www.junv.info/2010/09/19/%e8%93%9d%e7%89%99%e6%89%8b%e6%9c%ba%e6%8e%a7%e5%88%b6%e7%94%b5%e8%84%91%e2%80%94%e2%80%94%e4%b8%8d%e6%98%af%e6%a2%a6%ef%bc%812/ \ No newline at end of file + [1]: http://www.junv.info/2010/09/19/%e8%93%9d%e7%89%99%e6%89%8b%e6%9c%ba%e6%8e%a7%e5%88%b6%e7%94%b5%e8%84%91%e2%80%94%e2%80%94%e4%b8%8d%e6%98%af%e6%a2%a6%ef%bc%812/ diff --git a/source/_posts/2010-09-19-blue-tooth.markdown b/source/_posts/2010-09-19-blue-tooth.markdown index eb04fd41..793b64ea 100644 --- a/source/_posts/2010-09-19-blue-tooth.markdown +++ b/source/_posts/2010-09-19-blue-tooth.markdown @@ -1,6 +1,7 @@ --- title: 蓝牙手机控制电脑——不是梦!(2) author: wahyd4 +comments: true layout: post permalink: /2010/09/blue-tooth/ categories: @@ -68,4 +69,4 @@ tags: 点击下载 - [1]: http://www.junv.info/2010/09/19/%e8%93%9d%e7%89%99%e6%89%8b%e6%9c%ba%e6%8e%a7%e5%88%b6%e7%94%b5%e8%84%91%e2%80%94%e2%80%94%e4%b8%8d%e6%98%af%e6%a2%a6%ef%bc%811/ \ No newline at end of file + [1]: http://www.junv.info/2010/09/19/%e8%93%9d%e7%89%99%e6%89%8b%e6%9c%ba%e6%8e%a7%e5%88%b6%e7%94%b5%e8%84%91%e2%80%94%e2%80%94%e4%b8%8d%e6%98%af%e6%a2%a6%ef%bc%811/ diff --git a/source/_posts/2010-09-19-end-of-the-summer.markdown b/source/_posts/2010-09-19-end-of-the-summer.markdown index f548d5a5..adffe9e2 100644 --- a/source/_posts/2010-09-19-end-of-the-summer.markdown +++ b/source/_posts/2010-09-19-end-of-the-summer.markdown @@ -2,6 +2,7 @@ title: end of the summer author: wahyd4 layout: post +comments: true permalink: /2010/09/end-of-the-summer/ categories: - 《 theLun》 @@ -10,4 +11,4 @@ categories: [][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/DSC02310jpg diff --git a/source/_posts/2010-09-19-recuva.markdown b/source/_posts/2010-09-19-recuva.markdown index 53449490..9eb0dc40 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 30e2c437..ef8bbfe6 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 c82c98fc..5b9ac436 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 76a31c28..dcf0ee4a 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 937499e6..807f3b1d 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 5d889799..39aae033 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 3be3100f..c71ba6e3 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 4397fad0..f57ba383 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 7a16fb14..3ecde62e 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 94360396..99bdddad 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 c5300609..8f5bab65 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 d7c7170f..b7fae0d9 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 5fcf2b15..bfd97d79 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 8884f168..994a6ce6 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 551cc6ef..86246bdc 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 d6affda1..be321de1 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 726c7316..8a36e83d 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 4e0657d6..8663e017 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 da1a4a43..a45a962a 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: 可以从中下载。 -翻译与完形填空、选词填空都需要平时词汇的积累,所以从现在起,要开始好好学习。 \ No newline at end of file +翻译与完形填空、选词填空都需要平时词汇的积累,所以从现在起,要开始好好学习。 diff --git a/source/_posts/2010-10-07-tk-free.markdown b/source/_posts/2010-10-07-tk-free.markdown index d296fdea..122aff16 100644 --- a/source/_posts/2010-10-07-tk-free.markdown +++ b/source/_posts/2010-10-07-tk-free.markdown @@ -1,6 +1,7 @@ --- title: .tk顶级域名免费注册啦 author: wahyd4 +comments: true excerpt: | 笔者在浏览网页时,发现一个可以免费注册的顶级域名,而且还比较短哦。那就是.tk @@ -38,4 +39,4 @@ tags: 如果个别童鞋仍然搞不懂域名注册,请在后门留言吧,我会尽快帮你解决的。 [1]: http://www.junv.info/wp-content/uploads/2010/10/regdom.jpg - [2]: http://www.junv.info/wp-content/uploads/2010/10/reg1.jpg \ No newline at end of file + [2]: http://www.junv.info/wp-content/uploads/2010/10/reg1.jpg diff --git a/source/_posts/2010-10-07-xiami-free-download.markdown b/source/_posts/2010-10-07-xiami-free-download.markdown index b58a361c..4763d3ae 100644 --- a/source/_posts/2010-10-07-xiami-free-download.markdown +++ b/source/_posts/2010-10-07-xiami-free-download.markdown @@ -1,6 +1,7 @@ --- title: 虾米正版音乐免费下载 author: wahyd4 +comments: true excerpt: > 也许很多在网上听歌的童鞋都知道虾米这个网站吧,他是一个web 2.0 @@ -41,4 +42,4 @@ tags: 虾米地址: -虾歌下载地址: \ No newline at end of file +虾歌下载地址: diff --git a/source/_posts/2010-10-08-haha.markdown b/source/_posts/2010-10-08-haha.markdown index 645b8797..ff74a8f5 100644 --- a/source/_posts/2010-10-08-haha.markdown +++ b/source/_posts/2010-10-08-haha.markdown @@ -1,9 +1,10 @@ --- title: 提个神。 author: wahyd4 +comments: true excerpt: | - 晚餐时间。各位吃过了吗?来欣赏一下这张颇具艺术感的图片吧。 - + 晚餐时间。各位吃过了吗?来欣赏一下这张颇具艺术感的图片吧。 + 出自哪位摄影师之手本人目前尚未知。只是看着这张图不由会想起余华的《兄弟》里对于那些个“屁股”的描写。 layout: post permalink: /2010/10/haha/ @@ -21,4 +22,4 @@ categories: 构图也非常棒。不仅重点突出,更是让观众的视线随着后背脊柱而一直向前延伸。展开的五指使人感受到人体的力量。 -人体摄影不过艺术,你我皆非专业人士,全当娱乐欣赏罢。只是不知图中之物所属雌雄。您觉得呢? \ No newline at end of file +人体摄影不过艺术,你我皆非专业人士,全当娱乐欣赏罢。只是不知图中之物所属雌雄。您觉得呢? diff --git a/source/_posts/2010-10-08-three-nations.markdown b/source/_posts/2010-10-08-three-nations.markdown index 12705431..27269df8 100644 --- a/source/_posts/2010-10-08-three-nations.markdown +++ b/source/_posts/2010-10-08-three-nations.markdown @@ -1,6 +1,7 @@ --- title: 巨经典的网页游戏《三国杀》 author: wahyd4 +comments: true excerpt: > 作为一个忠实的三国粉丝,今天为大家推荐一款虽然有点落伍的三国游戏《三国杀》,但是它的可玩性很不错哦!可以算是网页游戏中比较有内涵,有质量的精品! layout: post @@ -26,6 +27,6 @@ categories: 《三国杀》,看谁不爽,就杀谁。你,还等什么呢? - [1]: http://www.junv.info/wp-content/uploads/2010/10/图片1.jpg + [1]: http://www.junv.info/wp-content/uploads/2010/10/1.jpg [2]: http://www.junv.info/wp-content/uploads/2010/10/f2264e2cd53cfcde8813996f.jpg - [3]: http://www.junv.info/wp-content/uploads/2010/10/图片2.jpg \ No newline at end of file + [3]: http://www.junv.info/wp-content/uploads/2010/10/2.jpg diff --git a/source/_posts/2010-10-09-a-platform.markdown b/source/_posts/2010-10-09-a-platform.markdown index 165bca18..8f052daa 100644 --- a/source/_posts/2010-10-09-a-platform.markdown +++ b/source/_posts/2010-10-09-a-platform.markdown @@ -1,6 +1,7 @@ --- title: 为您学习网络安全知识 搭建一个简单而快捷的平台 author: wahyd4 +comments: true excerpt: > 当我们在使用电脑的时候,或多或少会遇到有关网络安全的问题,我们是否懂呢?我们或许对人难以启齿的问,可是自己也不免有不知道的时候,那就请你看看下面的内容吧。希望对你们有所帮助。 layout: post @@ -47,4 +48,4 @@ tags: - [1]: http://www.junv.info/wp-content/uploads/2010/10/200914135159.jpg \ No newline at end of file + [1]: http://www.junv.info/wp-content/uploads/2010/10/200914135159.jpg diff --git a/source/_posts/2010-10-24-google-chrome.markdown b/source/_posts/2010-10-24-google-chrome.markdown index c7fd11a1..46d6af3f 100644 --- a/source/_posts/2010-10-24-google-chrome.markdown +++ b/source/_posts/2010-10-24-google-chrome.markdown @@ -1,6 +1,7 @@ --- title: 几款google chrome浏览器扩展程序(app) author: wahyd4 +comments: true excerpt: > 笔者作为一个忠实的chrome粉丝,一直坚持用chrome浏览器,除了淘宝和网银这些不得不用IE。老实说你用过了chrome 你就一点也不想再回去用IE 8这样的蜗牛浏览器,用chrome @@ -46,8 +47,8 @@ tags: [1]: https://chrome.google.com/extensions?hl=zh-CN [2]: https://chrome.google.com/extensions/detail/alelhddbbhepgpmgidjdcjakblofbmce - [3]: http://www.junv.info/wp-content/uploads/2010/10/下载_conew1.jpg + [3]: http://www.junv.info/wp-content/uploads/2010/10/_conew1.jpg [4]: https://chrome.google.com/extensions/detail/dbpojpfdiliekbbiplijcphappgcgjfn - [5]: http://www.junv.info/wp-content/uploads/2010/10/QQ截图未命名.jpg + [5]: http://www.junv.info/wp-content/uploads/2010/10/Q.jpg [6]: https://chrome.google.com/extensions/detail/lambangeielkjcnmioccboaphdfcffib - [7]: http://www.junv.info/wp-content/uploads/2010/10/1132sdasaz.jpg \ No newline at end of file + [7]: http://www.junv.info/wp-content/uploads/2010/10/1132sdasaz.jpg diff --git a/source/_posts/2010-10-24-m9.markdown b/source/_posts/2010-10-24-m9.markdown index 360c33a5..1bade956 100644 --- a/source/_posts/2010-10-24-m9.markdown +++ b/source/_posts/2010-10-24-m9.markdown @@ -1,6 +1,7 @@ --- title: 且说M9 author: wahyd4 +comments: true excerpt: > M9这个名字已经出现了N久N久,从最开始说有tds-cdma 和wcdma 两个版本,到现在M9只有WCDMA版本。一款手机让我们等了太久,太久。 @@ -31,4 +32,4 @@ M9这个名字已经出现了N久N久,从最开始说有tds-cdma 和wcdma 两 附上M9最新图片一张:[][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 2a8a94ce..5a381240 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: @@ -160,7 +161,7 @@ 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 + [1]: http://www.junv.info/wp-content/uploads/2010/10/.jpg + [2]: http://www.junv.info/wp-content/uploads/2010/10/Java.jpg + [3]: http://www.junv.info/wp-content/uploads/2010/10/Java.jpg + [4]: http://www.junv.info/wp-content/uploads/2010/10/JAVA-2.jpg diff --git a/source/_posts/2010-10-27-speedupmypc.markdown b/source/_posts/2010-10-27-speedupmypc.markdown index 79f70bc0..a2b47e85 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 4446c271..c55078a5 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 83d18933..8b1a8ff8 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 ae324ec8..2eab36a1 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 905ce2ea..faac0c17 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:

免费VPN(Tenacy)

- \ 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 c596e6dd..2f824afb 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 66877e94..485420e8 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 30d5ba65..a95b0692 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 0d1428a1..3228da7f 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 8230c3cd..81d458cf 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游戏发布地址: 需要注册哦。 [1]: /images/2010/11/20101025160542364.jpg - [2]: /images/2010/11/11-9_conew1.jpg \ No newline at end of file + [2]: /images/2010/11/11-9_conew1.jpg diff --git a/source/_posts/2010-11-10-java-9-9.md b/source/_posts/2010-11-10-java-9-9.md index 776f4cd4..22698030 100644 --- a/source/_posts/2010-11-10-java-9-9.md +++ b/source/_posts/2010-11-10-java-9-9.md @@ -1,6 +1,7 @@ --- title: Java双重循环的典型应用(九九乘法表) author: wahyd4 +comments: true excerpt: > 刚才正好在看JAVA的双重循环这一块,然后突然就想到了很经典的九九乘法表。因为我们之前C语言里面也写过这样的程序。所以我就试着写这个程序。 layout: post @@ -13,40 +14,40 @@ tags: 刚才正好在看JAVA的双重循环这一块,然后突然就想到了很经典的九九乘法表。因为我们之前C语言里面也写过这样的程序。所以我就试着写这个程序。确实在试的过程中还是发现很多问题和值得注意的地方。下面慢慢说来。 用JAVA写的九九乘法表。 -
{
-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 e4e0a212..d616d177 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 b36bfd85..1a090524 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 35642997..558d04c2 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 1385abe6..8a23c734 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 a209191c..410e332c 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 5b51caf8..e6d39ff3 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 72b0242b..260fa493 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 4f6e34c7..31691b47 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 ac896b94..8cf93158 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 b53720dc..d9b34ca8 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 954fac3b..6b089921 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 dca8c2c9..d221410b 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 5b8a8c3d..0de12b0e 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 97ac7731..71f2205e 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 54f4b8fe..6e46e592 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 e8947fd2..cb384665 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 af637c36..a4bbe5fa 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 76724b2f..e0a15c21 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 99e0c901..17f0aea7 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 e48e7763..45b68f13 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 324bfcb5..e5f1904d 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 7d742b5a..a7860faa 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 96557c5e..882518f1 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 ef705078..1c97c826 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 2ac8b597..3b7ca0f9 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 31b54cb9..4e7c2a55 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 d2503a97..7dad4490 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 111b25b4..5f102887 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 23ba032b..e770a8db 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 155cb771..5696b5f2 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 40f9b536..6b316b22 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 5533e5de..868eb802 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 6656155a..433d542a 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 bb1e9df4..7edab2db 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 9886af3e..2c68c2fa 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 e3c9dbf8..21bb415c 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 5abe5ffd..cf20bb42 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 8917b05d..166e2867 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 38a64d69..ff3f6d6e 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 f2cb88f5..17f03a9e 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 54c9e0e3..44752702 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 27ae9324..97ee3478 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 1cc65eb3..a2c9af29 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 84a4c925..0c2dcf07 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 fffb0c21..a5ef4365 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 e248b7a6..b4e9f3f4 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 7ebf10cd..a5731330 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 5be215fa..d7169d2b 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 6eff80d7..bd402e2c 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 4d3375be..bb278fe4 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 9512bf34..2527209c 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 13d2d78e..3528038f 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 525f890d..c3d2b710 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 63040f16..b4d0e003 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 14e41d63..acc0c23c 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 bd9fac55..d10533b5 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 5aa4d5ee..d634aaa3 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 07ff4878..3254155f 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 5f31b9d0..c2fd21fd 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 9a633b94..ff8288d7 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 591c0a00..9994fef8 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 26c45968..76ccf0d8 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 48e5e56c..345cc94e 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 7a12b0dd..8a35b6f8 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 2f8be6dc..5e40f04e 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 88a1be53..2be086f2 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 d56050b4..4db2db20 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 84ce5795..62032d0c 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 242fd2b9..99f9942c 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 452e69b5..9b754bb8 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 6f1dcdcd..d71c69af 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 65130fb9..de11eb8a 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 78b6c33a..8b8680ab 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 5c2e7c12..e5b87f68 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 7fa7162c..b950f58f 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 41517262..bfdd6727 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 b7738bcd..d4c3e42b 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 04291779..0917d9e1 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 7c46d5d9..fbd02a14 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 fe783ce5..2c344670 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 27d0395d..0ca3114e 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 4e57dd82..8c1b776c 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 61ec3ac9..9608dd18 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 7a3a9576..7598bb4f 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 6d84ce74..0347889c 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 4ea97960..dc81002a 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 055a287d..f25f0e4d 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 d6e36ef7..54a6f01d 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 3b680489..f26cc2cf 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 055017b9..ee565ae1 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 3876c94b..f1dc76c6 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 53b14f73..d550dcb4 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 caa43fe9..03203a13 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 be3d1a21..c0190c35 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 798b445a..8a3a2940 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 f23e46a4..6a80739a 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 bba6cd67..75420121 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 b544b317..d59a012f 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 7bc019e8..8cdec094 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 965081a2..ca423423 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 15360d2c..5a9ce65f 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 33fde0a5..59689e8a 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 da242979..1fd18bdd 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 4fd7eeae..27b8459f 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 772b4fda..0b154547 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 a187cccb..343b6347 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 b413de1b..4709f965 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 95258f52..1af368a1 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 d153da6a..3f43e0dc 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 cb246132..eff3b9b1 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 e3ec4779..5dd44d33 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 d6d4d494..a8d39526 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 5e7890a6..6745e13a 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 53ee25ab..53dcd80d 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 df358856..e7cf4491 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 4515b3c5..42c66ee1 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 3ac39dfb..21d22cda 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 e102537a..b5a6a367 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 f25be120..9901383d 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 d9f5893c..de98690f 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 351ac04d..64ca8852 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 a9b8e3bf..90a1f271 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 d577129a..249e94f6 100644 --- a/source/_posts/2012-01-12-maven-study-case-one.md +++ b/source/_posts/2012-01-12-maven-study-case-one.md @@ -1,11 +1,12 @@ --- title: Maven 学习入门 1 author: wahyd4 +comments: true layout: post permalink: /2012/01/maven-study-case-one/ categories: - java - - MAVEN + - maven - 各类教程 tags: - java @@ -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 57612f4f..bfbe4a96 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,11 +1,12 @@ --- title: 使用maven部署项目到tomcat 7 author: wahyd4 +comments: true layout: post permalink: /2012/01/use-maven-deploy-totomcat-7/ categories: - java - - MAVEN + - maven tags: - java - maven @@ -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 a0776427..7ca87a22 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 6f76dfc0..cf4dcf3e 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 352cf127..87e2166f 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 3b9012f9..f3d9cedf 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,12 +1,13 @@ --- 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: - java - jboss - - MAVEN + - maven tags: - java - jboss @@ -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 c2460c2c..4a16b2e9 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 e7102d87..0bf63cd4 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 dd078c63..db99de27 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 d8b3b05a..c25569b6 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 a02e21f5..9f0c1bcb 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 02615326..aba9772e 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 42c31fcb..2ce52f47 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 32d581c4..8ab9be41 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 62a211aa..3d1da5b4 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 539ddf58..1aea8cce 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 4f388d1e..6c5a0007 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 里面所有对象都是可以被全屏的,如: