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
| # pip install pypdf2 | |
| # Thanks to sphilp for updates | |
| ######## | |
| # USAGE: | |
| ######## | |
| # You will need to enter your email creds so you can receive the bonus statements | |
| # which you can then review, edit, and forward (sending directly could be dangerous) | |
| # | |
| # This is pigging backing on gmail's API to send the email to yourself |
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
| https://www.ingress.com/mission/e853698a01f8469cac7ff3627026971b.1c | |
| https://www.ingress.com/mission/2ae08be28b004923b36f038f7746f372.1c | |
| https://www.ingress.com/mission/14484bd6b938417bb1074d803069c61d.1c | |
| https://www.ingress.com/mission/90cb1c3a210b485ea05a4d4f370d52a2.1c | |
| https://www.ingress.com/mission/bb83a2e3cd9044ccb618ace3b7c398ad.1c | |
| https://www.ingress.com/mission/14156099e1cf42efa1aba3fbd91065b2.1c | |
| https://www.ingress.com/mission/685d0de9f17d4dd0b7dead6d4a6bfe59.1c | |
| https://www.ingress.com/mission/067fcc527c6f4eeabfa2fe327efa19ea.1c | |
| https://www.ingress.com/mission/05a0bf32c55549e89cdccd60282c0072.1c |
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
| { | |
| "images" : [ | |
| { | |
| "url" : "http:\/\/www.reactiongifs.us\/wp-content\/uploads\/2013\/04\/i_told_you_so_stephen_colbert.gif", | |
| "keywords" : "told" | |
| }, | |
| { | |
| "url" : "http:\/\/s3itch.paperplanes.de\/josh.gif", | |
| "keywords" : "josh" | |
| }, |
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
| dburns in ~/development/futurama-data on master ● λ boot2docker ip | |
| 192.168.59.104 | |
| dburns in ~/development/futurama-data on master ● λ curl $(boot2docker ip):5000 | |
| curl: (7) Failed to connect to 192.168.59.104 port 5000: Connection refused | |
| dburns in ~/development/futurama-data on master ● λ |
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
| FROM ubuntu:14.04 | |
| MAINTAINER David Burns <david.burns@theautomatedtester.co.uk> | |
| RUN apt-get update && apt-get install python-dev python-pip python-virtualenv libapache2-mod-wsgi git -y | |
| RUN git clone https://github.com/AutomatedTester/futurama-data.git /var/www/futurama-data | |
| RUN pip install -r /var/www/futurama-data/requirements.txt | |
| WORKDIR /var/www/futurama-data | |
| EXPOSE 5000 |
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
| { | |
| "images" : [ | |
| { | |
| "url" : "http:\/\/www.reactiongifs.us\/wp-content\/uploads\/2013\/04\/i_told_you_so_stephen_colbert.gif", | |
| "keywords" : "told" | |
| }, | |
| { | |
| "url" : "http:\/\/s3itch.paperplanes.de\/josh.gif", | |
| "keywords" : "josh" | |
| }, |
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
| diff --git a/src/response.rs b/src/response.rs | |
| index 5874900..fe6c8de 100644 | |
| --- a/src/response.rs | |
| +++ b/src/response.rs | |
| @@ -72,14 +72,14 @@ impl WindowSizeResponse { | |
| #[derive(RustcEncodable, Debug)] | |
| pub struct ElementRectResponse { | |
| - x: u64, | |
| - y: u64, |
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
| driver.find_element(By.LINK_TEXT, "cheese") | |
| current_handle = driver.current_window_handle | |
| window_handles = driver.window_handles | |
| for handle in window_handles: | |
| driver.switch_to_handle(handle) | |
| resutl = driver.execute_script('return window.name="name you want") | |
| if result: | |
| break |
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
| diff --git a/rb/lib/selenium/webdriver/common/bridge_helper.rb b/rb/lib/selenium/webdriver/common/bridge_helper.rb | |
| index ad3afd1..982fcd5 100644 | |
| --- a/rb/lib/selenium/webdriver/common/bridge_helper.rb | |
| +++ b/rb/lib/selenium/webdriver/common/bridge_helper.rb | |
| @@ -25,7 +25,7 @@ module Selenium | |
| end | |
| def element_id_from(id) | |
| - id['ELEMENT'] | |
| + id['ELEMENT'] or id['element-6066-11e4-a52e-4f735466cecf'] |
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
| import pytest | |
| from selenium import webdriver | |
| def test_this_awesomeness(): | |
| driver = webdriver.Firefox() | |
| driver.get('http://www.duluxtradepaintexpert.co.uk/colours/picker') | |
| title = driver.title | |
| driver.quit() | |
| print title |