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
$sourceNugetExe = "http://nuget.org/nuget.exe" | |
$targetNugetExe = "$env:TEMP\nuget.exe" | |
Invoke-WebRequest $sourceNugetExe -OutFile $targetNugetExe | |
$p = Start-Process $targetNugetExe -ArgumentList "install NuGet.CommandLine -Output $env:ProgramData -ExcludeVersion -NonInteractive" -wait -NoNewWindow -PassThru | |
Remove-Item $targetNugetExe |
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
Section "InputClass" | |
Identifier "DualPoint Stick blacklist" | |
MatchProduct "DualPoint Stick" | |
Option "Ignore" "on" | |
EndSection |
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
#!/usr/bin/env bash | |
set -o errexit | |
set -o nounset | |
set -o pipefail | |
trap - INT TERM | |
docker run --rm \ | |
-t $(tty &>/dev/null && echo "-i") \ |
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
#!/usr/bin/env bash | |
set -o errexit | |
set -o nounset | |
set -o pipefail | |
trap - INT TERM | |
docker run --rm \ | |
-t $(tty &>/dev/null && echo "-i") \ |
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
#!/usr/bin/env bash | |
set -o errexit | |
set -o nounset | |
set -o pipefail | |
trap - INT TERM | |
docker run --rm \ | |
-t $(tty &>/dev/null && echo "-i") \ |
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
import com.cloudbees.plugins.credentials.* | |
import com.cloudbees.plugins.credentials.common.* | |
import com.cloudbees.plugins.credentials.domains.* | |
import com.cloudbees.plugins.credentials.impl.* | |
import com.cloudbees.jenkins.plugins.sshcredentials.impl.* | |
import com.cloudbees.jenkins.plugins.awscredentials.* | |
import org.jenkinsci.plugins.plaincredentials.impl.* | |
import hudson.plugins.blazemeter.* | |
domain = Domain.global() |
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
stage('Reload') { | |
options { | |
retry(2) | |
} | |
steps { | |
sh "curl -fsSLO ${JENKINS_URL}jnlpJars/jenkins-cli.jar" | |
withCredentials([usernamePassword(credentialsId: 'jenkins-remoting', passwordVariable: 'JENKINS_API_TOKEN', usernameVariable: 'JENKINS_USER_ID')]) { | |
sh "java -jar jenkins-cli.jar -s ${JENKINS_URL} reload-jcasc-configuration" | |
} | |
} |
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 | |
GRADLE_VERSION=$(curl -fsSL https://services.gradle.org/versions/current |jq --raw-output '.version') \ | |
&& wget https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-bin.zip \ | |
&& unzip -d /usr/local gradle-${GRADLE_VERSION}-bin.zip \ | |
&& ln -sf /usr/local/gradle-${GRADLE_VERSION} /usr/local/gradle \ | |
&& rm -f gradle-${GRADLE_VERSION}-bin.zip |
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
<?php | |
try { | |
if (count(["cid"]) == 0) { | |
$channelId = "UCL7oxb4N7uxEOHPlhFFxAhg"; | |
}else{ | |
$channelId = ["cid"]; | |
} | |
$videoId = getLiveVideoID($channelId); | |
$chatUrl = "https://www.youtube.com/live_chat?v=" . trim($videoId) . "?is_popout=1" |