Sunday, June 24

国内翻墙用google drive, add line numbers for gist

[I decide to keep some tips and tricks in my blog in case I forget them. So if it is in Chinese, then it means you don't have to care about it if you are not one (I mean it).]

1. 翻墙用drive
很简单,目前修改host的方法就可以。打开相应系统的host文件,在尾部添加“74.125.224.231 drive.google.com” 。

host文件位置,第一行为Windows, 第二行为Mac:

低调一点。

2. add line numbers for gist
Ok, this is handy. Solution is here, just paste the code into your css file. Also, here provides the css code to let others copy your code without line numbers.

No comments:

Post a Comment