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
# Editable install with no version control (apache-airflow==1.10.10) | |
Babel==2.8.0 | |
Flask-Admin==1.5.4 | |
Flask-AppBuilder==2.3.0 | |
Flask-Babel==1.0.0 | |
Flask-Bcrypt==0.7.1 | |
Flask-Caching==1.3.3 | |
Flask-JWT-Extended==3.24.1 | |
Flask-Login==0.4.1 | |
Flask-SQLAlchemy==2.4.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
[{ | |
"os": "Windows", | |
"os_version": "XP", | |
"browser": "opera", | |
"device": null, | |
"browser_version": "12.15", | |
"real_mobile": null | |
}, { | |
"os": "Windows", | |
"os_version": "XP", |
This file has been truncated, but you can view the full file.
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
[ | |
{ | |
"web_pages": [ | |
"https://www.cstj.qc.ca", | |
"https://ccmt.cstj.qc.ca", | |
"https://ccml.cstj.qc.ca" | |
], | |
"name": "Cégep de Saint-Jérôme", | |
"alpha_two_code": "CA", | |
"state-province": null, |
This file has been truncated, but you can view the full file.
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
[ | |
{ | |
"web_pages": [ | |
"https://www.cstj.qc.ca", | |
"https://ccmt.cstj.qc.ca", | |
"https://ccml.cstj.qc.ca" | |
], | |
"name": "Cégep de Saint-Jérôme", | |
"alpha_two_code": "CA", | |
"state-province": null, |
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
import http from "k6/http"; | |
import { sleep } from "k6"; | |
export let options = { | |
vus: 10, | |
duration: "30s" | |
}; | |
export default function() { | |
http.get("http://test.loadimpact.com"); |
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
//Steps for setup | |
//Install node if not already installed | |
//Run 'npm install body-parser -s' (This will install body-parser dependency) | |
//Run 'npm install express -s' (This will install express dependency) | |
//Save this code with a .js file extension and run it using 'node filename.js' | |
//This should intercept all traffic flowing into localhost:4444. This code can be extended to forward request to desired endpoint | |
var http = require('http'); | |
var express = require('express'), | |
app= express(); |
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
//Currently, the code uses element.getAttribute("value") to get text from text box. This can also be replaced with element.getText() based on the type of text box | |
private void CustomSendKeysIE(WebElement element, String stringToEnter) throws InterruptedException { | |
//Convert String to be entered to a character array | |
char[] charsToEnter = stringToEnter.toCharArray(); | |
//Iterate characters in the character array over a loop | |
for(int i=0;i<charsToEnter.length;i++){ | |
//Adding a sleep of 500 milliseconds | |
Thread.sleep(500); |
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
@ECHO OFF | |
REM Run this bat file from Windows Command Prompt in the following format: name_of_bat interval_for_logging. Example: logging 10 | |
REM Checking if argument specified for the command is valid | |
SET "var="&for /f "delims=0123456789" %%i in ("%1") do set var=%%i | |
if defined var (goto :end) else (goto :start) | |
:start | |
echo Hit Ctrl+C to stop logging! | |
:loop | |
<nul set /p "=%time% " >>bslocal.log | |
tasklist|find /i "BrowserStack" >>bslocal.log |
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 | |
#To start logging output of grep command every 10 seconds, use: | |
#Mac: sh logging.sh 10 | |
#Linux: bash logging.sh 10 | |
if [ "$1" != "" ]; then | |
re='^[0-9]+$' | |
if ! [[ $1 =~ $re ]] ; then | |
echo "Invalid Argument" >&2; exit 1 |
NewerOlder