Home
Projects
About
CLOUD TAGS
Programming
4
Life
2
Work
29
Notes
4
Design-pattern
4
Tutorials
7
机器学习
7
Notes
1
Language
14
Lankar
2
Tools
8
Linux
9
Research
4
Tips
19
Algorithm
1
Interview
7
Headfirst
4
Jekyll
3
Payments
2
Web-service
1
Deep-learning
5
SO LONG, AND THANKS FOR ALL THE FISH.
为Jekyll博客添加目录与ScrollSpy效果
随着网上利用Jekyll+Github Pages搭建个人静态博客的帖子越来越多,按照教程自己动手搭一个基于Github账户的博客已完全成为一个五分钟速成课程的内容了。网上也随处可见优美的博客主题,且能完全即插即用。但对于一些想要更深入定制化的博主,本文主要集合自己折腾的经验介绍下如何给Jekyll博客添加目录(即Table of Content)以及定制化目录显示的ScrollSpy效果。
Sublime2下配置Python模块查找路径PYTHONPATH
最近在搞sclearn kit库,用命令行build太麻烦,就直接用Sublime2来build,但发现build时总是出现sclearn模块找不到的情况,但的确已经通过pip install 了相关包,最后发现是sublime2里配置的Python setting 路径也需要配置PYTHONPATH变量来指出module的路径。
.gitignore文件不起作用
当我们用git时常常会习惯把我们不想上传到远程代码库中的一些本地文件(夹)放在一个叫做.gitignore的文件中,例如常见的本地build文件夹,一些IDE如Intellig,Eclipse的项目管理文件,但有些时候我们会遇到这样的问题:放入gitignore文件夹中的文件却还是被git index, 当你通过git status 显示文件状态时,他们并没有被忽略。
css常用tips汇总
最近给博客换了一个新的主题布局,把以前传统方式的侧边栏给换成了导航栏,同时利用font-awesome图标加了些分类和标签。由于之前没有系统的看过关于css+div方面的书籍,只是在用到某个效果时临时的Google,于是在这边纪录下用到的一些非常有用的css+div的tips.
Singleton Design Pattern
Singleton模式看似简单,却有很多值得注意的地方。虽然很多时候开口闭口都是singleton,其实很多时候很难完全正确的写出一个singleton模式。比如忽略构造函数的private特性,示例变量声明volatile关键字,以及线程安全等。就像是算法题中常见的快速排序,二分查找,常见却很少有人真正准确写出代码。
Common ShortKey And Command on MacOSX
Only during the 3 hours experience on MacBook Pro, I find that I could not love it more. Yes, maybe you can say, it's price seems make people daunting. However, if you really give yourself a try, you'll find that, the biggest regret ever is why I haven't migrate to...
Add Comment to Jekyll Blog with Disqus
Blogging with personal domain, Github hosted, Jekyll themes If you are tired of common blogging with Wordpress, Pager like, and want to try some cool things of DIY, Just take a look at these combination: Buy a personal domain on Godaddy, hosted on Github, and setting you blog template with...
Builder Design Pattern
At First Sight of Builder Pattern The first time I encountered the Builder Pattern would date back to the beautiful internship time in Red Hat. What inspired me a lot is its strange setter way. 1 class PeopleBuilder { 2 private String name = "Joseph" 3 private int age =...
Facade Design Pattern
Facade pattern provides a simplified interface to a set of interfaces within a system and thus it hides the complexities of the subsystem from the client. It creates a layer to abstract and unify the related interfaces in the application and define an entry point to each subsystem level and...
Controller-View-Model
Models represent knowledge. A view is a (visual) representation of its model. It is thus acting as a presentation filter. A view is attached to its model or model part and get the data necessary for the presentation from the model by asking quetions. It may also update the model...
« Prev
Page: 3 of 6
Next »