Skip to content

Instantly share code, notes, and snippets.

View javiergarval's full-sized avatar

Javier García Valdepeñas javiergarval

View GitHub Profile
javiergarval / pre-commit
Created April 20, 2021 15:45 — forked from arnobroekhof/pre-commit
Maven pre commit hook
# save the file as <git_directory>/.git/hooks/pre-commit
echo "Running Maven clean test for errors"
# retrieving current working directory
MAIN_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# go to main project dir
cd $MAIN_DIR/../../
javiergarval /
Created March 11, 2019 16:54 — forked from kimus/
Installing python cx_oracle on Ubuntu

First of all, it just seems like doing anything with Oracle is obnoxiously painful for no good reason. It's the nature of the beast I suppose. cx_oracle is a python module that allows you to connect to an Oracle Database and issue queries, inserts, updates..usual jazz.


Step 1:

sudo apt-get install build-essential unzip python-dev libaio-dev

Step 2. Click here to download the appropriate zip files required for this. You'll need:

javiergarval /
Created March 6, 2019 17:30 — forked from sloria/
A "Best of the Best Practices" (BOBP) guide to developing in Python.

The Best of the Best Practices (BOBP) Guide for Python

A "Best of the Best Practices" (BOBP) guide to developing in Python.

In General


  • "Build tools for others that you want to be built for you." - Kenneth Reitz
  • "Simplicity is alway better than functionality." - Pieter Hintjens
javiergarval / .zshrc
Created February 1, 2019 11:42 — forked from dnmiller/.zshrc
# Path to your oh-my-zsh configuration.
# Pre-loaded theme
# (Will change per machine)
# Dots are pretty.