[ Launch: Tributary inlet ] 9539573 by tamasgal
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
#include <string> | |
#include <iostream> | |
#include "H5Cpp.h" | |
#define MAX_NAME_LENGTH 32 | |
const std::string FileName("SimpleCompound.h5"); | |
const std::string DatasetName("PersonalInformation"); | |
const std::string member_age("Age"); | |
const std::string member_sex("Sex"); | |
const std::string member_name("Name"); |
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
// Related to https://issues.jenkins-ci.org/browse/JENKINS-26481 | |
abcs = ['a', 'b', 'c'] | |
node('master') { | |
stage('Test 1: loop of echo statements') { | |
echo_all(abcs) | |
} | |
stage('Test 2: loop of sh commands') { |
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
#!groovy | |
import static groovy.io.FileType.FILES | |
node('master') { | |
FILES_DIR = './foo' | |
cleanWs() | |
sh """ | |
mkdir foo | |
touch foo/bar1 |
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/env python | |
from queue import Queue, Empty | |
import gcn | |
from grbfunk import handler | |
import coloredlogs, logging | |
import telegram | |
import os | |
import yaml |
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
#!groovy | |
def docker_images = ["python:3.5.5", "python:3.6.4", "python:3.6.5"] | |
def get_stages(docker_image) { | |
stages = { | |
docker.image(docker_image).inside { | |
// If I use this variable as the Virtual Env Folder, | |
// I get "permission denied" messages from pip, since it tries | |
// to install into /usr/local/... instead of the pyenv folder! | |
// def PYTHON_VENV = docker_image.replaceAll('[:.]', '') + 'venv' |
- Docker inserts iptables rules when it's started by default
- buster uses nftables by default
- let's make Docker use nftables instead
- PROFIT
Install Docker CE and nftables:
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
def docker_images = ["python:2.7.14", "python:3.5.4", "python:3.6.2"] | |
def get_stages(docker_image) { | |
stages = { | |
docker.image(docker_image).inside { | |
stage("${docker_image}") { | |
echo 'Running in ${docker_image}' | |
} | |
stage("Stage A") { | |
switch (docker_image) { |