泛前端开发

泛前端开发
information
Comments

Scrapy 是什么?

Scrapy是一个基于Python的高级爬虫框架,只需要简单的配置就可以实现你大大的需求。

为什么要介绍Scrapy,内容时代了,没有内容再好看的网站,那又有什么用呢?

Read on →
project
Comments

2017年,起床的第一天,朋友圈里面的都是困难群众。谢谢主席关心的调侃。

2016的计划完成了多少,小目标还是有的,天马行空的就别谈了。该写的写了,头脑发热能折腾到2,3点。

Read on →
project
Comments

cozhihu(多彩知乎)发布啦!

cozhihu是一款知乎皮肤chrome扩展应用。

多彩知乎十分适合geek知乎用户。随时随地刷知乎,保护眼睛两不误。

Read on →
shell
Comments

Learn bash shell, by interest or needed. what is your reason to learn the shell? I think the best reason is that what you need is what you learn.

A few days ago, I rewrite the project css to sass, so I need to rename the css. So I brought out a question, how to “Rename multiple files shell”? To people, solving problems with search engine is the method of least time. I am no exception, I encountered the same problem, and find out the answer in stackoverflow https://stackoverflow.com/questions/6911301/rename-multiple-files-shell.

Read on →
jekyll
Comments

Good news, my blog had Upgrade from Octopress 2.x to Jekyll 3.x. It is not difficult to do this, if you follow me step by step.

As you know, Octopress 2.x is based on Jekyll 2.x. so “Upgrade from Octopress 2.x to Jekyll 3.x” mean that upgrading Jekyll 2.x to Jekyll 3.x.

Read on →
project
Comments

Preface

docs.w3cub project is based on open source. we use jekyll system to rewrite and hosted on Github Pages. This project continued for several months and written in my spare time.

As you know, all pages are static. we think that this would be more fast than using backend router. The most important thing is that Github Pages is free. we also thought about using frondend history router to rewrite this project, but Github Pages don’t support the nginx rule. However we have permission to use 404 page, but useing the 404 page as the frontend router is very crazy idea. So at last we use the jekyll system to generate the static pages.

Read on →
javascript
Comments

Autocompletion is never an entirely solved problem. Can anyone really say what on earth a user typing “uni” into a country input field actually intends to select? It could match any of these:

自动完成一直都是一个没完没了的问题。谁能准确地说出当一个地球人在一个国家输入框输入“uni”打算选什么?可能会出现以下情况:

  • Tanzania, [U][n][i]ted Republic of
  • [U][n][i]ted Arab Emirates
  • [U][n][i]ted Kingdom
  • [U][n][i]ted States
  • T[u][n][i]sia

Of course, it’s probably not the last one, but that right there is a human intuition that we often forget to instil into these UI interactions.

当然,这可能不是最后一个,但人类的直觉通常会忘记灌输这些UI交互。

Read on →
ruby
Comments

常用命令(Action):

list        :: show currently installed rubies, interactive output.
install     :: install one or many ruby versions
use         :: setup current shell to use a specific ruby version
Read on →
octopress
Comments

前言

假如想省钱,只是写写博客而已。免去服务器麻烦。推荐你用octopress,可以肯定的,没有wordpress 那么多功能。octopress 是基于 jekyll 的 静态化博客,可以在github pages 和 gitcafe 等上运行。下面我们来部署一下 我们的A blogging framework for hackers. 博客。

Read on →