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
connectionCount := config.MaxConnections | |
l, err := net.Listen("tcp", fmt.Sprintf(":%d", config.ServerPort)) | |
if err != nil { | |
log.Fatalf("Listen: %v", err) | |
} | |
defer l.Close() |
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
Valaki teste halvanyan derengeni kezd elotted, majd megjelenik. | |
Valaki teste halvanyan derengeni kezd elotted, kicsit rezeg, majd | |
megjelenik. | |
Subala feltunik a szemed sarkaban. | |
Oriaspatkany kikeruli a tamadast. | |
>> Oriaspatkany ugy tunik, CSUCSFORMABAN van. | |
av | |
Oriaspatkany mar megint nem talalt el teged. | |
Oriaspatkany mar megint nem talalt el teged. |
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
#COLOR "LavenderBlush,Navy" | |
#if (@oleskozbenpihen>0) { | |
celoz @ellenfel fej | |
#var oleskozbenpihen 0 | |
#echo ol @ellenfel | |
}; | |
#if (@korbefonflag>0) { | |
korbefon @ellenfel | |
eszik cipo |
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 javaposse.jobdsl.dsl.helpers.triggers.TriggerContext | |
/* | |
* Simple PoC method that take a string and a number and add and echo shell command as job step. | |
* | |
* Example: | |
* | |
* job('PRTestJob') { | |
* triggers { | |
* stashPullRequestBuilder ('tcp://docker.host.test', | |
* 'docker_host', |
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
job('StashPRTestWithConfigure') { | |
scm { | |
git { | |
remote { | |
url 'ssh://git@localhost:7999/${projectCode}/${repositoryName}.git' | |
} | |
branch '*/${sourceBranch}' | |
mergeOptions 'origin', 'master' | |
} | |
} |
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 $(date)>>testfile.txt && git commit --all -m "test" && git push origin master |
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 'PR!' | |
cat testfile.txt |
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
cd existing project | |
git init | |
git add --all | |
git commit -m "Initial Commit" | |
git remote add origin ssh://git@localhost:7999/prt/main-project.git | |
git push -u origin master |
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 steps | |
import project.Project | |
import environment.Environment | |
import component.Component | |
class DockerImageStep extends PipelineStep { | |
private DockerImageStep(Project project, Environment environment, Component component) { | |
super(project, environment, component); | |
name = 'create-docker-image'; | |
} | |
def newInstance(Project project, Environment environment, Component component) { |
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 javaposse.jobdsl.dsl.helpers.step.* | |
/* | |
* Simple PoC method that take a string and a number and add and echo shell command as job step. | |
* | |
* Example: | |
* | |
* job('dockerBuildJob') { | |
* steps { |
NewerOlder