This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Sally.start do | |
| analise do | |
| target "url.com" | |
| data { uf: "SP" } | |
| method "POST" # or GET | |
| end | |
| search_and_extract root: "ul#any_resource li" do # root default is html | |
| data :name, "div a" # like -> ul li div a | |
| data :desc, "#content p" do |p| | |
| p.text # passed the element, in example p |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| My target 'evinicius.com' | |
| I want the links of '#posts' list | |
| Export to 'XML' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| open "http://code.google.com/p/iterm2/downloads/list" | |
| open "https://github.com/kennethreitz/osx-gcc-installer" | |
| sudo /Developer/Library/uninstall-devtools –mode=all | |
| ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)" | |
| brew update | |
| brew install git | |
| brew install mysql |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| describe("accessibility", function () { | |
| beforeEach(function(){ | |
| var ac = $('#menu1').menu(); | |
| var item0 = $("li:eq(0) a"); | |
| }); | |
| it("should has menu class", function(){ | |
| expect(ac.hasClass("ui-menu ui-widget ui-widget-content ui-corner-all")).toEqual(true); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| String.prototype.reverse = function(){ | |
| return this.split("").reverse().join(""); | |
| } |
NewerOlder