Skip to content

Instantly share code, notes, and snippets.

View jplagostena's full-sized avatar

Juan Lagostena jplagostena

  • Ciudad de Buenos Aires, Argentina
View GitHub Profile
@jplagostena
jplagostena / handsontable+12.2.0.patch
Created February 22, 2023 18:18
Handsontable patch to avoid bug #4305
diff --git a/node_modules/handsontable/core.mjs b/node_modules/handsontable/core.mjs
index db18cea..504e2af 100644
--- a/node_modules/handsontable/core.mjs
+++ b/node_modules/handsontable/core.mjs
@@ -1168,14 +1168,14 @@ export default function Core(rootElement, userSettings) {
var shouldBeCanceled = true;
if (beforeChangeResult === false) {
if (activeEditor) {
- activeEditor.cancelChanges();
+ //activeEditor.cancelChanges();
@jplagostena
jplagostena / HerokuDatasourceParser.java
Created December 30, 2016 04:19
HerokuDatasourceParser
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 = "/";
@jplagostena
jplagostena / Jenkinsfile
Created October 21, 2016 19:44
Jenkinsfile + Slack: avisa solo cuando cambio el estado del build
#!groovy
stage 'build and tests'
def project
def slack
node {
def workspace = pwd()
slack = load "${workspace}@script/slack.groovy"
@jplagostena
jplagostena / clean_branches.sh
Created October 5, 2016 03:55
Pequeño script para limpiar branches ya mergeados y referencias que ya no existen
#!/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