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
#!/usr/bin/env bash | |
<<License | |
Copyright (c) 2016 Jason Gowan | |
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WI |
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 __future__ import print_function | |
from selenium import webdriver as wd | |
driver = wd.Chrome() | |
driver.get('http://www.jquery-tutorial.net/introduction/hello-world') | |
print(driver.title) | |
driver.set_script_timeout(30) | |
result = driver.execute_async_script(""" |
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
clear Control | |
clear Lock | |
keycode 9 = grave asciitilde | |
keycode 49 = Escape | |
keycode 37 = Control_L | |
keycode 66 = Control_L | |
add Control = Control_L | |
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
class LockWithTimeout(object): | |
def __init__(self): | |
self.queue = Queue(1) | |
self.queue.put(1, block=False) | |
def aquire(self, timeout=None): | |
try: | |
self.queue.get(block=True, timeout=timeout) | |
return 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
> diff failures_and_error_2_1_1.txt failures_and_error_1_9_16.txt | |
8a9 | |
> org.openqa.selenium.CorrectEventFiringTest#testClickPartiallyOverlappingElements | |
22a24 | |
> org.openqa.selenium.FrameSwitchingTest#testShouldSelectChildFramesByChainedCalls | |
28a31 | |
> org.openqa.selenium.interactions.BasicKeyboardInterfaceTest#canGenerateKeyboardShortcuts | |
35a39 | |
> org.openqa.selenium.interactions.CombinedInputActionsTest#testHoldingDownShiftKeyWhileClicking | |
37d40 |
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
:compileJava UP-TO-DATE | |
:processResources UP-TO-DATE | |
:classes UP-TO-DATE | |
:compileTestJava UP-TO-DATE | |
:processTestResources UP-TO-DATE | |
:testClasses UP-TO-DATE | |
:test | |
SUCCESS for test shouldUsePageTimeoutToWaitForPageLoadOnInput(ghostdriver.ElementMethodsTest) in test class ghostdriver.ElementMethodsTest | |
SUCCESS for test shouldSwitchToTheRightFrame(ghostdriver.FrameSwitchingTest) in test class ghostdriver.FrameSwitchingTest | |
SUCCESS for test shouldNotHandleCasesWhenAsyncJavascriptInitiatesAPageLoadFarInTheFuture(ghostdriver.ElementMethodsTest) in test class ghostdriver.ElementMethodsTest |
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
# file has been auto-generated by i3-config-wizard(1). | |
# It will not be overwritten, so edit it as you like. | |
# | |
# Should you change your keyboard layout somewhen, delete | |
# this file and re-run i3-config-wizard(1). | |
# | |
# i3 config file (v4) | |
# | |
# Please see http://i3wm.org/docs/userguide.html for a complete reference! |
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
# nim c --app:lib --noMain --header:hello.h hello.nim | |
proc foo*(a: cint): cint {. exportc .} = | |
result = a |
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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Version: GnuPG v2 | |
mQINBFVyKwUBEADkE+eMdCaNcEVABmDZBprxLTt1ZnROqLjQiJuyNEtNg34x66wp | |
F9alOqDmlcoNlP35RVppzOUjVjQ5nY/V91Z5s9TuDuE0YwuuztvYW8DxMK3skPbj | |
ob63xrsNYz8wrGvUj2SFrqohYgWeTc4OCetDNyE3Jpgq/XpqLgHa5kWjaP2jkbbm | |
sXnkIyYlyKTanFo/JPo8RKdCtnyq1IZjkuELjwlEhXzBB0oNDQUqfaoWUI7liHcF | |
YSSz1bRhHfJfk9g1mEOwH9UhFvg6WeFtNPdCn8uT+KHe9YKbHqwLF3MD+7JNsuy8 | |
OM4bKUOPIoDqFRuA4QQ99ZuIK3hnP1Z4TSPvHjoSZDGV7rTr9t2hhuN8vP0OHtCM | |
vZPy6bMDWk6y0UWpnlCSsLAv8g4R/fpRCI3ab98LJjgV165bjvfKdEtXoaPboul9 |
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
if has('vim_starting') | |
set nocompatible " Be iMproved | |
" Required: | |
set runtimepath+=~/.vim/bundle/neobundle.vim/ | |
endif | |
set runtimepath^=~/.vim/bundle/ag | |
let neobundle_readme=expand('~/.vim/bundle/neobundle.vim/README.md') |
NewerOlder