Skip to content

Instantly share code, notes, and snippets.

freme freme

Block or report user

Report or block freme

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@freme
freme / overlay.sh
Created Jan 4, 2018 — forked from cjbottaro/overlay.sh
Convert ECS Optimized AMI to use overlay/overlay2
View overlay.sh
set -e
# Stop the docker daemon
/etc/init.d/docker stop
# Configure ECS Agent
# http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html
# http://docs.aws.amazon.com/AmazonECS/latest/developerguide/automated_image_cleanup.html
cat > /etc/ecs/ecs.config << "EOF"
ECS_ENGINE_TASK_CLEANUP_WAIT_DURATION=1h
View Jenkinsfile
pipeline{
agent none
stages{
stage('linux') {
when { expression {false} }
agent { label 'default' }
steps { echo 'LINUX' }
}
}
}
@freme
freme / Jenkinsfile
Last active Dec 18, 2017
minimal Jenkinsfile to show that when directive does not prevent stage from being executed, only the steps, which means that the agent is still needed
View Jenkinsfile
pipeline{
agent none
stages{
stage('linux') {
when { expression {false} }
agent { label 'default' }
steps { echo 'LINUX' }
}
}
}
@freme
freme / Score-P-CMakeLists.txt
Last active Apr 21, 2019
CMake and Score-P integration
View Score-P-CMakeLists.txt
# Copyright (c) 2014, Felix Schmitt, Axel Huebl, Rene Widera
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
@freme
freme / VampirTrace-CMakeLists.txt
Last active Apr 21, 2019
CMAKE for VampirTrace
View VampirTrace-CMakeLists.txt
# Copyright (c) 2014, Felix Schmitt, Axel Huebl, Rene Widera
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
View rsync_parallel.sh
#!/bin/bash
set -e
# Usage:
# rsync_parallel.sh [--parallel=N] [rsync args...]
#
# Options:
# --parallel=N Use N parallel processes for transfer. Defaults to 10.
#
# Notes:
You can’t perform that action at this time.