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
| package com.yahoo.media.mediaqa.selenium2test; | |
| import org.openqa.selenium.WebDriver; | |
| import org.openqa.selenium.remote.DesiredCapabilities; | |
| import org.openqa.selenium.remote.RemoteWebDriver; | |
| import org.openqa.selenium.android.AndroidDriver; | |
| import org.openqa.selenium.firefox.*; | |
| import org.openqa.selenium.firefox.internal.ProfilesIni; |
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
| http://ldtp.freedesktop.org/wiki/GNU/Linux_environment | |
| http://ldtp.freedesktop.org/wiki/LDTP_test_scripts_in_python | |
| http://ldtp.freedesktop.org/wiki/Howto_run_ldtp_from_vnc_session | |
| http://ldtp.freedesktop.org/wiki/Howto_run_ldtp_inside_Xvfb | |
| http://ldtp.freedesktop.org/wiki/Howto_run_ldtp_inside_Xvfb_which_runs_in_xinit_session | |
| http://ldtp.freedesktop.org/wiki/How_to_develop_component_functions_for_LDTP | |
| http://ldtp.freedesktop.org/wiki/RecordHOWTO | |
| http://ldtp.freedesktop.org/wiki/Test-case_generation_procedure | |
| http://ldtp.freedesktop.org/wiki/Howto_use_LDTP_Editor | |
| http://ldtp.freedesktop.org/wiki/Release_notes_for_Evolution-2.5.1_Sanity_suite |
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
| @echo off | |
| REM Prerequisites Windows7 | |
| REM http://docs.alfresco.com/4.0/tasks/tuh-maptodrive.html | |
| REM - WebClient enabled | |
| REM - HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WebClient\Parameters\BasicAuthLevel DWORD created with value = 2 | |
| echo --------------------------------- | |
| echo Mapping WebDav driver to Z:\\ | |
| if "%~4"=="" ( |
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
| #Creates a new issue with custom fields | |
| curl -D- -u uname:pass -X POST --data "{\"fields\": {\"project\": { \"id\": \"10430\" },\"summary\": \"This is a test issue\", \"description\": \"Description\",\"issuetype\": { \"id\" : \"1\"}, \"components\" : [{\"id\":\"10731\"}], \"customfield_10711\" : [{\"id\":\"10500\"}] } }" -H "Content-Type: application/json" http://localhost:8080/jira/rest/api/2/issue/ | |
| #Returns all information for all versions | |
| curl -D- -u uname:pass -X PUT -d "Content-Type: application/json" http://localhost:8080/jira/rest/api/2/project/AN/versions? | |
| #Returns all issues in a version | |
| #This URL requires the version ID of a single version which is provided by the above query | |
| curl -D- -u uname:pass -X PUT -d "Content-Type: application/json" http://localhost:8080/jira/rest/api/2/search?jql=project="AN"+AND+fixVersion='12345' |
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
| sed -n -e '/<dependencies>/,/<\/dependencies>/p' pom.xml | tr -d '\n' |
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
| sed -ie "s/<version>.*<\/version>/<version>12<\/version>/" pom.xml |
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
| #!/bin/bash | |
| # Delete all containers | |
| docker rm $(docker ps -a -q) | |
| # Delete all images | |
| docker rmi $(docker images -q) |
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
| curl -sSL https://get.docker.com/ | sh |
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
| sudo docker run \ | |
| --volume=/:/rootfs:ro \ | |
| --volume=/var/run:/var/run:rw \ | |
| --volume=/sys:/sys:ro \ | |
| --volume=/var/lib/docker/:/var/lib/docker:ro \ | |
| --publish=8080:8080 \ | |
| --detach=true \ | |
| --name=cadvisor \ | |
| google/cadvisor:latest |
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
| copy this file under ~/.vim/colors as desert.vim | |
| then add in ~/.vimrc the following line: | |
| colorscheme desert |
OlderNewer