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
version: "2.1" | |
services: | |
qbittorrent: | |
image: linuxserver/qbittorrent | |
container_name: qbittorrent | |
environment: | |
- PUID=998 | |
- PGID=100 | |
- TZ=Europe/Istanbul | |
- WEBUI_PORT=8080 |
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
private static boolean hasSortedBlocks(Iterable<Double> iterable, Comparator comparator) { | |
Iterator<Double> it = iterable.iterator(); | |
if (it.hasNext()) { | |
Double prev = it.next(); | |
Double next; | |
Double secondNext = null; | |
Double thirdNext = null; | |
while (it.hasNext()) { | |
next = it.next(); | |
if (compare(comparator, prev, next) && it.hasNext()) { |
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
#user nobody; | |
worker_processes 1; | |
#error_log logs/error.log; | |
#error_log logs/error.log notice; | |
#error_log logs/error.log info; | |
#pid logs/nginx.pid; | |
events { |
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
slave | |
--------- | |
#!/bin/bash | |
sudo apt-get update -y | |
sudo DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" upgrade | |
sudo DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" dist-upgrade | |
sudo apt install openjdk-8-jre-headless -y | |
sudo apt-get install -y jmeter | |
wget -O jmeter-plugins-manager-1.3.jar http://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-manager/1.3/jmeter-plugins-manager-1.3.jar | |
sudo mv jmeter-plugins-manager-1.3.jar /usr/share/jmeter/lib/ext/ |
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
target | |
.project | |
.classpath | |
.settings | |
*.iml | |
.idea | |
.DS_Store | |
.metadata | |
.externalToolBuilders | |
.cache |
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
node { | |
env.JAVA_HOME = '/usr/java/jdk1.8.0_172' | |
MAVEN_OPTS = '-Dtarget_platform=test' | |
stage('Checkout') { | |
git branch: 'preMaster', | |
credentialsId: '4b6a43f2-1097-471a-bf9f-8e41066b787c', | |
url: 'ssh://[email protected]:7999/web/dmall.git' | |
} | |
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
version: "3.6" | |
services: | |
seleniumhub: | |
image: selenium/hub:3.11.0-dysprosium | |
container_name: selenium-hub | |
ports: | |
- 4444:4444 | |
environment: | |
- GRID_TIMEOUT=720 | |
- GRID_BROWSER_TIMEOUT=360 |
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
[INFO] Scanning for projects... | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Reactor Build Order: | |
[INFO] | |
[INFO] automatedacceptancetest [pom] | |
[INFO] test-api [jar] | |
[INFO] mobileapi-api [jar] | |
[INFO] mallfront-api [jar] | |
[INFO] backoffice-api [jar] | |
[INFO] callcenter-api [jar] |
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 | |
#Usage:slackpost<token><channel><message> | |
#Enterthenameofyourslackhosthere-thethingthatappearsinyourURL: | |
#https://slackhost.slack.com/ | |
slackhost=n11dev | |
token=$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
#!/usr/bin/bash | |
CURL='/usr/bin/curl' | |
CURLARGS="-g" | |
URL="https://taylan:[email protected]/api/xml?tree=jobs[name,color]&xpath=/hudson/job[ends-with(color/text(),\"_anime\")]&wrapper=jobs" | |
raw=$($CURL $CURLARGS $URL) | |
echo $raw | |
if [[ $raw = *"QA"* ]] && [[ $raw = *"Release"* ]]; then |
NewerOlder