Skip to content

Instantly share code, notes, and snippets.

@ivan-pinatti
ivan-pinatti / jenkins-set-bitbucket-oauth-plugin.groovy
Last active January 18, 2019 22:28
Jenkins - Set Bitbucket Oauth plugin parameters via groovy script - #jenkins #groovy #bitbucket #oauth
#!groovy
// imports
import hudson.security.AuthorizationStrategy
import hudson.security.SecurityRealm
import jenkins.model.Jenkins
import org.jenkinsci.plugins.BitbucketSecurityRealm
// parameters
def bitbucketSecurityRealmParameters = [
@jexp
jexp / load_conference.groovy
Last active July 25, 2021 05:02
Importing JSON data into Neo4j with Groovy & Cypher
/*
{
"talks": [{
"title": "Building 'Bootiful' Applications",
"abstract": "Alright, so maybe “bootiful” won’t ever work,...",
"topics": ["topic"],
"room": "Auditorium",
"timeslot": "Wed 29th, 11:00-11:50",
"speaker": {
"name": "Josh Long",
@staltz
staltz / introrx.md
Last active November 20, 2024 07:53
The introduction to Reactive Programming you've been missing