Posts

Mobile Android development api with ruby language

please follow the below link http://ruboto.org/

Ruby on Rails enable history in ajax calls

Refer below link http://lindsaar.net/2008/2/21/history-buttons-with-ajax-and-ruby-on-rails and use the code window.dhtmlHistory.create({ toJSON: function(o) { return JSON.stringify(o); } , fromJSON: function(s) { return JSON.parse(s); } }); instead of window .dhtmlHistory.create({ toJSON: function (o) { return Object .toJSON(o); }, fromJSON: function (s) { return s.evalJSON(); } }); on that post Happy learning

Hacking and Crackers Knowledge

Following are the importent web sites to know hackers and crackers Vulnerability Research Websites www.securitytracker.com www.microsoft.com/security www.securiteam.com www.packetstormsecurity.com www.hackerstorm.com www.hackerwatch.org www.securityfocus.com www.securitymagazine.com #################################################### Securitytracker www.securitytracker.com ##################################################### Securiteam (www securiteam com) www.securiteam.com ) ################################################### Secunia ( secunia.com/product/ ) #################################################### Hackerstorm Vulnerability Database Tool ( www.hackerstorm.com ) #################################################### SecurityFocus www.securityfocus.com #################################################### SecurityMagazine www.securitymagazine.com ####################################################### SC Magazine www.scmagazine.com ###########################################...

Rails Memcache issues

Error :- down_retry_delay not reached for localhost:11211 (0.001 seconds left) down_retry_delay not reached for localhost:11211 (0.001 seconds left) down_retry_delay not reached for localhost:11211 (0.001 seconds left) down_retry_delay not reached for localhost:11211 (0.001 seconds left) [2012-03-20 15:08:28] ERROR NoMethodError: You have a nil object when you didn't expect it! You might have expected an instance of Array. The error occurred while evaluating nil.each     /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.3.6/lib/rack/handler/webrick.rb:71:in `service'     /usr/local/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'     /usr/local/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'     /usr/local/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread' cache: [GET /assets/kanga_custom/search_merchant.js?body=1] miss, ...

Ruby slice big array into equal parts

By using each_slice we can convert single dimension array in to multi dimention array foo . each_slice ( 3 ). to_a #=> [["1", "2", "3"], ["4", "5", "6"], ["7", "8", "9"], ["10"]]

Mobile app implementation

create an android app by phonegap http://mobile.tutsplus.com/tutorials/phonegap/creating-an-android-hello-world-application-with-phonegap/ rhoconnect for data synchronization http://docs.rhomobile.com/rhoconnect/command-line phonegap home page http://phonegap.com rhomobile impotent doc http://docs.rhomobile.com/rhoconnect/install#rhoconnect-gem-for-linux-and-non-rhostudio http://docs.rhomobile.com/rhodes/install#rhodes-gem-for-linux-and-non-rhostudio https://app.rhohub.com/ buld phonegap buld https://build.phonegap.com/apps phonegap starting tutorial http://phonegap.com/start phonegap docs api http://docs.phonegap.com/en/1.5.0/index.html

rails3 assets precompile command

Rails production server assets precompile command debugging way RAILS_ENV=production bundle exec rake assets:precompile --trace