Skip to content

Instantly share code, notes, and snippets.

Radek Antoniuk warden

Block or report user

Report or block warden

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
@warden
warden / git-commit-guidelines.md
Last active Sep 2, 2019
Git Commit Guidelines
View git-commit-guidelines.md

Commit Message Guidelines

Example of a properly formed commit message:

JIRA-123 Short (72 chars or less) summary

More details about the change, including functional and/or technical
explanation. Wrap it to 72 characters. The blank line separating the
summary from the body is critical (unless you omit the body entirely).
@warden
warden / Jenkinsfile
Created Aug 27, 2019 — forked from jonico/Jenkinsfile
Example for a full blown Jenkins pipeline script with multiple stages, kubernetes templates, shared volumes, input steps, injected credentials, heroku deploy, sonarqube and artifactory integration, Docker containers, multiple Git commit statuses, PR merge vs branch build detection, REST API calls to GitHub deployment API, stage timeouts, stage c…
View Jenkinsfile
#!groovy
import groovy.json.JsonOutput
import groovy.json.JsonSlurper
def label = "mypod-${UUID.randomUUID().toString()}"
podTemplate(label: label, yaml: """
spec:
containers:
- name: mvn
image: maven:3.3.9-jdk-8-alpine
@warden
warden / Jenkinsfile
Created Aug 27, 2019
Jenkinsfile - deploying to environments depending on the choice param
View Jenkinsfile
// Requires:
// https://wiki.jenkins-ci.org/display/JENKINS/Deploy+Plugin
pipeline {
agent {
label "master"
}
parameters {
choice(name: 'ENV', choices: ['DEV', 'TEST'], description: 'Select environment to deploy to')
gitParameter name: 'TAG', type: 'PT_BRANCH_TAG', sortMode: 'DESCENDING_SMART', defaultValue: 'develop'
@warden
warden / SSLPoke.java
Created Aug 24, 2019 — forked from MatthewJDavis/SSLPoke.java
Java SSL poke from atlassian
View SSLPoke.java
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) {
@warden
warden / Jenkinsfile
Created Jul 17, 2019 — forked from merikan/Jenkinsfile
Some Jenkinsfile examples
View Jenkinsfile
Some Jenkinsfile examples
View conferences.md

This gists is a curated list of IT conferences. [PL] - marks the country where the conference takes place Feel free to contribute!

MIXED

@warden
warden / linux.md
Created Feb 13, 2017
Useful Linux Commands
View linux.md

apt-get user-friendly package list

apt-get --just-print upgrade 2>&1 | perl -ne 'if (/Inst\s([\w,\-,\d,\.,~,:,\+]+)\s\[([\w,\-,\d,\.,~,:,\+]+)\]\s\(([\w,\-,\d,\.,~,:,\+]+)\)? /i) {print "PROGRAM: $1 INSTALLED: $2 AVAILABLE: $3\n"}'
@warden
warden / IFTTTDate.md
Created Jan 14, 2017 — forked from oscarmorrison/IFTTTDate.md
Make IFTTT Date Format play nice with Google Spreadsheets
View IFTTTDate.md

##Date and Time

=TIMEVALUE(SUBSTITUTE("{{OccurredAt}}"," at ", " ")) + DATEVALUE(SUBSTITUTE("{{OccurredAt}}"," at ", " "))

##Date

=DATEVALUE(SUBSTITUTE("{{OccurredAt}}"," at ", " "))

##Time

View Download Development Tools
echo "Downloading JDK..."
curl -L -b "oraclelicense=a" http://download.oracle.com/otn-pub/java/jdk/8u51-b16/jdk-8u51-linux-x64.tar.gz -O
echo "Downloading Tomcat..."
curl -L http://ftp.piotrkosoft.net/pub/mirrors/ftp.apache.org/tomcat/tomcat-8/v8.0.24/bin/apache-tomcat-8.0.24.tar.gz -O
tar zxf jdk-8u51-linux-x64.tar.gz
tar zxf apache-tomcat-8.0.24.tar.gz
PWD=$(pwd)
You can’t perform that action at this time.