Some Useful Links for Building Github Pages Blog
[updated 2015.10.30] The followings ways for deploying posts is deprecated. Refer to deploying octopress for details. But if you knows things this post descripbes, you will have better understanding of octopress.
[updated 2015.09.13] Github has two kind of pages: user/orgnization pages and project pages (gh-pages).
Currently, I am using the user/orgnization pages deployed by octopress. This is recommended, due to the easy deployment.
If you are using the project pages (gh-pages), the following references may be help.
How to get started
Refer to “一步步在GitHub上创建博客主页”.
Categories and tags
I tried the this one. It works well.
Jekyll debugging
I didn’t try the debugger yet.
Pdb Commands for Python Debugging in Command Line
How to Use the Python Script for Adding Tags and Categories
[updated 2015.10.30] The following way is for my previous blog, and now I am using octopress for my blog.
The following is for my project pages (gh-pages) GitBlogs.
The python script is put GitBlogs/tools/add.py.
For adding category or tag:
- go to tools/
- run
python add.py -category category_name
orpython add.py -tag tag_name
for adding category and tag respectively.
Basic Vim Commands
Vim is an editor to create or edit a text file.
Two modes:
- command mode: move around, copy and past
- insert mode: insert text
How to Write Post in Github Pages
[updated 2015.10.30] The following way is deprecated, and octopress way is prefered. But the To make the post searchable by Google part is still in use.
Contents:
- To add a new post
- To add a new “category” or “tag”
- To enable code highlight
- To make the post searchable by Google
- Some tips for markdown grammar
The first two sections are only for my project pages (gh-pages) GitBlogs, and currently in cotopress blog, we have other new simpler ways to do these things. See Migrate Blog to Octopress.
Description
This post is not for how to deploy the environment of writing posts in github pages, but how to use the environment you deployed before.
Read on →How to Deploy MicroStrategy iOS Mobile Environment
Start Developing in a New Mac Machine
[updated on 2015.9.17] With Xcode 7, we only need an Apple ID for deploying your app to ipad or iphone, with the ability to debug.
Read on →Caution Javascript Closure in Loop
Object
Define a function addTimer, to log executed time for all function-type property of an object
Definition 1
Read on →How to Add a Clone Function to Function?
1 2 3 4 5 6 7 8 |
|