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
Changes/Fixes: (mehmetg/ablog branch: devel) | |
1. extlinks = { 'wiki': ('http://en.wikipedia.org/wiki/%s', '') } ??? what should be %s. Should we ask the user if (s)he has a | |
wiki for the blog or whatever project or generic external links questions? | |
2. html_theme_options for alabaster users: logo? where should it be placed or can it include an path with the name? should we check path icon if it exists or not??? If it does not exist it won't show (no errors will display) | |
3. Added google analytics id prompt. should we keep it? | |
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
package com.yourcompany.Utils; | |
import org.openqa.selenium.logging.LogType; | |
import org.openqa.selenium.logging.LoggingPreferences; | |
import org.openqa.selenium.remote.CapabilityType; | |
import org.openqa.selenium.remote.DesiredCapabilities; | |
import org.openqa.selenium.ie.InternetExplorerDriver; | |
import org.openqa.selenium.ie.InternetExplorerDriverLogLevel; | |
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
/** | |
* Created by mehmetgerceker on 12/10/15. | |
*/ | |
import com.saucelabs.saucerest.SauceREST; | |
import java.io.File; | |
import java.nio.file.Paths; | |
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
/* The code below is a snippet. It won't run or compile unless integrated in the appropriate class | |
** This is only supported on recent versions Firefox and Chrome when used with recent versions of | |
** Firefox and Chrome driver. | |
*/ | |
import org.openqa.selenium.logging.LogEntries; | |
import org.openqa.selenium.logging.LogEntry; | |
import org.openqa.selenium.logging.LogType; | |
import org.openqa.selenium.logging.LoggingPreferences; | |
import org.openqa.selenium.remote.CapabilityType; |
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/bash | |
export script=$'tell application "System Events" to tell process "Simulator"\nclick menu item "Touch ID Enrolled" of menu 1 of menu bar item "Hardware" of menu bar 1\nend tell' | |
osascript -e "$script" |
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
#!/usr/bin/env bash | |
#This script is intended to be run from the root of the sauce connect package. | |
SCBIN="bin/sc" | |
uname=$1 | |
akey=$2 | |
uname="user name" | |
akey="access key" | |
LOGPREFIX="/tmp" | |
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
#!/usr/bin/env bash | |
cat /tmp/sc*.pid | |
pids=$(cat /tmp/sc*.pid) | |
if ! [[ -z $pids ]]; then | |
echo $pids | xargs kill | |
fi | |
ctr=0 | |
while ! [[ -z $(ls /tmp/sc*.pid |grep pid) ]] && [[ ctr -lt 100 ]]; | |
do |
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
tc qdisc del dev eth0 root | |
tc qdisc add dev eth0 handle 1: root htb default 11 | |
tc class add dev eth0 parent 1: classid 1:1 htb rate $1 | |
tc class add dev eth0 parent 1:1 classid 1:11 htb rate $1 |
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
tc qdisc del dev eth0 root |
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
// https://github.com/angular/protractor/blob/master/docs/referenceConf.js | |
var q = require('q'); | |
var jasmineReporters = require('jasmine-reporters'); | |
exports.config = { | |
sauceUser: process.env.SAUCE_USERNAME, | |
sauceKey: process.env.SAUCE_ACCESS_KEY, | |
//seleniumAddress: 'http://ondemand.saucelabs.com:80/wd/hub', | |
specs: ['specs/*spec.js'], |
OlderNewer