This file contains 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
# How to from ~/.howto | |
# Check the ulimit | |
ulimit -n | |
# Raise the ulimit to the recommended 8000 | |
ulimit -n 8000 | |
# Launch standard sauce connect | |
bin/sc -u $SAUCE_USERNAME -k $SAUCE_ACCESS_KEY |
This file contains 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 selenium import webdriver | |
from sauceclient import SauceClient | |
from random import randint | |
import os | |
username = os.environ.get('SAUCE_USERNAME') | |
access_key = os.environ.get('SAUCE_ACCESS_KEY') | |
sauce_client = SauceClient(username, access_key) | |
buildNum = randint(1,1000) |
This file contains 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
syntax on | |
set background=light | |
set number | |
filetype plugin indent on | |
" show existing tab with 4 spaces width | |
set tabstop=4 | |
" when indenting with '>', use 4 spaces width | |
set shiftwidth=4 |
This file contains 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
# losf -i :<portnumber in question> | |
lsof -i :8000 |
This file contains 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
Nethelp Proposal and Basic Usage Examples | |
Best Scenario | |
------------- | |
User has solid internet connection and can reach Sauce services | |
$ nethelp —proxy user:password | |
[x] connect to public website status.saucelabs.com | |
[x] connect to RDC US endpoint | |
[x] connect to RDC EU endpoint |
This file contains 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
What pain is addressed? | |
------------------------- | |
Keep Support updated in near real time about failures. | |
Requirements | |
- Check if a SC tunnel can start | |
- Check if a SC tunnel can stay open for arbitrary amount of time | |
- VDC Check if every OS can start a test in the latest browser | |
- VDC Check if the latest simulators can start | |
- RDC Check if an Appium test can start |
This file contains 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 selenium import webdriver | |
from selenium.webdriver.support.ui import WebDriverWait | |
from selenium.webdriver.support import expected_conditions as EC | |
from selenium.webdriver.common.keys import Keys | |
from selenium.webdriver.common.by import By | |
from sauceclient import SauceClient | |
import os | |
username = os.environ.get('SAUCE_USERNAME') |
This file contains 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 selenium import webdriver | |
from selenium.webdriver.support.ui import WebDriverWait | |
from selenium.webdriver.support import expected_conditions as EC | |
from selenium.webdriver.common.keys import Keys | |
from selenium.webdriver.common.by import By | |
from sauceclient import SauceClient | |
import os | |
username = os.environ.get('SAUCE_USERNAME') |
This file contains 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
#!/bin/sh | |
# Must be named 'pre-commit' with no extension | |
# run go fmt then exit | |
echo running go fmt tool | |
go fmt ./... | |
exit 0 |