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
# From http://kartar.net/2014/03/some-useful-docker-bash-functions-and-aliases/ | |
# Docker container IP | |
alias dip="docker inspect --format '{{ .NetworkSettings.IPAddress }}'" | |
#Removing containers | |
drm() { docker rm $(docker ps -q -a); } | |
#Removing images | |
dri() { docker rmi $(docker images -q); } |
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
job.setAssignedLabel( | |
// fuu && !bar | |
new hudson.model.labels.LabelExpression.And( | |
new hudson.model.labels.LabelAtom("fuu"), | |
new hudson.model.labels.LabelExpression.Not(new hudson.model.labels.LabelAtom("bar")) | |
) | |
) |
- systemd does not rely on ulimit (as opposed to Fedora), so
/etc/security/limits.conf
is ignored - The solutions is to use
LimitNOFILE=10000
(with an appropriate value) in the .service filesystemctl daemon-reload
systemctl restart <service>
systemctl show -p LimitNOFILE <service>
Die folgende Tabelle zeigt die Nummern der Abschnitte der Handbuchseiten und den Typ der dort zu findenden Seiten.
1 Ausführbare Programme oder Shell-Befehle
2 Systemaufrufe (Kernel-Funktionen)
3 Bibliotheksaufrufe (Funktionen in Programmbibliotheken)
4 Spezielle Dateien (gewöhnlich in /dev)
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
# Create a Jenkins job via API | |
curl -X POST -H "Content-Type:application/xml" -d @config.xml http://<user>:<api-token@<server>/createItem?name=<job-name> | |
# Download an artifact: | |
wget --auth-no-challenge --http-user=<user> --http-password=<user-token> http://<server>/<path-to-foobar> | |
curl -X GET http://<user>:<api-token@<server> |
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
job('test') { | |
steps{ | |
maven { | |
mavenInstallation('3.3.9') | |
goals('fuu:bar') | |
} | |
maven { | |
mavenInstallation('3.3.9') | |
goals('compile') | |
} |
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
class Behandlungsplan { | |
def count = 0 | |
def patient(String yo) { | |
println "Patient: " + yo | |
} | |
def behandlung(String yolo) { | |
println yolo | |
count ++ |
OlderNewer