Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@axialmarketsteve
axialmarketsteve / xor.txt
Created October 20, 2015 14:38
Test file for decryption question
42,0,8,75,8,5,18,76,55,30,2,0,10,21,68,10,24,68,10,2,7,3,3,22,69,76,48,3,9,68,24,24,11,25,1,68,3,13,0,75,11,11,5,9,68,15,3,19,5,76,5,75,11,22,14,13,16,75,8,1,10,0,72,75,14,17,31,76,16,3,9,68,24,9,5,75,4,5,15,76,10,4,24,74,75,37,16,75,27,5,24,76,23,31,5,8,7,76,20,2,0,13,5,11,68,2,24,23,75,10,22,4,24,12,18,76,12,2,0,8,24,76,12,2,11,12,75,5,10,75,13,13,25,76,70,4,25,16,24,5,0,14,64,70,75,13,23,75,27,1,75,15,11,30,0,0,75,28,8,10,5,10,7,21,68,24,9,1,75,27,13,31,4,68,31,4,1,75,11,8,10,31,23,14,31,74,75,59,1,75,15,11,30,0,0,75,2,11,31,76,20,25,3,20,14,30,8,18,76,6,14,11,13,5,76,5,75,28,8,14,13,23,30,30,1,75,9,28,8,25,22,24,5,11,5,76,11,5,76,55,30,2,0,10,21,95,75,27,1,75,15,11,30,0,0,75,2,11,31,76,11,13,10,1,25,76,17,5,24,22,2,9,0,75,31,16,4,1,5,8,4,23,75,24,11,75,31,11,75,28,13,31,5,8,14,31,23,75,13,68,24,9,5,75,13,23,75,24,12,10,24,74,75,59,1,75,1,17,24,24,68,7,5,1,75,31,16,2,0,8,75,24,13,7,0,68,38,3,10,15,13,29,69,76,37,5,8,68,28,9,68,15,5,0,69,76,38,30,24,68,28,9,68,3,13,0,75,30,1,27,9,16,2,24,13,4,2,23,75,3,2,75
@axialmarketsteve
axialmarketsteve / test_weather.py
Created July 9, 2013 20:46
Test case that gets the weather in New York from weather.com. Auto-generated using Selenium IDE and going to File > Export Test Case As... > Python 2 (WebDriver).
from selenium import webdriver
from selenium.common.exceptions import NoSuchElementException
import unittest
class Weather(unittest.TestCase):
def setUp(self):
self.driver = webdriver.Firefox()
self.driver.implicitly_wait(30)
self.base_url = "http://www.weather.com/"
self.verificationErrors = []
from selenium import webdriver
from selenium.webdriver.common.by import By
class Page(object):
"""
Base class that all page models can inherit from
"""
def __init__(self, selenium_driver, base_url='https://test.axial.net', parent=None):
self.base_url = base_url