Skip to content

Instantly share code, notes, and snippets.

johnstosh

Block or report user

Report or block johnstosh

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
@johnstosh
johnstosh / johnstosh.jenkins
Last active Sep 14, 2017
declarative jenkins pipeline for parallel builds
View johnstosh.jenkins
pipeline {
environment {
/*
* Maybe maven 3.5.0 is why the build hangs sometimes?
* I'm trying 3.0.5 which is what's in NetBeans.
* That fixed it.
*/
mvnHome = tool 'maven-3.0.5'
jenkins2MvnVersion = 'maven-3.5.0'
@johnstosh
johnstosh / Change show() and hide() into setVisible().hint
Created Apr 28, 2012
Java NetBeans - (Jackpot) refactoring -- Change show() and hide() into setVisible()
View Change show() and hide() into setVisible().hint
<!description="Change .show() and .hide() calls
on Dialog and JDialog
into .setVisible(true) and .setVisible(false) calls, respectively.">
$s.show() :: $s instanceof java.awt.Dialog
=> $s.setVisible(true)
;;
$s.hide() :: $s instanceof java.awt.Dialog
You can’t perform that action at this time.