Gistflow

  • login

mechanize

Mechanize is a #ruby #gem for making #http queries easy (automatically working with cookies, redirect, etc).

https://github.com/tenderlove/mechanize

History
Show

Selenium rocks or how easily get badges at stackoverflow by makaroni4

E302c3320cd14b02cbe237b479d7f884?size=52

#selenium is a web browser automation tool and unlike #mechanize it allows you to run javascript. So when we want to use selenium? Of course the most common way to use if is for testing. But what can we do else with #selenium? ruby script for hacking SO under the cut

August 3, 2012
Tweet
2

Check pages status with em-synchrony crawler by makaroni4

E302c3320cd14b02cbe237b479d7f884?size=52

On your website's main page could be hundreds of links and sometimes some broken ones appeared there. If you have perfect test coverage - it is not a problem. In this post I will show a simple script which will help you to "click" on every link on your website and check if it is broken. More under the cut

July 3, 2012
Tweet
6

Using Textmate bundles by makaroni4

E302c3320cd14b02cbe237b479d7f884?size=52

Everyday I parse something, everyday I test the time of running parsing code which sometimes can take a lot of time. Since the base of the code is always the same (I use #benchmark for testing and #mechanize for parsing) I don't need to write it every time - I created #textmate bundles. Code is under the cut

May 28, 2012
Tweet
3

About

Join gistflow developers community

  • Start your developer blog in a minute.
  • Share code-related posts.
  • Follow users, subscribe for tags.
  • Use gist.github.com gists to write posts.

Sign up through GitHub

Tell friends about us

Tags

  • #ruby
  • #rails
  • #gistflow
  • #javascript
  • #activerecord
  • #gem
  • #git
  • #bash
  • #mac
  • #shell
  • #html
  • #rspec
  • #coffeescript
  • #github
  • #capistrano
  • Posts leaderboard
  • Tags cloud
  • Create issue
  • Email us
<g>

© 2013 Gistflow with Evrone