Skip to content

Instantly share code, notes, and snippets.

@jbaranski
jbaranski / oracledb.py
Created September 4, 2016 20:01
Python Oracle DB connection wrapper
"""
Oracle database connection wrapper
@author: jbaranski
"""
import cx_Oracle
class OracleDB:
"""
Usage:
@jbaranski
jbaranski / nexus_upload.sh
Last active November 9, 2022 09:36
Artifact upload to nexus using curl
# nexus 2.x
# Assuming you run this command against the directory the jar sits in
#
# r - repository
# hasPom - whether you are supplying the pom or you want one generated. If generated g, a, v, p, and c are not needed
# e - extension
# g - group id
# a - artifact id
# v - version
# p - packaging