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 | |
rev="12" | |
_log(){ | |
echo "$(date '+%Y-%m-%d %H:%M:%S') - ${streamid} - $1" >> /tmp/ffmpeg.log | |
} | |
_log_para(){ | |
echo "$1" | fold -w 120 | sed "s/^.*$/$(date '+%Y-%m-%d %H:%M:%S') - ${streamid} - = &/" >> /tmp/ffmpeg.log |
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
<# | |
.SYNOPSIS | |
Locates Java versions and optionally sets JAVA_HOME and JRE_HOME. | |
.DESCRIPTION | |
The Find-Java function uses PATH, JAVA_HOME, JRE_HOME and Windows Registry to retrieve installed Java versions. | |
If run with no options, the first Java found is printed on the console. | |
.PARAMETER Vendor | |
Selects Java vendor, currently supports Oracle, OpenJDK and IBM. Defaults to Any. | |
.PARAMETER Architecture | |
What processor architecture to match. Valid options are 32, 64, Match and All. Match detects what integer size is used for the PowerShell process, and matches the architecture. If Wow64 is available, 64 bit versions of Java are selected first. |
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 | |
# High-performance, native SSH implementation for Jenkins SSH slaves. Jenkins' | |
# standard turn-key SSH slave implementation uses an embedded, "pure Java" | |
# implementation of SSH (https://github.com/jenkinsci/trilead-ssh2). | |
# That standard implementation combines all of the convenience of a pure Java | |
# implementation with all of the "performance" of a pure Java implementation :P | |
# If your distributed build process generates large build artifacts like ISOs, | |
# VM images, Vagrant boxes, etc, then you will see a substantial benefit from |
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 package.name.removed | |
import com.atlassian.crowd.directory.DelegatedAuthenticationDirectory; | |
import com.atlassian.crowd.directory.loader.DirectoryInstanceLoader; | |
import com.atlassian.crowd.embedded.api.Directory; | |
import com.atlassian.crowd.embedded.api.User; | |
import com.atlassian.crowd.exception.DirectoryInstantiationException; | |
import com.atlassian.crowd.exception.OperationFailedException; | |
import com.atlassian.crowd.exception.UserNotFoundException; | |
import com.atlassian.crowd.manager.directory.DirectoryManager; |
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 java.lang.reflect.InvocationHandler; | |
import java.lang.reflect.InvocationTargetException; | |
import java.lang.reflect.Method; | |
import java.lang.reflect.Proxy; | |
import java.util.List; | |
import java.util.Set; | |
import javax.xml.namespace.QName; | |
import javax.xml.soap.DetailEntry; | |
import javax.xml.soap.Node; |