Skip to content

Instantly share code, notes, and snippets.

Juan Lagostena jplagostena

Block or report user

Report or block jplagostena

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
@jplagostena
jplagostena / clean_branches.sh
Created Oct 5, 2016
Pequeño script para limpiar branches ya mergeados y referencias que ya no existen
View clean_branches.sh
#!/usr/bin/env bash
BRANCHES_TO_FILTER="master|development"
MERGED_BRANCHES=$(git branch --merged | egrep -v "(^\*|$BRANCHES_TO_FILTER)")
if [ "$MERGED_BRANCHES" == "" ]; then
echo "No hay branches sin mergear"
exit 0
fi
@jplagostena
jplagostena / Jenkinsfile
Created Oct 21, 2016
Jenkinsfile + Slack: avisa solo cuando cambio el estado del build
View Jenkinsfile
#!groovy
stage 'build and tests'
def project
def slack
node {
def workspace = pwd()
slack = load "${workspace}@script/slack.groovy"
View HerokuDatasourceParser.java
package ar.edu.undav.ejemplo.config;
/**
* Juan Lagostena on 30/12/16
* .
*/
public class HerokuDatasourceParser {
public static final String SEPARATOR = ":";
public static final String SLASH = "/";
You can’t perform that action at this time.