Skip to content

Instantly share code, notes, and snippets.

View robertlj's full-sized avatar

Robert Johnson robertlj

View GitHub Profile
@robertlj
robertlj / oracle-db-update.clj
Created July 11, 2018 16:57 — forked from gdeer81/oracle-db-update.clj
an example of updating an oracle database from clojure the server, user names, and passwords have been changed to protect the innocent
(ns db-test.core
(:require [clojure.java.jdbc :as j])
(use [korma.db])
(use [korma.core])
(:gen-class))
(defn setup-connection []
(def oracle-db {:classname "oracle.jdbc.odbc.OracleDriver"
:subprotocol "oracle"
:subname "thin:@//remotehost:1521/derpina1"
@robertlj
robertlj / JGit
Created July 9, 2018 20:41 — forked from oculushut/JGit
Using JGit in Windows
1. Download jgit.sh from here: https://eclipse.org/jgit/download/
(Yes -> it's a file with a .sh extension and we want to work in Windows, but download it!)
2. Rename the downloaded file to something easier to deal with. E.g. "jgit.sh"
3. Create a new file called jgit.bat and stick it in the same folder as jgit.sh.
4. Type the following into the jgit.bat file: