Create file /etc/systemd/system/[email protected]
[Unit]
Description=%i service with docker compose
Requires=docker.service
After=docker.service| # GIT aliases for ~/.gitconfig file | |
| # @author Grzegorz Korba <[email protected]> | |
| # Credits: Miscellaneous places on the Internet... | |
| # GitFlow related sections | |
| [gitflow "branch"] | |
| master = master | |
| develop = develop | |
| [gitflow "prefix"] | |
| feature = feature/ |
| #!/usr/bin/env bash | |
| encode() | |
| { | |
| local string=$1 | |
| local strlen=${#string} | |
| for (( pos=0 ; pos<strlen ; pos++ )); do | |
| c=${string:$pos:1} |
Create file /etc/systemd/system/[email protected]
[Unit]
Description=%i service with docker compose
Requires=docker.service
After=docker.service| pipeline { | |
| agent any | |
| environment { | |
| PACKAGE="github.com/abtris/bee" | |
| GOPATH="/Users/abtris/go" | |
| GOROOT="/usr/local/opt/go/libexec" | |
| } | |
| stages { | |
| stage('Preparation') { | |
| steps { |
| import javax.net.ssl.SSLSocket; | |
| import javax.net.ssl.SSLSocketFactory; | |
| import java.io.*; | |
| /** Establish a SSL connection to a host and port, writes a byte and | |
| * prints the response. See | |
| * http://confluence.atlassian.com/display/JIRA/Connecting+to+SSL+services | |
| */ | |
| public class SSLPoke { | |
| public static void main(String[] args) { |
| //Get a list of installed jenkins plugins from the groovy console | |
| Jenkins.instance.pluginManager.plugins.each{ | |
| plugin -> | |
| println ("${plugin.getDisplayName()} (${plugin.getShortName()}): ${plugin.getVersion()}") | |
| } |
#Git-flow tutorial
I created a test repository on Github to check if git-flow can aid in keeping a clean branch model. In the steps below you can see how I create a new feature and release containing our new feature.
git clonegit flow init -dresult:
| for (int i = 0; i < 10; i++) | |
| { | |
| time_t now = time(NULL); | |
| printf("The time is %ld\n", now); | |
| sleep(2); | |
| } |
| // | |
| // main.c | |
| // ch10 | |
| // | |
| // Created by john salyer on 2/12/13. | |
| // Copyright (c) 2013 john salyer. All rights reserved. | |
| // | |
| #include <stdio.h> | |
| #include <time.h> |