windse7en's blog

while(1){slef++;}


  • Home

  • Archives

  • Tags

  • Search

Integrate polymer with rails

131 Words   |   1 Min   |   Posted on 2015-03-27 |

Polymer is the Google new designed web component solution. It aims to solve the structure the confusing css and js files.

Read more »

Advanced Unix Programming: Shell

800 Words   |   3 Min   |   Posted on 2015-03-24 |

Shell tags: Bourne shell, Korn shell, C shell.
其他和bash的功能差距主要是补充了作业控制,历史记忆机制和命令行编辑。

A useful language needs arrays, pointers and a generic mechanism for building data structure.

Herbert Mayer
Read more »

Lifenotes: March 24

157 Words   |   1 Min   |   Posted on 2015-03-24 |

今天和李哥,聊了挺多关于人生、男人的话题,总结如下:

男人抓大方向,别抓细节。
不要纠结过去,抓住当下,未来随缘
人生选择A了,选择B也是合理的。
不要纠结理由。
任何的存在都是合理的,每个人都有自己的理由。
做好自己,当痛苦选择的时候,其实是没有能力提供更好的选择。

Read more »

Algorithm: The Shortest Path, 关于最短路径的算法

103 Words   |   0 Min   |   Posted on 2015-03-24 |

A*, DFS, BFS, Dijkstra, Prim Tree.

每个算法有自己的优劣。这两篇谈的挺好。

Read more »

VIM Ultimate distribution

49 Words   |   0 Min   |   Posted on 2015-03-21 |

Use the spf13-vim to make the default configuration of the vim, quite helpful.
Store all my own vimrc settings in the .vimrc.local

Read more »

How to use google

326 Words   |   2 Min   |   Posted on 2015-03-20 |

How to use google?
Insight: The searching result ofen is coming form some specified websites: like stackoverflow for coding problems, stackexchange for engineering problems, vim for plugin information…

Read more »

Scrapy: python module to web crawling and scrapying

32 Words   |   0 Min   |   Posted on 2015-03-19 |

Use scrapy to crawl the amazon products’ comments:

Install the ipython first:
Tip1: use these two lines to implement the python autocomplete

autocomplete for python command linelink
import rlcompleter, readline
readline.parse_and_bind('tab:complete')

Read more »

VIM plugin bug adventure '%' sign

233 Words   |   1 Min   |   Posted on 2015-03-19 |

Today, I tried to use % to jump between (), use %xx to delte a pair of () in the markdown file. But I found the situation is :

  1. The first time of % , work. But the trials after that, doesn’t work.
  2. It’s only appearing the editing with the MARKDOWN file no matter where the location is.
Read more »

Python manipulate Mouse and Keyboard crossplatform

186 Words   |   1 Min   |   Posted on 2015-03-18 |

Today, my workmate tried to use MFC win32 in C++ language to manipulate the mouse in windows. But, you know, the C++ language is a very old old friend to me. For me, it’s very hard to understand the C++ program in a short time. In contrast to C++,
Python is much more friendly and directly. So I have a question, how to use python to manipulate the mouse and keyboard?

Read more »

Change title and schedule the learning

122 Words   |   1 Min   |   Posted on 2015-03-18 |

I changed the title to

title expression
while(1){IMPROVE;}

for:

  1. To memory the C syntax is so foundation, like the definition of the block, ; idicates the end of the line, () to include the expression, CAPITAL variable should be the constant value, use ^0 value to indicate the true.
  2. Improve everything, coding, writing skills, speech capability and daily life…
    Read more »
1…567
Tao Zhang

Tao Zhang

61 posts
85 tags
GitHub Twitter
© 2017 Tao Zhang
Powered by Hexo
Theme - NexT.Muse
Visitors Visits