search for: flyerhzm

Displaying 17 results from an estimated 17 matches for "flyerhzm".

2009 Sep 13
0
regrex_crawler -- a crawler which uses regular expression to catch data from website
RegexpCrawler is a crawler which uses regular expression to catch data from website. It is easy to use and less code if you are familiar with regular expression. The project site is: http://github.com/flyerhzm/regexp_crawler/tree I give an example: a script to synchronize your github projects except fork projects, , please check example/github_projects.rb require ''rubygems'' require ''regexp_crawler'' crawler = RegexpCrawler::Crawler.new( :start_page => "http...
2008 Apr 30
3
pretty url
...n the view, I use restful url post_path(@post). And in the html source code, the url is /posts/2008%2F4%2F30%2FTest You can see, the ''/'' is replaced by "%2F", which is not I expect. How not to replace the ''/'' with "%2F"? -- My home: http://flyerhzm.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, s...
2010 Jan 07
0
flyerhzm-metric_fu = metric_fu + rails_best_practices
I have forked metric_fu and add rails_best_practices to it. rails_best_practices is a great gem to check your rails app codes and give you some good suggestions for better rails codes. The repository of flyerhzm-metric_fu is here: http://github.com/flyerhzm/metric_fu The repository of rails_best_practices is here: http://github.com/flyerhzm/rails_best_practices -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send e...
2012 May 22
1
rails-brakeman.com, an online service to find security issues in your rails projects
...help you find out potential security issues before pushing them on production. Any questions or suggestions are welcome! Thanks, Richard -- Best regards, Richard Huang http://huangzhimin.com <http://www.huangzhimin.com>http://rails-bestpractices.com, http://railsbp.com https://github.com/flyerhzm <http://github.com/flyerhzm>, https://github.com/railsbp @flyerhzm, @railsbp -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gman...
2009 Sep 30
5
A rails plugin to generate css sprite image automatically
Hi guys, I have written a rails plugin/gem to generate css sprite image automatically. The project repository is here: http://github.com/flyerhzm/css_sprite It is based on RMagick and you need only define a rule from what source images to a destination image, as follows: forum_icon_vertical.gif: # destination image file sources: # source image file list - good_topic.gif - mid_topic.gif - unread_topic.gif -...
2010 Aug 16
0
rails_best_practices gem 0.4.0 released
Hi, I have released rails_best_practices 0.4.0, rails_best_practices is a code metric tool for rails codes, from 0.4.0, it can check the rails3 codes better. The project repository is here: http://github.com/flyerhzm/rails_best_practices In addition, if you want to add your rails best practices into the gem, please post your best practices on http://rails-bestpractices.com -- Best regards, Richard Huang flyerhzm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org website: http://www.huangzhimin.com, http://rails-bestpr...
2013 Feb 01
0
watch ruby/rails conferences' videos and slides on your iphone/ipad
...at you can watch them on your iphone or ipad, try it now.<https://itunes.apple.com/us/app/conferences-box/id594774178?ls=1&mt=8> -- Best regards, Richard Huang http://huangzhimin.com <http://www.huangzhimin.com>http://rails-bestpractices.com, http://railsbp.com https://github.com/flyerhzm <http://github.com/flyerhzm>, https://github.com/railsbp @flyerhzm, @railsbp -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-tal...
2007 Apr 26
2
Bitmap in Toolbar display only a quarter of picture on Windows XP
I don''t know why the bitmap in toolbar displays only a quarter of picture on Windows XP, but it displays OK on Ubuntu. The attachments are results both on Windows XP and Ubuntu -- flyerhzm@hotmail.com _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2007 Apr 26
2
How to close Frame?
...tatistics/init.rb:5: [BUG] Segmentation fault ruby 1.8.6 (2007-03-13) [i386-mswin32] This application has requested the Runtime to terminate it in an unusual way. Please contact the application''s support team for more information. What''s the correct way to close the frame? -- flyerhzm@hotmail.com _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2010 Aug 22
0
Ask for best practices on rails-bestpractices.com
...k, such as "How to detect N+1 queries?" and "How to upload a large file with progress bar?". Then everyone can post your answer with your own best practice solution to the questions. Check it here<http://rails-bestpractices.com/questions> . -- Best regards, Richard Huang flyerhzm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org website: http://www.huangzhimin.com, http://rails-bestpractices.com github: http://github.com/flyerhzm -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to...
2007 May 01
1
Text of Status Bar always disappear
...when I click a tool bar button that trigger an event, and call @sb.set_status_text(''Finish'') if the mouse is on the button, the text of status bar is "Finish"; but once the mouse is out of the button, the text of status bar becomes empty. It''s too strange -- flyerhzm@hotmail.com _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2007 May 01
1
How to insert item to ListCtrl
The only way I know to use ListCtrl is to call ListCtrl#set_item_count and define a callback function on_get_item_text(item, col) How can I insert Listitem one by one, that each Listitem is composed with several string -- flyerhzm@hotmail.com _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2007 Jun 25
2
Problem
This is the source code generated by SaltedLoginGenerator @params[''user''].delete(''form'') Can anybody explain what the delete message do? -- http://sourceforge.net/projects/mycodeline/ http://rubyforge.org/projects/ropenwiki/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
2009 Aug 10
0
A rails sitemap plugin
...in will generate the public/sitemap.xml from config/sitemap.rb whose format is very familiar to config/routes.rb. I think it is very helpful if you have a website written by rails and want it to be crawled by spiders such as google, yahoo and baidu. The home page of the plugin is http://github.com/flyerhzm/sitemap/tree/master The following codes is the config/sitemap.rb using in my website Sitemap::Routes.host = ''http://www.huangzhimin.com'' Sitemap::Routes.draw do |map| map.resources :projects map.resources :entries map.resources :posts map.resources :categories, :except...
2009 Sep 25
1
how to remove bogusetag by hpricot?
I have use hpricot to translate users'' input html. I want to remove bogusetag as follows: >>doc = Hpricot "<p> test world</b></p>", :xhtml_strict => true =>#<Hpricot::Doc {elem <p> " test world" {bogusetag </b>} </p>}> >>doc.to_s =>"<p> test world</b></p>" what I expected is
2013 May 22
2
Creating nested hash from nested active record results
Hello, I''m trying to find a very abstract and "one size fits all" for converting nested active record results to nested hashes. It''s easy, to do one level deep as such: [code] results_to_hash = Hash[ found_categories.map{ |c| [c.id, c.title]}] [/code] But, when I try to add another collection to the mix, it completely borks and the results_to_hash only returns an
2009 Aug 30
0
How to mock block
I have written the following codes: uri = URI.parse(page_url) response = Net::HTTP.start(uri.host, uri.port) do |http| http.get(uri.request_uri, headers) end How can mock it with different uri.request_uri and returns different response? Thanks in advance, Richard