windse7en's blog

while(1){slef++;}


  • Home

  • Archives

  • Tags

  • Search

User ionic to create ios native app

78 Words   |   0 Min   |   Posted on 2015-06-11 |

ionic

ionic integrate the nodejs, cordova, ios-sim together.
I tried to install, build and emulate the app from tips on the ionic website. But it doesn’t work.

Read more »

Integrate solar search sunspot with rails

253 Words   |   1 Min   |   Posted on 2015-06-04 |

Sunspot Github

rails g sunspot_rails:install
只安装了config/sunspot.yml文件进行配置

Read more »

Integrate nginx and socket io with rails

0 Words   |   0 Min   |   Posted on 2015-06-04 |

Ruby AJAX modal to show the form

43 Words   |   0 Min   |   Posted on 2015-06-02 |
  1. set the link tag to remote:true
  2. in the controller route to set up the connection, respond__to do |format| format.js end
  3. use html = ‘<%= escape_javascript render(“filename_withough_underscore”) %>’注意外面是单引号,里面双引号
    Read more »

Install the OpenERP version 8 ODOO

72 Words   |   0 Min   |   Posted on 2015-06-01 |

tutorial video

This is a very famous framework for the enterprise.

Github install script

the default port for the web application is 8069
The default password: superadminpassword

Read more »

Ruby Programmint Recommendation and Tips

1,364 Words   |   8 Min   |   Posted on 2015-05-12 |

Ruby

pry

Tips:
help, ls command

  1. Duck typing
  2. Object Model
  3. metaprogramming
  4. tainting
  5. package gem
  6. document ruby code
Read more »

Difference between Alibaba

47 Words   |   0 Min   |   Posted on 2015-05-11 |

tao bao

jd

amazon

ebay

Read more »

Leetcode, practise algorithm in ruby

26 Words   |   0 Min   |   Posted on 2015-05-06 |

Enumerable, partition, method, partition the enumerable(like array) into two sets, one is true based on the block result.
inject(:+), get the sum of the enumerable.

Read more »

Scrapy python web crawling and scrapying for linked

0 Words   |   0 Min   |   Posted on 2015-05-06 |

JQuery and AngularJS

203 Words   |   1 Min   |   Posted on 2015-04-20 |

jQuery video tutorial

Tips:

  1. use $(function(){}); instead of $(document.ready(function({}));
  2. $(‘.div’).toggle() instead of show(), hide(), .sideToggle(), .fadeToggle(), .delay(). can use numbers for time in ms.
  3. .on(‘click’, function({})); bind the event to the element.
  4. DOM traverse method in jQuery, .parent(), .children(), .sibling(), .closet(), great method.
  5. AJAX is one of coolest things, use Mustache.js to template the html code for AJAX pending.
Read more »
1234…7
Tao Zhang

Tao Zhang

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