This repository has been archived by the owner on Oct 31, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The source file should be updated with the blog site so that it can be cloned on other devices.
- Loading branch information
1 parent
d156ce2
commit 8c7be99
Showing
9 changed files
with
146 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<ul class="main-navigation"> | ||
<li><a href="{{ root_url }}/about">About</a></li> | ||
<li><a href="{{ root_url }}/">Blog</a></li> | ||
<li><a href="{{ root_url }}/blog/archives">Archives</a></li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
layout: post | ||
title: "My First Octopress Post" | ||
date: 2014-02-16 20:18:17 +0800 | ||
comments: true | ||
categories: | ||
--- | ||
[Zerodie](http://zerodie.github.io/blog/2012/01/19/octopress-github-pages/) | ||
has found a mistake in | ||
[*Blogging Basics*](http://octopress.org/docs/blogging/). | ||
|
||
<!-- vim:set tw=70 wrap spell: --> |
38 changes: 38 additions & 0 deletions
38
source/_posts/2014-03-01-git-status-of-my-octopress-folder.markdown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
layout: post | ||
title: "Git status of my Octopress folder" | ||
date: 2014-03-01 17:32:29 +0800 | ||
comments: true | ||
categories: | ||
--- | ||
I'd like to include my GitHub repositories here. To do so, it's a | ||
piece of cake to slightly modify `_config.yml`.[^config_octopress] | ||
|
||
Once, I curiously typed `git status` in `~/octopress`. The following | ||
screenshot is from my terminal. | ||
|
||
{% img /images/git_status.png 'git status' 'git status' %} | ||
|
||
Then I blindly followed the "advice" of `git status` and typed | ||
|
||
``` | ||
$ git add . | ||
``` | ||
|
||
It seemed that I had made a mistake. Actually, **without adding those | ||
modified and untracked files on the stage for commit**, the following | ||
two commands will do. | ||
|
||
``` | ||
$ rake generate | ||
$ rake deploy | ||
``` | ||
|
||
The final step is to view your blog again after going out for a cup | ||
water or some snacks. | ||
|
||
How about the `git status`? Simply *forget about it*! | ||
|
||
[^config_octopress]: [Configuring Octopress](http://octopress.org/docs/configuring/) | ||
|
||
<!-- vim:set tw=70 wrap spell: --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
layout: post | ||
title: "A Vim Lover Page" | ||
date: 2014-03-02 14:39:20 +0800 | ||
comments: true | ||
categories: | ||
--- | ||
I've found [a useful page](http://wiki.hotoo.me/Vim.html) introducing | ||
a Vim lover. It consists of plenty of links to many useful resources. | ||
Unfortunately, for Vim users who *can't* understand Chinese, I'm not | ||
sure if they can understand the contents of the page. I hope Google | ||
Translation can help. Otherwise, they can also find some hyperlinks | ||
which take them to other English websites. | ||
|
||
<!-- vim:set tw=70 wrap spell: --> |
30 changes: 30 additions & 0 deletions
30
source/_posts/2014-03-02-creating-a-new-octopress-page.markdown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
layout: post | ||
title: "Creating a New Octopress Page" | ||
date: 2014-03-02 01:30:51 +0800 | ||
comments: true | ||
categories: | ||
--- | ||
I haven't learn something about Octopress for 2 weeks. I hope that I | ||
can create a GitHub project page using Octopress successfully. | ||
|
||
I have seen a comment for a blog post which briefly describes the | ||
procedures for making `gh-pages`. The user who has left the comment | ||
claims that the posts, which should be under the `source/_posts` | ||
directory[^doc], is in the `source` branch of Octopress Git | ||
repository. I'm going to figure it out. No matter it's true or not, | ||
it's something that puzzles some Octopress users. | ||
|
||
Creating an ABOUT page | ||
---- | ||
|
||
I couldn't find the answer for adding new items to the navigation bar | ||
at the top of the posts and under the header in an Octopress blog | ||
because I didn't know the Google search words. This afternoon, I found | ||
that googling "octopress page navigation" help. I managed to find a | ||
blog post on that.[^octopress_about] | ||
|
||
[^doc]: [Blogging Basics](http://octopress.org/docs/blogging/) | ||
[^octopress_about]: [為 Octopress 添加新的頁面](http://icodeit.org/2013/01/add-new-page-to-octopress/) | ||
|
||
<!-- vim:set tw=70 wrap spell: --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
--- | ||
layout: page | ||
title: "About Me" | ||
date: 2014-03-01 17:17 | ||
comments: true | ||
sharing: true | ||
footer: true | ||
--- | ||
## Brief Introduction | ||
|
||
To be concise, I use point form. | ||
|
||
1. **Not** an IT student or staff. | ||
2. A free software supporter. | ||
3. A GNU/Linux user. | ||
4. Love text editing in Vim. | ||
5. Enjoy writing in Markdown. | ||
|
||
## My Videos | ||
|
||
I have made only two, and they're on Youtube. | ||
|
||
1. [Efficient LaTeX Editing with Vim](http://youtu.be/y67t-05nFD0) | ||
2. [Easy Citing in APA Style with Vim-LaTeX](http://youtu.be/ly8BlePO4ws) | ||
|
||
## My Project Pages | ||
|
||
Using Octopress to create **both** a blog and a GitHub project page | ||
under the **same** host (http://username.github.io) is **too | ||
difficult** since they share the **same** `source` folder. | ||
|
||
Therefore, as *not* being an IT student[^not_it_student], I will get | ||
pretty project page template set up with several clicks on GitHub's | ||
online platform. For details, you may refer to | ||
[*Instantly Beautiful Project Pages*](https://github.com/blog/1081-instantly-beautiful-project-pages) | ||
written by Boxer. | ||
|
||
1. [Hello-World](http://vincenttam.github.io/Hello-World/): A testing | ||
repository. | ||
2. [pandoc_slides](http://vincenttam.github.io/pandoc_slides/): A | ||
repository for some of my slides. | ||
3. [i_dont_use_word](http://vincenttam.github.io/i_dont_use_word/): | ||
Another repository for hosting a slide created easily **without** M$ | ||
Office. | ||
|
||
[^not_it_student]: I reused the words from [my WordPress blog](http://blogueun.wordpress.com/2014/02/03/gnupg-encryption/). | ||
|
||
<!-- vim:set tw=70 wrap spell: --> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.